On Wednesday, November 6, 2019 at 10:55:34 PM UTC-8, Davidiam wrote:
>
> Windows server 2016, IIS 10, Windows 10, Edge
>
> Version
>
> 2.18.5-stable+timestamp.2019.04.08.04.22.03
> (Running on Microsoft-IIS/10.0, Python 3.6.8) 
> Hello,
>
> A few of our developers have been experiencing this so I thought I would 
> ask the forum for help.
>  
> If we edit a file in the web2py admin console, we often get a red 
> communication error in the "Last saved on" field.
>
> I did some testing and I noticed that this happens pretty consistently if 
> I save after about 90 seconds. It is almost as though the editing session 
> times out.  
> After a refresh of the page in the Edge web browser I can again do saves.
>
> If I save every 10 or 20 seconds, the saves are successful. 
>
> Has anyone else noticed this issue?  Or even better, is there a solution 
> to this problem?
>
> I do not find any logging for this error.
>
> Kind Regards,
> David
>



I get this kind of error occasionally.   Where it may be weeks between 
errors.  But I'm running Windows desktop, not server, using Rocket instead 
of IIS, and Chrome for the browser.  The webserver involved is only 
accessed from the local machine.

In my case, it seems the request times out (not the session), and that can 
happen when Chrome is doing a lot of browser cache related accesses to 
Rocket (as best as I can tell; the activity meter on the web2py "console 
GUI" is almost continuously spiking even though I stop clicking on things; 
it can persist indefinitely).  My treatment of these symptoms is to close 
the browser window, wait for things to quiet down, and reopen the window.  
(It may be possible to just close tabs, but I often have a dozen tabs 
pointing at my applications or the admin pages.  Using the browser menu to 
select "clear cache" doesn't seem to help.)

I have also seen the error when there is a path or permission issue, IIRC, 
but that is unlikely to explain your symptoms.

Try a different browser to see if you get the same errors.  Monitor the 
browser's background accesses to see if they spike during the session.

Good luck!

/dps

 

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/1546fd21-c23f-41f8-b137-0104cf1a9ebb%40googlegroups.com.

Reply via email to