libplctag / libplctag.NET

A .NET wrapper for libplctag.
https://libplctag.github.io/
Mozilla Public License 2.0
214 stars 53 forks source link

Issue timeout on first read #328

Closed patopat closed 1 year ago

patopat commented 1 year ago

Hi, Please, I need your help because I have a lot of timeout on first connection and I don't know why ? I run the Example program from library. The log file is attached.

image

details.log

Regards, Pat

patopat commented 1 year ago

I set 30 seconds for timeout and I get this following error : image

timyhac commented 1 year ago

Hi again - can you clarify what you mean by:

a lot of timeout on first connection

i.e.

In the future could you provide a full code listing for your minimal reproducible example, there could be other factors at play.

Thanks for the debug log.

patopat commented 1 year ago

@timyhac I wrote an application 2 months ago and everything worked very well. Now, I have a lot of difficulties to connect to the PLC. After one day of debugging I noticed that is coming from Windows 11 22H2. My colleague also has problem to Ping the PLC with Win11 22H2.

I will mount a VHDX with Win10 22H1 and will try.

Pat.

timyhac commented 1 year ago

It sounds like you've confirmed the issue is elsewhere in the system?

patopat commented 1 year ago

@timyhac Yes I confirm that the issue comes from Win11.

Pat

timyhac commented 1 year ago

Thanks