The Groovr's page cannot be refreshed properly

PAC-R1+Groov-Serv. Chroem and Groov serv are on the same PC. The system has been running steadily for 6 days. Today suddenly, data cannot be refreshed.

You must click on the refresh button on the top left corner of the browser to make the system normal.

Then the system is normal。

Why?

Are there any error messages in the logs from the time that the system couldn’t refresh data? You can reach them by going into Build mode, clicking Help, then View Logs.

In particular, look for something that looks like this:

2017-09-28, 20:33:39 GMT-07:00 WARN com.opto22.groov.server.security.AuthorizationWhitelist - Failed CSRF Check from user 1 for path '/secure/scanner/sub/subscribe?'

Every now and then we have an issue where the browser client’s security token gets out of sync with what’s on the server. The session is still active and valid, so the user doesn’t get logged out, but certain operations that require a security check fail. Refreshing the browser causes the browser to retrieve the correct security token, so that fixes it.

It’s on the list of things to address, just haven’t been able to track down the root cause of it yet.

This problem has appeared again, this time is 7 days running continuously. Is it associated with a computer that has not been operating for a long time into hibernation?

This problem is only in Groov server for windows, or will it be the same in Groov box?.

Hibernation (or just sleeping) shouldn’t trigger it: I do almost all development on a laptop that goes to sleep all the time. groov View generally recovers from it.

Did you see anything interesting in your logs?

2017-10-03T07:16:39+08:00 User ‘wgzhp’ wrote value ‘true’ to tag ‘Light_Switch_Off_4’ on ‘15#bian (10.10.10.3/OPTO22_CONTROLLER)’. INFO - groov.Audit
2017-10-03T07:16:39+08:00 User ‘wgzhp’ wrote value ‘false’ to tag ‘Light_Switch_Off_4’ on ‘15#bian (10.10.10.3/OPTO22_CONTROLLER)’. INFO - groov.Audit

######################## For the first time, the data cannot be refreshed properly

2017-10-03T07:42:33+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet
2017-10-03T07:49:06+08:00 Preparing to vacuum database. INFO - com.opto22.groov.server.database.VacuumDbHandler
2017-10-03T07:49:06+08:00 Database vacuum started. INFO - com.opto22.groov.server.database.VacuumDbHandler
2017-10-03T07:49:06+08:00 Database vacuum finished. INFO - com.opto22.groov.server.database.VacuumDbHandler
2017-10-03T08:05:18+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet
2017-10-03T08:12:03+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet
2017-10-03T08:12:18+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet
2017-10-03T08:16:03+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet
2017-10-03T08:29:03+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet
2017-10-03T08:31:33+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet
2017-10-03T08:47:33+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet

####################################Manual refresh

2017-10-03T15:22:24+08:00 ClientContentManager created. INFO - com.allen_sauer.gwt.log.client.Log
2017-10-03T15:22:24+08:00 Groov is being loaded in a browser. INFO -
2017-10-03T15:22:24+08:00 Browser info - UserAgent = "Mozilla/5.0 (Windows NT 6.1)

2017-10-10T14:14:46+08:00 User ‘wgzhp’ is closing page ‘首页’. INFO - com.allen_sauer.gwt.log.client.Log
2017-10-10T14:14:46+08:00 hide user menu INFO - com.allen_sauer.gwt.log.client.Log
2017-10-10T14:14:47+08:00 User ‘wgzhp’ (session=1evyrgo4dv1w8gwndsx2vgpvr) has logged out from 0:0:0:0:0:0:0:1:51344 INFO - com.opto22.groov.server.security.Security
2017-10-10T14:14:52+08:00 User ‘user’ (session=ozote6kgyrp7128l6aggi6xqn) has logged in from 0:0:0:0:0:0:0:1:51350 INFO - com.opto22.groov.server.security.Security

***********************************************Second times, the data cannot be refreshed properly

2017-10-10T14:27:38+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet
2017-10-10T14:36:38+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet
2017-10-10T14:37:08+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet
2017-10-10T14:41:38+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet

