Closed ElDeveloper closed 8 years ago
The fix seems to just be to use wss://
but we need to know when to use that vs the standard.
I tried by changing moi.js and compute_waiting.html to use wss but no luck either.
On (Mar-17-15|21:07), Joshua Shorenstein wrote:
The fix seems to just be to use
wss://
but we need to know when to use that vs the standard.
Reply to this email directly or view it on GitHub: https://github.com/biocore/qiita/issues/993#issuecomment-82730321
Some info if you google "tornado was". Are the certs etc setup in webserver.py? On Mar 18, 2015 7:05 AM, "Yoshiki Vázquez Baeza" notifications@github.com wrote:
I tried by changing moi.js and compute_waiting.html to use wss but no luck either.
On (Mar-17-15|21:07), Joshua Shorenstein wrote:
The fix seems to just be to use
wss://
but we need to know when to use that vs the standard.
Reply to this email directly or view it on GitHub: https://github.com/biocore/qiita/issues/993#issuecomment-82730321
— Reply to this email directly or view it on GitHub https://github.com/biocore/qiita/issues/993#issuecomment-82766021.
I tried this out, but it didn't work either.
On (Mar-18-15| 0:19), Daniel McDonald wrote:
Some info if you google "tornado was". Are the certs etc setup in webserver.py? On Mar 18, 2015 7:05 AM, "Yoshiki Vázquez Baeza" notifications@github.com wrote:
I tried by changing moi.js and compute_waiting.html to use wss but no luck either.
On (Mar-17-15|21:07), Joshua Shorenstein wrote:
The fix seems to just be to use
wss://
but we need to know when to use that vs the standard.
Reply to this email directly or view it on GitHub: https://github.com/biocore/qiita/issues/993#issuecomment-82730321
— Reply to this email directly or view it on GitHub https://github.com/biocore/qiita/issues/993#issuecomment-82766021.
Reply to this email directly or view it on GitHub: https://github.com/biocore/qiita/issues/993#issuecomment-82789170
I was able to verify that the websockets in fact work using Safari 8.xxxx. It seems that the problem is arising from the fact that the interface is not being properly updated and gives a misleading impression of nothing happening. My guess is that the creation of the HTML elements is not working.
Needs to be verified, but may have been solved by #1058
How can that be? I don't recall any changes to the webserver's configuration to take in a certificate.
Oh, I thought you had the certs up and it was just a ws:// vs wss:// issue. My bad.
Np, it's really both things. We should add a parameter to the config file such that you can set what the certificates, etc you want to use are.
On (Apr-28-15|12:37), Joshua Shorenstein wrote:
Oh, I thought you had the certs up and it was just a ws:// vs wss:// issue. My bad.
Reply to this email directly or view it on GitHub: https://github.com/biocore/qiita/issues/993#issuecomment-97180065
Now we are using https and we don't have this issue, @ElDeveloper can we close?
Yes, I believe this is the case, since we now have the system work with HTTPS.
with heroku how can I fix SecurityError: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.
?
If the server is being accessed through HTTPS, anything that relies on WebSockets will fail silently and only show an error on the JavaScript command line. The most important feature that's unavailable when this happens is being able to submit jobs.
For more information, see this issue in moi and this StackOverflow question.