Skip to content

/__webpack_hmr 404 #141

Closed
Closed

Description

@avelino
"GET /__webpack_hmr HTTP/1.1" 404 152 "https://...../" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36"
  • code-server version: master branch
  • OS Version: ubuntu

Steps to Reproduce

  1. open coder ide

Activity

  1. kylecarbs commented on Mar 8, 2019

    @kylecarbs
    Member

    Will be fixed!

  2. kylecarbs commented on Mar 9, 2019

    @kylecarbs
    Member

    #149 shouldn't have fix this. This is related to a build issue w/ webpack.

  3. xuemind commented on Mar 12, 2019

    @xuemind

    Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-1030-azure x86_64)
    code-server-1.31.1-100-linux-x64
    Request

    GET https://<code-server-ip>:8443/__webpack_hmr
    

    Response Code: 404

    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="utf-8">
    <title>Error</title>
    </head>
    <body>
    <pre>Cannot GET /__webpack_hmr</pre>
    </body>
    </html>
  4. avelino commented on Mar 12, 2019

    @avelino
    ContributorAuthor

    Check masteR branch, not generate release

  5. dirkcgrunwald commented on Mar 13, 2019

    @dirkcgrunwald

    I wanted to clarify your comment - are you saying that the fix is in the master branch but not in e.g. the 1.32.0-245 release or do you mean earlier releases?

    I'm trying to proxy code-server in JupyterHub (data science tool). I'm still getting

    404 GET /__webpack_hmr (172.17.0.1) 1.62ms referer=http://localhost:7777/codeserver/
    

    using the 1.32.0-245 release binaries. I'm building my environment as in https://gist.github.com/dirkcgrunwald/d3d5669e291e8249f5b4f6ad8b6c1f46

    I haven't tried building from source because my other tools need node 11.11.0

  6. si458 commented on Mar 14, 2019

    @si458

    i have pulled the latest image from https://hub.docker.com/r/codercom/code-server
    (March 13, 2019 07:36 PM) and im still getting the 404 error ?

    Firefox can't establish a connection to the server at https://192.168.168.77:32770/__webpack_hmr.

    sample docker-compose file

    version: '2'
    services:
      codeserver:
        image: codercom/code-server:latest
        ports:
          - 8443
        volumes:
          - codeserver:/root/project
    volumes:
      codeserver:
        driver: local
    
  7. si458 commented on Mar 15, 2019

    @si458

    i have pulled the latest image again this morning from https://hub.docker.com/r/codercom/code-server (March 15, 2019 05:19 AM) and im still getting the 404 error ?
    Firefox can't establish a connection to the server at http://192.168.168.77:32771/__webpack_hmr.
    i only use a docker-compose file, nothing special

    version: '2'
    services:
      codeserver:
        image: codercom/code-server:latest
        ports:
          - 8443
        volumes:
          - codeserver:/root/project
        command: --allow-http --no-auth
    volumes:
      codeserver:
        driver: local
    
  8. NGTmeaty commented on Mar 17, 2019

    @NGTmeaty
    Contributor

    @si458 Your browser doesn't seem to be able to connect to the server at all, do you see anything at all, or just the no __webpack_hmr?

  9. si458 commented on Mar 17, 2019

    @si458

    It seems to work fine, loads up ok but keep seeing the 404 error in the web console for the web pack file

  10. jmahc commented on Mar 18, 2019

    @jmahc

    I've seen this error and solved it with another project - will update when I can track down this with either:

    - Solution
    - Comment removal if unable to find it 
  11. ii64 commented on Mar 23, 2019

    @ii64

    Any update for this issue?

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions