Rocweb V2 Preview testing

All about the Rocrail WEB solution.

Re: Rocweb V2 Preview testing

Postby Besra » 02.06.2015, 18:43

Hi Rob,

you asked me for Rocrail exceptions in the trace window of Rocview but interestingly enough, I could not reproduce this error again :oops: I don't know... Perhaps it's time for the evening meal.
Anyway, will give 9221 a try prior to food intake :)

Four Windows builds today :shock: :wink:

Regards
Bernd
Maerklin H0, DCC and MM, Intellibox (I) via ULNI, Booster Tams B4, Throttle Digitrax UT4, LocoNet.
Loco decoders: Zimo, Uhlenbrock, Maerklin & ESU.
Rocweb, Win10 32bit & 64bit
Besra
 

Re: Rocweb V2 Preview testing

Postby Besra » 02.06.2015, 19:16

Hi Rob,

9221 looks OK at first glance :D.
I stop testing for today. Tomorrow I will repeat one of today's experiments again: Rocweb on multiple devices connected to the same server at the same time using the same or different browsers. Today's result was a bit suprising to me...

Kind regards
Bernd
Maerklin H0, DCC and MM, Intellibox (I) via ULNI, Booster Tams B4, Throttle Digitrax UT4, LocoNet.
Loco decoders: Zimo, Uhlenbrock, Maerklin & ESU.
Rocweb, Win10 32bit & 64bit
Besra
 

Re: Rocweb V2 Preview testing

Postby rvooyen » 02.06.2015, 22:15

Hi,
Feedback on 9221.

Had a two hour running session with auto and manual locs.

The good news - no crashes.
The less good news - still some websocket errors. (Both Opera and FF on android). Recovery is simple - restart the browser, in Android this requires going into the system app management and forcing the restart. You are probably fed up with looking at traces, so wont attach.

So some progress, but in my environment anyway, it is not stable enough to allow anyone to operate (using rocweb) on the layout yet.

I may still try the W7 PC tomorrow, just to (hopefully) rule out the XP thing.

Robert
Robert van Ooijen.
Building Rhineland2. 3 levels. CS=IB1-Loconet+HSI-s88, 70 blocks, 160 sensors, 4 boosters. M&K 3rail.
Goal: Scheduled Pass. trains, "OPS" with car cards etc.. Using andRoc and Rocweb/xs throttles.
Rocrail on WinXP.
rvooyen
 

Re: Rocweb V2 Preview testing

Postby smitt48 » 02.06.2015, 22:54

Hi Robert,

Hang in there and keep up the good work!

You too Rob :coding:

Greetings tom
Kind regards,
Tom Smit
Kralendijk, Bonaire - Dutch Caribbean

Märklin M & K-rails with ECoS2 (4.2.3) - Win10
RoSoft: S88n & WDD switch & SDD signal decoders
Display: Tri-ang from 1950's, Märklin from early 1960's
In build phase
smitt48
 

Re: Rocweb V2 Preview testing

Postby rjversluis » 03.06.2015, 06:14

Hi Robert,
rvooyen wrote:still some websocket errors. (Both Opera and FF on android). Recovery is simple - restart the browser, in Android this requires going into the system app management and forcing the restart. You are probably fed up with looking at traces, so wont attach.

normally a refresh of the page should be sufficient.
Also I can increase the number of retries in Rocweb to establish a connection.
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: Rocweb V2 Preview testing

Postby rvooyen » 03.06.2015, 08:26

Rob,

The error popup cannot be removed, it keeps popping up forever, so there is no way to refresh the page or do anything other than close the browser.

Robert.
Robert van Ooijen.
Building Rhineland2. 3 levels. CS=IB1-Loconet+HSI-s88, 70 blocks, 160 sensors, 4 boosters. M&K 3rail.
Goal: Scheduled Pass. trains, "OPS" with car cards etc.. Using andRoc and Rocweb/xs throttles.
Rocrail on WinXP.
rvooyen
 

Re: Rocweb V2 Preview testing

Postby rjversluis » 03.06.2015, 08:45

Hi Robert,
rvooyen wrote:The error popup cannot be removed, it keeps popping up forever, so there is no way to refresh the page or do anything other than close the browser.

I can disable this popup.
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: Rocweb V2 Preview testing

Postby rjversluis » 03.06.2015, 10:18

In 9223 I removed the alert popups and increase the retry count from 10 to 50.
After 50 retries an alert popup will come. In all other cases its written in the javascript/webconsole.
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: Rocweb V2 Preview testing

Postby rvooyen » 03.06.2015, 13:01

Hi,

I had a good running session this morning, 2+ hours, no crashes and only one websocket that I was able to clear by refreshing/starting the page.
All on 9221 and with FF as browser (Just updated).
Extra note:
I froze the clock for this session and load was at 10% or less. I am checking CPU load all the time now.

I am going to start a separate issue thread on the fast clock-CPU load, I think that cpu load certainly increases the possibility of the websockets, also since the session this morning was mostly with only 1 or 2 background auto locs. If more locs or fastclock running then more websockets (I think!).

A good session, some minor issues with updating rocweb, that sometimes lags, but eventually catches up.

Need a :coffee:

Robert
Robert van Ooijen.
Building Rhineland2. 3 levels. CS=IB1-Loconet+HSI-s88, 70 blocks, 160 sensors, 4 boosters. M&K 3rail.
Goal: Scheduled Pass. trains, "OPS" with car cards etc.. Using andRoc and Rocweb/xs throttles.
Rocrail on WinXP.
rvooyen
 

