Stuck Rocrail server

Stuck Rocrail server

Postby ergunov » 06.12.2017, 17:09

There was such a problem.
The program periodically hangs, in the server window there is this
Code: Select all
20171206.202810.253 r9999E lntcpr   OSocket  0218 closesocket() failed [10038]
20171206.202810.381 r9999E lntcpr   OSocket  0628 recv() failed [10038] size=1 read=0
You do not have the required permissions to view the files attached to this post.
Vyacheslav E.
ergunov
 

Re: Stuck Rocrail server

Postby rjversluis » 06.12.2017, 17:24

Rocview turns idle because of the flood of exceptions.
The main problem is that the command station breaks the tcp/ip connection.

Code: Select all
20171206.202729.233 r9999E lntcpr   OSocket  0628 recv() failed [10054] size=1 read=0

10054 = Connection reset by peer.

The looping is a problem in the loconet tcp sublibrary.
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Re: Stuck Rocrail server

Postby ergunov » 07.12.2017, 04:36

HI Rob
Yes, I changed the connection to USB, everything became perfect.
Only how to understand the problem, in the hardware of the station, in the implementation of the station protocol or in my laptop?
Vyacheslav E.
ergunov
 

Re: Stuck Rocrail server

Postby rjversluis » 07.12.2017, 07:23

Hi Vyacheslav,

I did test a bit with the dr5k to force this race condition.
I have optimised the tcp sublibrary for loconet a bit.
The LAN connection with the dr5k is stable, but I did not test with dr5k by WLAN which is not recommended.
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Re: Stuck Rocrail server

Postby ergunov » 08.12.2017, 04:27

Yes Rob, I agree, Karst warned that WIFI is a "trick", and its use is not the best option.
I managed to establish the reason all the time, it only works bad when I use a small laptop, if I run Rocrail from a PC, there's no problem.
Yesterday I managed to hold the first part of the test.
The only thing is not how to deal with the Schedules, the arrow does not want to translate. And as there is still a major drawback, not a correct direction, but this is for a separate topic.
Vyacheslav E.
ergunov
 


Return to General