BUG: Godoxy frontend not viewable #121

Closed
opened 2025-12-29 14:25:21 +01:00 by adam · 2 comments
Owner

Originally created by @TheGameProfi on GitHub (Dec 10, 2025).

After I upgraded godoxy to v0.20.13 the frontend isn't loading anymore and the app shows an go panic.
Downgrading only the app to v0.20.12 fixes the problem and the Website loads normally

Version: Running Latest Tag (v0.20.13)

Logs:

http3: panic serving arg="runtime error: comparing uncomparable type httputils.UnwrittenBody" trace="goroutine 1757 [running]:\ngithub.com/quic-go/quic-go/http3.(*Server).handleRequest.func2.1()\n\t/root/go/pkg/mod/github.com/quic-go/quic-go@v0.57.1/http3/server.go:696 +0xbd\npanic({0x1b29fe0?, 0xc00109edd0?})\n\t/usr/local/go/src/runtime/panic.go:783 +0x132\ngithub.com/yusing/godoxy/internal/net/gphttp/middleware.(*Middleware).ServeHTTP(0xc000559400, 0xc000526a68, {0x21be300, 0xc000382a00}, 0xc000cb6780)\n\t/src/internal/net/gphttp/middleware/middleware.go:229 +0x6b9\ngithub.com/yusing/godoxy/internal/entrypoint.(*Entrypoint).ServeHTTP(0xc000b0ae50, {0x21be560?, 0xc000c51900?}, 0xc000cb6780)\n\t/src/internal/entrypoint/entrypoint.go:103 +0x28d\ngithub.com/quic-go/quic-go/http3.(*Server).handleRequest.func2(0x21c1660?, 0xc000408410?, {0x21abd00?, 0xc000b0ae50?}, 0x0?, 0x0?)\n\t/root/go/pkg/mod/github.com/quic-go/quic-go@v0.57.1/http3/server.go:704 +0x5f\ngithub.com/quic-go/quic-go/http3.(*Server).handleRequest(0xc000c52500, 0xc000b2e240, 0xc0009fe850, 0x31bff00, {0x0, 0x0})\n\t/root/go/pkg/mod/github.com/quic-go/quic-go@v0.57.1/http3/server.go:705 +0xd85\ngithub.com/quic-go/quic-go/http3.(*Server).handleConn.func2()\n\t/root/go/pkg/mod/github.com/quic-go/quic-go@v0.57.1/http3/server.go:568 +0x5e\ncreated by github.com/quic-go/quic-go/http3.(*Server).handleConn in goroutine 1514\n\t/root/go/pkg/mod/github.com/quic-go/quic-go@v0.57.1/http3/server.go:564 +0x6c7\n"
app:
    image: ghcr.io/yusing/godoxy:v0.20.12 # latest before
    container_name: godoxy-proxy
    restart: always
    network_mode: host # do not change this
    env_file: .env
    user: ${GODOXY_UID:-1000}:${GODOXY_GID:-1000}
    depends_on:
      socket-proxy:
        condition: service_started
    security_opt:
      - no-new-privileges:true
    cap_drop:
      - all
    cap_add:
      - NET_BIND_SERVICE
    environment:
      - DOCKER_HOST=tcp://${SOCKET_PROXY_LISTEN_ADDR:-127.0.0.1:2375}
    volumes:
      - ./config:/app/config
      - /var/log/godoxy:/app/logs
      - ./error_pages:/app/error_pages:ro
      - ./data:/app/data

      # To use autocert, certs will be stored in "./certs".
      # You can also use a docker volume to store it
      - ./certs:/app/certs
Originally created by @TheGameProfi on GitHub (Dec 10, 2025). After I upgraded godoxy to `v0.20.13` the frontend isn't loading anymore and the app shows an go panic. Downgrading only the app to `v0.20.12` fixes the problem and the Website loads normally Version: Running Latest Tag (`v0.20.13`) Logs: ``` http3: panic serving arg="runtime error: comparing uncomparable type httputils.UnwrittenBody" trace="goroutine 1757 [running]:\ngithub.com/quic-go/quic-go/http3.(*Server).handleRequest.func2.1()\n\t/root/go/pkg/mod/github.com/quic-go/quic-go@v0.57.1/http3/server.go:696 +0xbd\npanic({0x1b29fe0?, 0xc00109edd0?})\n\t/usr/local/go/src/runtime/panic.go:783 +0x132\ngithub.com/yusing/godoxy/internal/net/gphttp/middleware.(*Middleware).ServeHTTP(0xc000559400, 0xc000526a68, {0x21be300, 0xc000382a00}, 0xc000cb6780)\n\t/src/internal/net/gphttp/middleware/middleware.go:229 +0x6b9\ngithub.com/yusing/godoxy/internal/entrypoint.(*Entrypoint).ServeHTTP(0xc000b0ae50, {0x21be560?, 0xc000c51900?}, 0xc000cb6780)\n\t/src/internal/entrypoint/entrypoint.go:103 +0x28d\ngithub.com/quic-go/quic-go/http3.(*Server).handleRequest.func2(0x21c1660?, 0xc000408410?, {0x21abd00?, 0xc000b0ae50?}, 0x0?, 0x0?)\n\t/root/go/pkg/mod/github.com/quic-go/quic-go@v0.57.1/http3/server.go:704 +0x5f\ngithub.com/quic-go/quic-go/http3.(*Server).handleRequest(0xc000c52500, 0xc000b2e240, 0xc0009fe850, 0x31bff00, {0x0, 0x0})\n\t/root/go/pkg/mod/github.com/quic-go/quic-go@v0.57.1/http3/server.go:705 +0xd85\ngithub.com/quic-go/quic-go/http3.(*Server).handleConn.func2()\n\t/root/go/pkg/mod/github.com/quic-go/quic-go@v0.57.1/http3/server.go:568 +0x5e\ncreated by github.com/quic-go/quic-go/http3.(*Server).handleConn in goroutine 1514\n\t/root/go/pkg/mod/github.com/quic-go/quic-go@v0.57.1/http3/server.go:564 +0x6c7\n" ``` ```yaml app: image: ghcr.io/yusing/godoxy:v0.20.12 # latest before container_name: godoxy-proxy restart: always network_mode: host # do not change this env_file: .env user: ${GODOXY_UID:-1000}:${GODOXY_GID:-1000} depends_on: socket-proxy: condition: service_started security_opt: - no-new-privileges:true cap_drop: - all cap_add: - NET_BIND_SERVICE environment: - DOCKER_HOST=tcp://${SOCKET_PROXY_LISTEN_ADDR:-127.0.0.1:2375} volumes: - ./config:/app/config - /var/log/godoxy:/app/logs - ./error_pages:/app/error_pages:ro - ./data:/app/data # To use autocert, certs will be stored in "./certs". # You can also use a docker volume to store it - ./certs:/app/certs ```
adam closed this issue 2025-12-29 14:25:22 +01:00
Author
Owner

@yusing commented on GitHub (Dec 10, 2025):

could you also share your entrypoint config?

See if 20.14 fixes it

@yusing commented on GitHub (Dec 10, 2025): ~could you also share your entrypoint config?~ See if 20.14 fixes it
Author
Owner

@TheGameProfi commented on GitHub (Dec 10, 2025):

Yes, 20.14 fixed it.
Thanks for the quick fix 🙂

@TheGameProfi commented on GitHub (Dec 10, 2025): Yes, 20.14 fixed it. Thanks for the quick fix 🙂
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/godoxy-yusing#121