Comments (10)
Ok, probem solved, WebSocket was not activated on NGINX.
Once configured it works !
Cheers
from docker-firefox.
Hello,
could you explain more how did you fix that problem ?
I'm trying to use it but same error with the same configuration...
Thanks !
from docker-firefox.
You have issue with your reverse proxy? Did you see https://github.com/jlesage/docker-firefox#reverse-proxy ?
from docker-firefox.
Hello.
I solved the problem with WebSocket activation on the Synology reverse proxy conf.
All is fine, thanks a lot !
But sometime, I have (after navigate) error « server disconnected (code : 1006)... dont known why...
from docker-firefox.
This is often fixed by clearing your browser's cache.
from docker-firefox.
Ok, I tried but always the same error...
from docker-firefox.
Is it working without going through the reverse proxy? If yes, then it seems that you still have an issue with the WebSocket.
You can also open the browser's developper tools and looks at the console for errors. You will probably see that the WebSocket connection fails.
from docker-firefox.
actually without going through the reverse proxy, I do not have the error 1006 ...
To give more details, by the reverse proxy, the error arrives after a few minutes without activity....
Here is the console message :
util.js:218 Msg: Password Required
Util.Warn @ util.js:218
Util.Warn @ util.js:218
2util.js:218 Msg: Authentication OK
Util.Warn @ util.js:218
util.js:218 Msg: Connected (encrypted) to: Firefox
Util.Warn @ util.js:218
util.js:218 WebSocket on-close event
Util.Warn @ util.js:218
util.js:220 Msg: Server disconnected (code: 1006)
Util.Error @ util.js:220
Don't known if this could be util ?
from docker-firefox.
More details on error, from console of FireFox.
Test method :
- open a FF navigator
- go to my personnal link "https://web.mydomain.fr" (where reverse proxy link to "localhost:5800")
- waiting 50-60s
- then error 1006 appear
https://www.noelshack.com/2019-12-2-1552986895-error-1006.png
Starting UI... novnc-ui.min.js:1:3611
Msg: noVNC ready: native WebSockets, canvas rendering novnc-core.min.js:1:2452
novnc-core.min.js:1:2452
GET
https://web.mydomain.fr/websockify [HTTP/1.1 407 Proxy Authentication Required 14 ms]
Msg: Starting VNC handshake novnc-core.min.js:1:2452
Msg: Sent ProtocolVersion: 003.008 novnc-core.min.js:1:2452
Msg: Authenticating using scheme: 2 novnc-core.min.js:1:2452
Msg: Password Required novnc-core.min.js:1:2452
novnc-core.min.js:1:2452
Msg: Authentication OK novnc-core.min.js:1:2452
Msg: Connected (encrypted) to: Firefox novnc-core.min.js:1:2452
WebSocket on-close event novnc-core.min.js:1:2452
Msg: Server disconnected (code: 1006) novnc-core.min.js:1:2504
Util.init_logging/Util.Error https://web.mydomain.fr/js/novnc-core.min.js:1:2504
https://web.mydomain.fr/js/novnc-core.min.js:1:72736
https://web.mydomain.fr/js/novnc-core.min.js:1:73735
RFB/< https://web.mydomain.fr/js/novnc-core.min.js:1:68502
Websock.prototype.open/this._websocket.onclose< https://web.mydomain.fr/js/novnc-core.min.js:1:21394
Error while connected. novnc-core.min.js:1:2504
Util.init_logging/Util.Error https://web.mydomain.fr/js/novnc-core.min.js:1:2504
https://web.mydomain.fr/js/novnc-core.min.js:1:73453
https://web.mydomain.fr/js/novnc-core.min.js:1:73735
RFB/< https://web.mydomain.fr/js/novnc-core.min.js:1:68502
Websock.prototype.open/this._websocket.onclose< https://web.mydomain.fr/js/novnc-core.min.js:1:21394
from docker-firefox.
OK ! After reading this thread : novnc/noVNC#567
and particulary this post :
karinepires commented Jun 7, 2016
Hello all,
I was having the same issue in my application and decided to follow this issue just in case.
I finally managed to solve it with a different strategy.
So, to complete what @Ziris85 said, if you are using nginx as a proxy to your websocketify connection you may want to complete the configuration with different timeouts.
For example one can add the following code to the nginx configuration on the proxied block to increase the timeout to 1hour:
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
I think my problem was a timer set in reverse proxy, so I looking for in Synology parameters and I found this : (sorry for the UI in french)
[url=https://www.noelshack.com/2019-12-2-1553001309-reverseproxy-syno-param.png][img]https://image.noelshack.com/minis/2019/12/2/1553001309-reverseproxy-syno-param.png[/img][/url]
Initially, params was set to 60s, with new values to 3600s, all is fine !
Thanks a lot for your help !
from docker-firefox.
Related Issues (20)
- [Feature request] Hardware acceleration for Intel I-GPU HOT 7
- Not able to get the perfect resolution on mobile screen HOT 1
- [Feature request] Firefox ESR HOT 2
- [Bug] WidevineCdm plugin has crashed
- [Feature request] I want more CJK font configuration HOT 2
- Filesystem access is allowed by firefox, filepicker and permission similar issues HOT 2
- [Feature request] Hope can use custom repo when install CJK HOT 3
- With option ENABLE_CJK_FONT=1 the container fails to create HOT 5
- Output of Console.log for developer HOT 5
- Not works when using HTTPS reverse proxy HOT 3
- Can someone explain how to browse the local file system via this browser? HOT 1
- [Feature request] Profile Manager HOT 1
- Add login HOT 1
- [Feature request] New image based on Firefox fork?
- openwrt docker 中文显示乱码 HOT 3
- [Feature request] Improve VNC section of documentation. HOT 3
- [Bug] Firefox Docker Session Disconnects After Inactivity When Accessed Via Web Browser HOT 10
- Can not fetch font-wqy-zenhei HOT 13
- [Bug] Unable to start container HOT 1
- [Feature request] how to get sound HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-firefox.