Access Workspace Web does not work with returning Code 302

Hi all, I'm trying to setup sagemath with jupyter. I got everything running and sage -n jupyter via supervisord in the background and an access via the main.tf file, but jupyter returns a 302 to the location /tree? and it seems the code-server passes that 302 towards the users freshly opened browser window resulting in the browser to got to coder.domain.com/tree? which returns a 404. How can i tell coder to follow redirects, before returning the response to the user?
3 Replies
Codercord
Codercord6d ago
<#1312088599444983808>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
SpaceMoehre-i-nator™
well i guess using the jupyter module i can still use sage, but the problem with http codes 302 persists
Phorcys
Phorcys3d ago
hello @SpaceMoehre-i-nator™, Coder is acting as a reverse-proxy for Jupyter, and redirects are always supposed to be passed down to the user following redirects on the reverse-proxy side of things is very likely to introduce unwanted behavior the issues you're encountering just means that Jupyter doesn't know its own path are you using sub-paths or a wildcard domain to proxy your apps?
Want results from more Discord servers?
Add your server