Re: [NOTICE] Enabled OWASP plugin ... automated CVE checks ...

2021-12-27 Thread Stefano Bossi
That's a great news! Security is always important in Industry. Thanks, S. On 26/12/21 18:51, Christofer Dutz wrote: Hi all, as I was a bit unsure if we really got all the potentially vulnerable log4j versions excluded (yes, we did). I enabled the owasp dependency checker. Also did I update

Re: [DISCUSS] Permanently move our monthly video call?

2021-12-21 Thread Stefano Bossi
+1 S. On 20/12/21 17:22, Cesar Garcia wrote: +1 El lun, 20 dic 2021 a las 4:08, Christofer Dutz () escribió: Hi all, I would like to move our monthly call to the first Tuesday of the month (same time) If we leave it, I will not be participating on events that happen to be on even week

[jira] [Created] (PLC4X-279) nioEventLoopGroup thread proliferation

2021-02-01 Thread Stefano Bossi (Jira)
Stefano Bossi created PLC4X-279: --- Summary: nioEventLoopGroup thread proliferation Key: PLC4X-279 URL: https://issues.apache.org/jira/browse/PLC4X-279 Project: Apache PLC4X Issue Type: Bug

[jira] [Created] (PLC4X-278) Double Reading Error

2021-01-31 Thread Stefano Bossi (Jira)
Stefano Bossi created PLC4X-278: --- Summary: Double Reading Error Key: PLC4X-278 URL: https://issues.apache.org/jira/browse/PLC4X-278 Project: Apache PLC4X Issue Type: Bug Components

[jira] [Created] (PLC4X-277) Double Reading Error

2021-01-31 Thread Stefano Bossi (Jira)
Stefano Bossi created PLC4X-277: --- Summary: Double Reading Error Key: PLC4X-277 URL: https://issues.apache.org/jira/browse/PLC4X-277 Project: Apache PLC4X Issue Type: Bug Components

Re: AW: [DISCUSS] Drop Logstash support?

2021-01-26 Thread Stefano Bossi
-World. Well Elastic never did the promissed second step. And as they now have this aweful new license, I actually don’t want to put my time in this. Chris *Von:* Stefano Bossi *Gesendet:* Dienstag, 26. Januar 2021 09:35 *An:* dev@plc4x.apache.org *Betreff:* Re: [DISCUSS] Drop Logstash support

Re: [DISCUSS] Drop Logstash support?

2021-01-26 Thread Stefano Bossi
Hi, logstash is basicalli a "translator" for Elastic Search, it's mostly used for parsing an unstructured data source, like a log from syslog and extract all the needed information to feed ElasticSearch with beefy Json. I think that with plc4x it's a better approach to build the json

[jira] [Created] (PLC4X-262) Error in reading Array

2020-12-10 Thread Stefano Bossi (Jira)
Stefano Bossi created PLC4X-262: --- Summary: Error in reading Array Key: PLC4X-262 URL: https://issues.apache.org/jira/browse/PLC4X-262 Project: Apache PLC4X Issue Type: Bug Components

Re: AW: Test on plc4x-pool2

2020-11-27 Thread Stefano Bossi
to admit that for me this is one of the most annoying things with Netty :-/ But seeing the actual error is coming from the pool, I guess Julian should probably help you with this, I doubt this is something I can help with. Chris Von: Stefano Bossi Datum: Donnerstag, 26. November 2020 um 23:16

Test on plc4x-pool2

2020-11-26 Thread Stefano Bossi
Hi Julian, I have tried to integrate in my code the new pool library you wrote but without success, I have probably did something wrong. I am started trying to work with the HelloPlc4x ||PlcDriverManager manager = new PlcDriverManager(); PlcDriverManager cached = new

Re: AW: Starting to heat up the engine on the release-train ...

2020-11-26 Thread Stefano Bossi
: Stefano Bossi Datum: Donnerstag, 26. November 2020 um 22:19 An: dev@plc4x.apache.org Betreff: Re: Starting to heat up the engine on the release-train ... Thanks Chris, I wrote a very ugly code to manage the stuff outside your library but I am not able to port the code inside the library

Re: Starting to heat up the engine on the release-train ...

