Skip to content

Traefik reverse proxy, gateway timeout #202

@StiviiK

Description

@StiviiK
  • code-server version: latest tag, server/0.0.0 linux-x64 node-v8.15.0

Description

Tried running it behind Traefik reverse proxy. If i browse to my url i get a gateway timeout.
In the traefik dashboard it looks correctly configured:
image
image
Running curl http://172.17.0.2:8443 on the remote host works:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /</pre>
</body>
</html>

If i expose the 8443 port publicly and browse to the ip + port it also works fine (with http)

Steps to Reproduce

  1. Create a Traefik reverse proxy (https://github.com/containous/traefik)
  2. Try running code-server with following command:
    docker run -d --label traefik.port=8443 --label traefik.frontend.rule=Host:ide.DOMAIN.TLD codercom/code-server --allow-http

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