Re: Plc4x connection reset by peer exception uncaught

2020-09-16 Thread Łukasz Dywicki
I can't say more than others, but based on my own experiences I can tell you that some exceptions are swallowed by Netty or surrounding classes resulting in dead connections. When I was working on socketcan transport its initialization failures lead to connections which were allowing writes but nev

Re: Plc4x connection reset by peer exception uncaught

2020-09-16 Thread Vladyslav Milutin
Hi Stefano, Driver designed for custom IoT devices, driver itself just overrides abstract methods like protocol(), canWrite(), canRead(), getConfiguration(). It's not doing any logic. I think PooledDriverManager can help, but will it check the connection itself, not just when the getConnection()

Re: Plc4x connection reset by peer exception uncaught

2020-09-16 Thread Stefano Bossi
Hi Vladyslav, just because a I am a curious guy, why did you choose to build a custom driver? Do you need something special ? Regards, Stefano P.S. feel free to answer: it's not your business As said is just a curiosity, anyone has the right to choose it's road. On 16/09/2020 17:54, Chr

Re: Plc4x connection reset by peer exception uncaught

2020-09-16 Thread Christofer Dutz
Hi Vladyslav, oh ... a custom driver. In that case it will definitely be tricky to help you unless we can have a look at the code. Is this something you consider bringing into the PLC4X project, or something that's meant to stay outside of the project? I guess this is the first time such a que

Re: Plc4x connection reset by peer exception uncaught

2020-09-16 Thread Vladyslav Milutin
Hi Christofer, Thanks for your quick response. I'm using a custom driver which extends GeneratedDriverBase, for connection I use a simple call to .connect, I know that you have PooledDriverManager, but it won't have the same issue if connection was reset by peer, since it's just look up for the sp

AW: Problems with Read/Write using PLC4J OPC UA driver

2020-09-16 Thread Gregor Minuge
Hi Milan, thanks for the quick reply. Of course I can show you my example code - I basically just modified Julian's code from https://github.com/pragmaticindustries/webinar-plc4x to try the read/write functionality of all data types present in the Eclipse Milo Server. I hope the formatting of t

Re: Plc4x connection reset by peer exception uncaught

2020-09-16 Thread Stefano Bossi
Hi, an another suggestion is to give a try to the pooled drive manager instead of the simple dirve manager, here you could fine some more info: https://plc4x.apache.org/users/tools/connection-pool.html Regards, Stefano On 16/09/2020 16:30, Stefano Bossi wrote: > Hi Vlad, > > this seems similar

[BUILD-STABLE]: Job 'PLC4X/PLC4X/develop [develop] [75]'

2020-09-16 Thread Apache Jenkins Server
BUILD-STABLE: Job 'PLC4X/PLC4X/develop [develop] [75]': Is back to normal.

Re: Plc4x connection reset by peer exception uncaught

2020-09-16 Thread Stefano Bossi
Hi Vlad, this seems similar to a bug fixed some time ago, I am not really sure but it worth to try to use the 0.8.0 version where this fix is present. You should try to build the version and here you could fine some help: https://plc4x.apache.org/developers/index.html Regards, Stefano On 16/09/

Re: Plc4x connection reset by peer exception uncaught

2020-09-16 Thread Christofer Dutz
Hi Vladyslav, could you please tell us which driver and which version you are using? Also it would be interesting if you are using any integration modules? Chris Am 16.09.20, 14:36 schrieb "Vladyslav Milutin" : Hello guys, I'm writing to you with a hope that you can help me with exce

AW: Problems with Read/Write using PLC4J OPC UA driver

2020-09-16 Thread Strljic, Matthias Milan
Hi Gregor, i will look for your issue to write/read the basic types and arrays. At the moment the support for custom/dynamic types is not included into the OPC UA integration. If you could provide me there some example code, we could try to find there a solution for or at least the information

Plc4x connection reset by peer exception uncaught

2020-09-16 Thread Vladyslav Milutin
Hello guys, I'm writing to you with a hope that you can help me with exception handling. Currently after a long time connection can be reset by peer. See stacktrace below. I've tried to add a custom ChannelHandler which Overrides exceptionCaught() and add it in Driver#initializePipeline() see cod

Connection reset by peer exception uncaught

2020-09-16 Thread Vladyslav Milutin
Hello guys, I'm writing to you with a hope that you can help me with exception handling. Currently after a long time connection can be reset by peer. See stacktrace below. I've tried to add a custom ChannelHandler which Overrides exceptionCaught() and add it in Driver#initializePipeline() see cod

[BUILD-FAILURE]: Job 'PLC4X/PLC4X/develop [develop] [74]'

2020-09-16 Thread Apache Jenkins Server
BUILD-FAILURE: Job 'PLC4X/PLC4X/develop [develop] [74]': Check console output at "https://ci-builds.apache.org/job/PLC4X/job/PLC4X/job/develop/74/";>PLC4X/PLC4X/develop [develop] [74]"

[BUILD-FAILURE]: Job 'PLC4X/PLC4X/develop [develop] [73]'

2020-09-16 Thread Apache Jenkins Server
BUILD-FAILURE: Job 'PLC4X/PLC4X/develop [develop] [73]': Check console output at "https://ci-builds.apache.org/job/PLC4X/job/PLC4X/job/develop/73/";>PLC4X/PLC4X/develop [develop] [73]"