2020-11-26 Thread Stefano Bossi
if I’ll manage to get it in 0.8.0, but I’ll have a look at it. Chris Von: Stefano Bossi Antworten an: Datum: Mittwoch, 25. November 2020 um 16:53 An: Betreff: Re: Starting to heat up the engine on the release-train ... Hi, just to know, the bug about the DB request size bigger than the maximum

Re: Starting to heat up the engine on the release-train ...

2020-11-25 Thread Stefano Bossi
Hi, just to know, the bug about the DB request size bigger than the maximum frame size is fixed in this version? I mean the one here in Jira: https://issues.apache.org/jira/browse/PLC4X-241 Just to know. Thanks, S. On 24/11/2020 22:47, Christofer Dutz wrote: Hi all I just did some final

Re: Doing some read-tests with S7

2020-10-28 Thread Stefano Bossi
Hi Chris, the STRING(x)[] stuff was something you implemented on the issue I have opened a month ago or more; unfortunately my first work suck all my time and I don't have any time to try to code for your library. Yes the splitting issue is generalized for all the datatype and for reading large

Re: Plc4x connection reset by peer exception uncaught

2020-09-17 Thread Stefano Bossi
pplyAsInt(ByteBuf byteBuf) { >> > if (byteBuf.readableBytes() >= 2) { >> > return >> > byteBuf.getUnsignedShortLE(byteBuf.readerIndex()); >> > } >> > return -1; >> > } >&g

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,

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 seem

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

Re: [DISCUSS] Add Wrappers to PLC4X Project

2020-09-09 Thread Stefano Bossi
Hi, personally I think this kind of approach will limit the usability of the library in a very narrow subset of uses do to the windows operating system dependency. I think you guys put a lot of effort in portability and small footprint of the library and this is a great think in the industrial

Re: [DISCUSS] Start releasing build tools?

2020-09-07 Thread Stefano Bossi
+1 I agree, waiting with all the fix it's impossible. We could anyway open a 0.9.0 after the freezing of the 0.8.0 Regards, Stefano On 07/09/2020 11:45, Julian Feinauer wrote: > Hi, > > +1 from my side. > Andi f we still find something.. we just do another release. > > J > > Am 07.09.20,

Re: Adding Using PLC4X with Grade to documentation ... WAS: Re: S7 read issue

2020-09-01 Thread Stefano Bossi
rom the documentation … PRs for > that welcome too ;-) > > Just kidding … if you need help with that, just ask :-) > > Chris > > Von: Stefano Bossi > Antworten an: > Datum: Dienstag, 1. September 2020 um 10:40 > An: > Betreff: Re: Adding Using PLC4X with Grade to d

Re: Adding Using PLC4X with Grade to documentation ... WAS: Re: S7 read issue

2020-09-01 Thread Stefano Bossi
… > > Chris > > > > Von: Stefano Bossi > Antworten an: > Datum: Montag, 31. August 2020 um 15:18 > An: > Betreff: Re: S7 read issue > > > Hi Sebastian, > > Chris wrote a very good page on how to compile the library which is a very > big software: ht

Re: S7 read issue

