In theia repo VNC page goes in disconnected state often and i have to reload the browser page:

cc @meysholdt @jankeromnes @32leaves
@jankeromnes I heard you found a solution could you share it please? It would improve my experience in Theia a lot for electron and puppeteer.
@akosyakov indeed, our solution was to use /vnc.html?autoconnect=true&reconnect=true&resize=scale instead of /vnc_lite.html. Gitpod should now redirect port 6080 preview to that new URL automatically.
Actually this issue should already be resolved since 2020-04-06:
https://www.gitpod.io/docs/changelog/#2020-04-06
I wonder why you're still getting to the old URL.
I've dealt with something similar recently, try adding a new line to the Dockerfile Gitpod must not be rebuilding the image.
I will retrigger the build for Theia.
It seems to be fine now: https://github.com/eclipse-theia/theia/pull/7630#issuecomment-617040004
Glad I could help.