I think this thread should not have been archived, the problem persists.
After dozens of tests, I think I have found a certain clue to follow: CASE OF DISCONNECTED (the session is disconnected at intervals of 5-7-10 seconds depending on its use on a Linux server and never on Windows 10)
WebPage type HomePage calls another WebPage containing 2 ContainerControl:
1 ContainerControl visible with a WebListbox, a SearchField and a Button that loads the WebListbox with a BD MySql table.
If you choose a row it shows you 2 ContainerControl with different TextFields, Tab with several tabs and Buttons.
You can search again, it hides Container2 and shows Container1 again to choose again in WebListBox or new search.
CASE WITHOUT DISCONNECTED (session never disconnects on Windows or Linux server)
WebPage type HomePage calls another WebPage that does NOT contain any ContainerControl:
There is a WebListBox, SearchField and Button that appear visible and an invisible Tab with several tabs that contain Textfields, buttons and WeblistBox.
A row is chosen, hides the first search fields and WebListbox and shows the Tab with the various tabs, Textfields, etc.
You can search again by hiding and showing fields without problem, any interaction you make never causes disconnection.
My summary for now: ContainerControl is the main suspect for causing disconnections, perhaps by containing WebListbox, showing and hiding …
But here there is a way to continue testing.
Having the same problems. Web App behind Nginx (Lifeboat) or behind any other reverse proxy gets disconnected. (Unbuntu 20.04/ Centos 7).
Also happens when nothing is done. Only staying at a Webpage. Nothing running, no database.
Same app direct access Port 8080 works.
Same app with 2021R2.1 works with reverse proxy.
@Greg_O_Lone … Any Ideas ? Its not the app itself, it seems something has changed with 2021R3 monitoring an active connection … not working reliable with a reverse proxy.
I’m continuing to test, but I’m not coming out of it anymore. I tried apache, nginx (always on centos7) changing all possible parameters but it’s not a server side problem(see here). So I started taking out various sections of my app to no avail. For now the only thing that could give problems are the connections with the MariaDB(mysql) database. There is like a timeout somewhere in 2021r3 that causes these disconnections.
Did the same right now and yep it doesn’t take to much time to get the “white window of disconnection”
Steps to reproduce: just upload the webapp, open it in any browser and do nothing or do something, it doesn’t matter.
If you had listened to me in the pre-release phase … Hopefully it will be fixed soon, I’ve been going crazy looking for any issues in my code/server configuration. At this point I wonder how many are using the r3 version in proxy … crazy that no one noticed this before.
It means it’s most likely xojo itself but again my server (2021R3, lifeboart debian) has not had such effects…Thus it may be coming from a certain control or something else.
Can anyone reproduce this when deploying to Xojo Cloud with r3 though? We too have Apache set up as a load balancer and reverse proxy and I’m not aware of any issues with that combination yet.