2020-08-31 Thread Stefano Bossi
Thanks a lot for your valuable feedback. It is highly appreciated. > > > > I followed Stefanos suggestions and applied the simplifications. In > addition I created a Wireshark capture which is attached to this email. > > > > It seems it replies with “[Error

Re: S7 read issue

2020-08-31 Thread Stefano Bossi
Hi Sebastian, if you need some help in setup the wireshark capture software or open the jira ticket I could help. It’s definitely worth to follow the Chris suggestion to help him to spot the real problem. In the mean time I think you could simplify the PLC query in this way: |String Url:

Re: Leaking nioEventLoopGroup threads

2020-08-25 Thread Stefano Bossi
Yupiii !!! good news !!! Regards, S. On 25/08/2020 15:45, Adam Rossi wrote: > Juilan, > > My apologies - your fix did indeed work. The issue is that > PooledPlcDriverManager does not seem to be calling the close method on the > connection. Switching back to PlcDriverManager from

Re: Leaking nioEventLoopGroup threads

2020-08-25 Thread Stefano Bossi
Hi Adam, it's much better to not forget your problem if you open a new ticket on Jira. here is the link: https://issues.apache.org/jira/projects/PLC4X/summary You should open an account a copy your mail in there. Just a suggestion to keep the things in order. Thanks, S. On 24/08/2020 17:26,

Re: Leaking nioEventLoopGroup threads

2020-08-24 Thread Stefano Bossi
Yes thanks ! This will be very important for my stability test too! Let's see if Adam confirm the patch ! Thanks, Stefano On 24/08/2020 11:35, Christofer Dutz wrote: > Thanks Julian for that quick fix. > > Chris > > > Am 24.08.20, 10:39 schrieb "Julian Feinauer" : > > Hi, > > short

[jira] [Created] (PLC4X-241) Reading long Int Array

2020-08-22 Thread Stefano Bossi (Jira)
Stefano Bossi created PLC4X-241: --- Summary: Reading long Int Array Key: PLC4X-241 URL: https://issues.apache.org/jira/browse/PLC4X-241 Project: Apache PLC4X Issue Type: Bug Components

Re: Starting a new project

2020-08-21 Thread Stefano Bossi
> thats awesome to hear and thank you VERY MUCH for caring that much about > PLC4X and also thanks to Daniele for providing us the Logo! > > I will quickly add a PR for you to review! > > Julian > > Von: Stefano Bossi > Antworten an: > Datum: Fre

Re: Error in using new String feature in 0.8.0-SNAPSHOT

2020-08-21 Thread Stefano Bossi
t; : > > Hi Stefano, > > ok … if you did it that way, it should have worked … > > I just had another look at your error report and will investigate … > > Chris > > > > Von: Stefano Bossi > Datum: Freitag, 21. August 2020 um 09:48 > An:

Error in using new String feature in 0.8.0-SNAPSHOT

2020-08-21 Thread Stefano Bossi
Dear Chris and forum, I am trying to test your new feature about STRING and DATE_TIME but I have a strange error using HelloPlc4x, it seems I am missing some module… Do you spot what am I missing? I have imported |implementation group: 'org.apache.plc4x', name: 'plc4j-driver-s7', version:

[jira] [Created] (PLC4X-240) Protocol error in reading string

2020-08-20 Thread Stefano Bossi (Jira)
Stefano Bossi created PLC4X-240: --- Summary: Protocol error in reading string Key: PLC4X-240 URL: https://issues.apache.org/jira/browse/PLC4X-240 Project: Apache PLC4X Issue Type: Bug

Re: Reading Array of Int

2020-08-11 Thread Stefano Bossi
HI Julian, did you have the opportunity to have a look to the regression? Do you want I open a ticket in jira ? Regards, Stefano Bossi On 07/08/2020 14:23, Stefano Bossi wrote: > > Hi Julian, > > unfortunately I think I found a regression in your code. > > I am using

Re: Reading Array of Int

2020-08-07 Thread Stefano Bossi
est| STRING. I have downgraded the library to the 0.7.0 just for testing and it works, the answer on the wire is the same and the |get()| call report the data correctly. Is this a regression? Thanks, Stefano Bossi On 03/08/2020 11:58, Julian Feinauer wrote: > Thank you Stefano, first fo

Re: Reading Array of Int

2020-08-03 Thread Stefano Bossi
> > Hi, > > I'm looking into it : ) > > J > > Am 01.08.20, 16:17 schrieb "Christofer Dutz" : > > Hi Stefano, > > I think such a Jira would be a good idea. > > I’m currently working on the Beckhoff ADS and would

Re: Reading Array of Int

2020-08-01 Thread Stefano Bossi
id<https://aka.ms/ghei36> > > ________ > Von: Stefano Bossi > Gesendet: Mittwoch, 29. Juli 2020, 12:32 > An: dev@plc4x.apache.org; Christofer Dutz > Betreff: Re: Reading Array of Int > > Thanks Chris, > > yes definitely this is a workaround, I am e

Re: Reading Array of Int

2020-07-31 Thread Stefano Bossi
> > Holen Sie sich Outlook für Android<https://aka.ms/ghei36> > > ________ > Von: Stefano Bossi > Gesendet: Mittwoch, 29. Juli 2020, 12:32 > An: dev@plc4x.apache.org; Christofer Dutz > Betreff: Re: Reading Array of Int > > Thanks Chris, >

Re: Reading Array of Int

2020-07-29 Thread Stefano Bossi
are not so advanced to fix the bug in reading the array in a single command, anyway there’s a workaround. Hope this mail help some newbies like me to find the right way to read data from the PLC. Regards, Stefano On 28/07/2020 11:38, Stefano Bossi wrote: > Dear plc4x forum, > > I h

Reading Array of Int

2020-07-28 Thread Stefano Bossi
Dear plc4x forum, I have found a possible problem in reading an array of INT. I am using the HelloPlc4x app for testing and I am trying to read the field address: |'%DB1:274.0:INT[3]'| In the request, captured via wireShark I can see the query: |Frame 3: 75 bytes on wire (600 bits), 75 bytes

Re: Connection died after disconnection

2020-07-27 Thread Stefano Bossi
> to that.  > > Chris > -------- > *Von:* Stefano Bossi > *Gesendet:* Samstag, 25. Juli 2020 09:06 > *An:* dev@plc4x.apache.org > *Betreff:* Re: Connection died after disconnection >   > > Dear Chris, > > I tried to follow your suggestions but I still h

[jira] [Created] (PLC4X-220) Connection die in multithreading

2020-07-27 Thread Stefano Bossi (Jira)
Stefano Bossi created PLC4X-220: --- Summary: Connection die in multithreading Key: PLC4X-220 URL: https://issues.apache.org/jira/browse/PLC4X-220 Project: Apache PLC4X Issue Type: Bug

Re: Connection died after disconnection

2020-07-25 Thread Stefano Bossi
til.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.47.Final.jar:4.1.47.Final] ThreadExecutorMap.java:74 at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-common-4.1.47.Final.jar:4.1.47.Final] FastThreadLocalRunnable.java:30 at java.lang.Thread.run(Thread.java:830) [?:?] | Is there some sort of race condition? Regards, Stefano Bossi ​ signature.asc Description: OpenPGP digital signature