Re: ISSUE: Fastclock and CPU load

Postby smitt48 » 03.06.2015, 18:01

Hi Rob.

Using Win8.1 and FF 38+ version 9228, forced a reboot of my machine.
Have an error screen but I could not capture it as the screen froze.

<fatal>Rocweb:
Websocket fatal error
Give up after 50 retries </fatal>


Trace attached,

20150603.114723.509 r9999I phts04D4 OHttp 0245 shutdown Rocweb [04D4D6A4] unexpected opcode 0X03
20150603.114723.603 r9999I webreade OPClient 0498 websocket reader stopped
20150603.114723.790 r0000I phts04D4 OHttp *trace dump( 0x048DFD4C: length=2 )


tom
You do not have the required permissions to view the files attached to this post.
Kind regards,
Tom Smit
Kralendijk, Bonaire - Dutch Caribbean

Märklin M & K-rails with ECoS2 (4.2.3) - Win10
RoSoft: S88n & WDD switch & SDD signal decoders
Display: Tri-ang from 1950's, Märklin from early 1960's
In build phase
smitt48
 

Re: Rocweb V2 Preview testing

Postby rjversluis » 03.06.2015, 18:39

FF is the worst of all on a PC.
This one causes a race condition.

Opcode 0x03 is reserved and should not be used: Check W3C.
The FF is very buggy when it comes to websockets, even worser then Chrome.
FF opens so many websockets that you run out of memory.

I will revert the 50 retries; Safari needs only one try.
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: Rocweb V2 Preview testing

Postby rjversluis » 03.06.2015, 18:50

I have no idea how to handle FF:

Code: Select all
Firefox can't establish a connection to the server at ws://localhost:8088/. rocwebworker.js:25:0
Firefox can't establish a connection to the server at ws://localhost:8088/. rocwebworker.js:25:0
The connection to ws://localhost:8088/ was interrupted while the page was loading. rocwebworker.js:25:0
Firefox can't establish a connection to the server at ws://localhost:8088/. rocwebworker.js:25:0
The connection to ws://localhost:8088/ was interrupted while the page was loading. rocwebworker.js:25:0
Firefox can't establish a connection to the server at ws://localhost:8088/. rocwebworker.js:25:0
The connection to ws://localhost:8088/ was interrupted while the page was loading. rocwebworker.js:25:0
Firefox can't establish a connection to the server at ws://localhost:8088/. rocwebworker.js:25:0
"<alert>Rocweb:
WebSocket is closed: 1006</alert>" rocweb.js:3009:4
The connection to ws://localhost:8088/ was interrupted while the page was loading. rocwebworker.js:25:0
Firefox can't establish a connection to the server at ws://localhost:8088/. rocwebworker.js:25:0
"<alert>Rocweb:
WebSocket is closed: 1006</alert>" rocweb.js:3009:4
The connection to ws://localhost:8088/ was interrupted while the page was loading. rocwebworker.js:25:0
"<alert>Rocweb:
WebSocket is closed: 1006</alert>" rocweb.js:3009:4
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: Rocweb V2 Preview testing

Postby Liviu M » 03.06.2015, 19:22

Hello all,

Because I've just played a little with Rocrail and the Raspberry, I've tested also the Rocweb on Raspberry & Konqueror on OpenSuse (13.1).
Unfortunately in the moment I can't do much on my layout (only one active loc, no turnouts, no sensors, no automode), but just for controlling a train Raspberry Pi, Rocweb & Konqueror seems to be a good combination.
I suppose my test is quite irrelevant, but costs my little to post it. :)

Regards,
Liviu
Last edited by Liviu M on 03.06.2015, 19:39, edited 1 time in total.
----------------------------------------------
System: DCC N-Scale
CS: Profiboss (Loconet)
Server: RaspberryPi/OdroidC1/OpenSuse
Client: OpenSuse/Windows(?)
----------------------------------------------
Liviu M
 

Re: Rocweb V2 Preview testing

Postby smitt48 » 03.06.2015, 19:38

Hi Rob,

Have you tried support? The authors might know a trick or two.

https://support.mozilla.org/en-US/questions/new/desktop

I have looked but besides the word websockets, I don't know what i am talking about.

Greetings Tom
Kind regards,
Tom Smit
Kralendijk, Bonaire - Dutch Caribbean

Märklin M & K-rails with ECoS2 (4.2.3) - Win10
RoSoft: S88n & WDD switch & SDD signal decoders
Display: Tri-ang from 1950's, Märklin from early 1960's
In build phase
smitt48
 

Re: Rocweb V2 Preview testing

Postby smitt48 » 03.06.2015, 20:17

Hi Rob,

With Win8.1 and Chrome this version (9228) is stable (sofar), FF is still abending.

A small thing that I noted. Text does not appear the same: Rocweb places sit next to each other, while Rocview allows it below. Does not impact me one bit, but I did not have the room in Rocview, therefore I placed it below.

Rocview
text 1.PNG

Rocweb
text2.PNG


Greetings tom
You do not have the required permissions to view the files attached to this post.
Kind regards,
Tom Smit
Kralendijk, Bonaire - Dutch Caribbean

Märklin M & K-rails with ECoS2 (4.2.3) - Win10
RoSoft: S88n & WDD switch & SDD signal decoders
Display: Tri-ang from 1950's, Märklin from early 1960's
In build phase
smitt48
 

PreviousNext

Return to Rocweb