Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bug still in 0.8.5 (1st reported in v0.7.4 3f97767): coder port-forward and localhost:3000 freezes if web app source code is updated #2658

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

Closed
sharkymark opened this issue Jun 26, 2022 · 5 comments

Comments

@sharkymark
Copy link
Contributor

sharkymark commented Jun 26, 2022

Expected Behavior

  1. coder port-forward <workspace name> --tcp 3000:3000 starts fine.

  2. I start a node react app on port 3000

  3. And open localhost:3000 on my local Macbook Pro and the app shows up fine

  4. I make a quick change in the HTML to go from OSS! to OSS World! and the app recompiles

  5. I should refresh localhost:3000 and the change be visible

Current Behavior

Step 5 above freezes the web browser at localhost:3000 and it never reloads.

I have to stop the port-forward and re-start it.

image

Screenshot (clockwise)

  1. kubectl logs into the workspace pod
  2. the localhost:3000 web app, with previous state and notice the X in the browser which means it will not finish loading
  3. code-server VS Code in a browser opened from the workspace with the src file I changed and terminal with app started on 3000
  4. the coder port-forward running in the local terminal
@achalagarwal
Copy link

facing the same issue, but it works after hitting refresh again

@sharkymark
Copy link
Contributor Author

@bpmct This bug is still here. I am using a Node app, and after making a change, the app recompiles and refreshing the screen just spins.

So this bug is still in Coder, now 0.8.5

The resolution is ssh -L but that is unfortunate since that requires running coder config-ssh

image

image

@sharkymark sharkymark changed the title Bug in v0.7.4 3f97767: coder port-forward and localhost:3000 freezes if web app source code is updated Bug still in 0.8.5 (1st reported in v0.7.4 3f97767): coder port-forward and localhost:3000 freezes if web app source code is updated Aug 22, 2022
@kylecarbs
Copy link
Member

#2779 should solve this. Closing for now.

@kylecarbs kylecarbs closed this as not planned Won't fix, can't repro, duplicate, stale Aug 24, 2022
@sharkymark
Copy link
Contributor Author

@kylecarbs @bpmct This is still blocking me, so not sure why this is closed. Please re-open.

ssh -L also now requires authentication on my local machine, and is not working either.

@bpmct
Copy link
Member

bpmct commented Sep 23, 2022

This is, in fact, still an issue but let's debug in #3733

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