Re: Connection died after disconnection

2020-07-22 Thread Stefano Bossi
r website. > > Hope that helps, > Chris > ____ > Von: Stefano Bossi > Gesendet: Dienstag, 21. Juli 2020 15:56 > An: Apache PLC4X > Betreff: Connection died after disconnection > > > Dear forum, > > I am trying to develop a simple poll

Connection died after disconnection

2020-07-21 Thread Stefano Bossi
Dear forum, I am trying to develop a simple poller for my S7 PLC ST_1200. I need just a simple thread in java which read a value and report it, anyway this must be robust to any problem on the network. I mean I would like to cope with these situation: * PLC not responding; * network issues;

Re: More Details regarding Scraper, Lack of Documentation

2020-07-07 Thread Stefano Bossi
ere: > https://plc4x.apache.org/users/tools/scraper.html > > I hope it helps and I hope even more that it’s accurate. If you happen to > find some issues with it, please tell me about it. > > Chris > > > > Von: Stefano Bossi > Antworten an: > Datum: Freitag, 3. Juli 2020 um 17

Re: AW: Reading compress Data Block

2020-07-05 Thread Stefano Bossi
Dear Julian, thanks for your kind reply, I will study the video you post me and I will try to understand with the PLC expert if using "plain" block will be an issue or not. Thanks, Stefano Bossi On 04/07/2020 23:13, Julian Feinauer wrote: > Dear Stefano, > > first, w

Reading compress Data Block

2020-07-04 Thread Stefano Bossi
guy wrote that) The PLC software has some DB I need to read but the PLC use "optimized Data Block". Is there a way to read with PLC4X library an optimized Data Block ? Many thanks for your work! Regards, Stefano Bossi signature.asc Description: OpenPGP digital signature

Re: More Details regarding Scraper, Lack of Documentation

2020-07-03 Thread Stefano Bossi
Thanks for your effort. I would be interest too in the documentation of the scraper; I will be stay tuned too. Regards, Stefano Bossi On 03/07/2020 14:34, Christofer Dutz wrote: > Hi Wolfgang, > > As the exact same question has come up multiple times In the last few days, > I'll s