*******************************************Manual refresh

2017-10-10T15:38:46+08:00 ClientContentManager created. INFO - com.allen_sauer.gwt.log.client.Log
2017-10-10T15:38:46+08:00 Groov is being loaded in a browser. INFO - com.allen_sauer.gwt.log.client.Log
2017-10-10T15:38:46+08:00 Browser info - Platform = “Win32”. INFO - com.allen_sauer.gwt.log.client.Log
2017-10-10T15:38:46+08:00 Browser info - UserAgent = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko)

2017-10-01T14:47:59+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet
2017-10-01T14:53:00+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet
2017-10-01T14:58:14+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet
2017-10-01T15:00:44+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet
2017-10-01T15:10:29+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet
2017-10-01T15:11:15+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet
2017-10-01T15:12:29+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet
2017-10-01T15:12:44+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet
2017-10-01T15:12:59+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet
2017-10-01T15:13:59+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet
2017-10-01T15:18:30+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet
2017-10-01T15:19:44+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet
2017-10-01T15:23:44+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet
2017-10-01T15:26:30+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet
2017-10-01T15:29:44+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet

******************************There was a connection error, but it didn’t affect use. There are still a lot of it. Why?

2017-10-01T15:31:06+08:00 User ‘wgzhp’ is closing page ‘首页’. INFO - com.allen_sauer.gwt.log.client.Log
2017-10-01T15:31:06+08:00 User ‘wgzhp’ is opening page ‘低压室’. INFO - com.allen_sauer.gwt.log.client.Log
2017-10-01T15:31:13+08:00 User ‘wgzhp’ is closing page ‘低压室’. INFO - com.allen_sauer.gwt.log.client.Log
2017-10-01T15:31:13+08:00 User ‘wgzhp’ is opening page ‘首页’. INFO - com.allen_sauer.gwt.log.client.Log
2017-10-01T15:31:13+08:00 User ‘wgzhp’ has subscribed to tags for page ‘首页’. INFO - com.allen_sauer.gwt.log.client.Log
2017-10-01T15:31:13+08:00 User ‘wgzhp’ has subscribed to tags for page ‘首页’. INFO - com.allen_sauer.gwt.log.client.Log

groovlogs form 20171001 to 20171010.zip (22.0 KB)

Help --------------------------------------me

“2017-10-12T13:27:42+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet”

There is a lot of such warning information, is it because I placed text Gadgets in the Groov page, but no variables are specified to generate this warning message? I have corrected it and will look at it tomorrow

:sweat::sweat::sweat:

2017-10-12T13:27:42+08:00 Error occurred when connecting to URL null: null WARN - com.opto22.groov.server.ReProxyServlet

That particular error message comes from the Video gadget, when you’re using the proxy option. It may just be that you have a Video gadget on that page that’s doesn’t have a URL entered in it.

I think I found the reason for this mistake, but it’s different from what you said.
I used 6 video gadgets, one page three, and the remaining three pages one, URL is normal. There’s no other video gadgets anymore.
When I use the Groov proxy option, this warning message appears in large numbers. Without using this option, there is no such information. It is the same in Firefox and chrome, although the image can not be displayed normally in chrome.
This is my test at home, unable to connect to specific equipment. Go to the site for real test tomorrow.
If that’s the case, I’m going to use Firefox, and not use proxy options.
Wait for the result.

There are test results. Using Firefox, and video gadgets proxy selection is not selected, a large number of warning information is not available. The next step will be to see the stability of it.

:laughing::laughing::laughing:

Why is that so?Why is that so?

How to delete the log records of groov serv?
In the build mode, click Help, click view, click clear., but the log cannot be cleared?
How to do it?

At the moment there is no menu option to clear the log.
Why do you want to delete them?

There is no harm in keeping them.

There is no special reason, just because there are a lot of wrong information at the beginning of the project. After normal, there are few records every day. There is a clear button in the lower left corner.