Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 not found issue #3

Closed
gp4r opened this issue Jun 24, 2020 · 4 comments
Closed

404 not found issue #3

gp4r opened this issue Jun 24, 2020 · 4 comments

Comments

@gp4r
Copy link

gp4r commented Jun 24, 2020

Hello

I was testing code-server on our OOD but got 404 not found error.

Some reason the redirect URL has "rnode/udc-aw37-23d/26361/" twice like this;
https://rivanna-portal-dev.hpc.virginia.edu/rnode/udc-aw37-23d/26361/rnode/udc-aw37-23d/26361/

If I manually modify the URL to https://rivanna-portal-dev.hpc.virginia.edu/rnode/udc-aw37-23d/26361/, I can see VS page.
Any idea how to solve this issue?

Didn't modify the "view.html.erb"

<form action="/rnode/<%= host %>/<%= port %>/login" method="post" target="_blank">
  <input type="hidden" name="password" value="<%= password %>">
  <button class="btn btn-primary" type="submit">
    <i class="fa fa-cogs"></i> Connect to Code Server
  </button>
</form>

When I click an existing session, it went to /login but got a white page. removing "login" from URL showed VS page.

Best,
Gisoo

@SpontaneousDuck
Copy link

I also saw this problem. The issue is with the restructuring of code-server work is being done to solve this problem in #2 . I was able to change view.html.erb with the changes in that PR and everything worked for me.

@msquee
Copy link
Contributor

msquee commented Jun 29, 2020

@gp4r I've been working on a branch to fix this here #2. You could pull in changes from #2 and have a working code-server app, there's a few changes that I'm going to make before this can be pushed into master but for the most part its ready to use

@SpontaneousDuck
Copy link

Thanks @gp4r !!

@ericfranz
Copy link
Contributor

Merged @msquee's PR. There are a few improvements that can still be done but this branch was significantly better - and working. Please open another issue if you find problems with the latest version!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants