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

Closed as not planned

Description

@sharkymark

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

Activity

  1. achalagarwal commented on Jul 25, 2022

    @achalagarwal

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

  2. sharkymark commented on Aug 22, 2022

    @sharkymark
    ContributorAuthor

    @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

  3. 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[/+] on Aug 22, 2022
  4. kylecarbs commented on Aug 24, 2022

    @kylecarbs
    Member

    #2779 should solve this. Closing for now.

  5. sharkymark commented on Aug 30, 2022

    @sharkymark
    ContributorAuthor

    @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.

  6. bpmct commented on Sep 23, 2022

    @bpmct
    Member

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions