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

/__webpack_hmr 404 #141

Closed
avelino opened this issue Mar 8, 2019 · 11 comments
Closed

/__webpack_hmr 404 #141

avelino opened this issue Mar 8, 2019 · 11 comments
Labels
bug Something isn't working

Comments

@avelino
Copy link
Contributor

avelino commented Mar 8, 2019

"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
@kylecarbs kylecarbs added the bug Something isn't working label Mar 8, 2019
@kylecarbs
Copy link
Member

Will be fixed!

@kylecarbs
Copy link
Member

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

@xuemind
Copy link

xuemind commented Mar 12, 2019

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>

@avelino
Copy link
Contributor Author

avelino commented Mar 12, 2019

Check masteR branch, not generate release

@dirkcgrunwald
Copy link

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

@si458
Copy link

si458 commented Mar 14, 2019

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

@si458
Copy link

si458 commented Mar 15, 2019

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

@NGTmeaty
Copy link
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?

@si458
Copy link

si458 commented Mar 17, 2019

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

@jmahc
Copy link

jmahc commented Mar 18, 2019

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 

@ii64
Copy link

ii64 commented Mar 23, 2019

Any update for this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants