We’re going to try to get our Security Office to allow http traffic if the researchers use a VPN context. We’ll then open the host firewall to that IP range and port 39000.
EDIT: fixed the NGINX issue, just needed to add some headers:
1 server {
2 listen 80;
3 server_name cryosparc.{hostname};
4
5 location / {
6 proxy_pass http://localhost:39000;
7 }
8
9 location /websocket {
10 proxy_pass http://localhost:39000;
11 proxy_http_version 1.1;
12 proxy_set_header Upgrade $http_upgrade;
13 proxy_set_header Connection "Upgrade";
14 proxy_set_header Host $host;
15 }
16 }
2 Likes
I got the proxy working! I had to add the following to my Apache conf file:
RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule /(.*) ws://localhost:39000/$1 [P,L]
2 Likes
Hi @jmnewton and @posertinlab ,
That’s great to hear! To confirm, you’re both able to access and use the application after these changes?
- Suhail
Yes, the application is available.
1 Like
Able to access and use, no problem!
1 Like
Thanks for this, I’ve been breaking my head over this error for the past few days and I couldn’t figure it out!