Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BUG: Godoxy frontend not viewable #170

@TheGameProfi

Description

@TheGameProfi

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/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions