[Bug] ??? net/http: invalid Cookie.Domain #114

Closed
opened 2025-12-29 09:23:15 +01:00 by adam · 7 comments
Owner

Originally created by @FrozenFrog on GitHub (Oct 12, 2025).

Image

The bug occurs after upgrading to v0.19.0.
Rolling back to v0.18.6 works fine.

I'm currently figuring out where the problem comes from — I suspect it's likely related to the OnHost or OnCookie rules

services:
  frontend:
    image: ghcr.io/yusing/godoxy-frontend:${TAG:-latest}
    network_mode: host # do not change this
    container_name: godoxy-frontend
    hostname: godoxy-frontend
    environment:
      HOSTNAME: 127.0.0.1
      PORT: ${GODOXY_FRONTEND_PORT} # 3001
      TZ: ${TZ}
      GODOXY_API_ADDR: ${GODOXY_API_ADDR}
    restart: unless-stopped
    user: ${GODOXY_UID:-1000}:${GODOXY_GID:-1000}
    read_only: true
    security_opt:
      - no-new-privileges:true
    cap_drop:
      - all
    depends_on:
      - app
    labels:
      proxy.aliases: ${GODOXY_FRONTEND_ALIASES:-godoxy}
      proxy.#1.port: ${GODOXY_FRONTEND_PORT:-3000}
Originally created by @FrozenFrog on GitHub (Oct 12, 2025). <img width="1203" height="329" alt="Image" src="https://github.com/user-attachments/assets/9a7fcf33-442c-412b-bdaa-146a3536fd6a" /> The bug occurs after upgrading to v0.19.0. Rolling back to v0.18.6 works fine. I'm currently figuring out where the problem comes from — I suspect it's likely related to the OnHost or OnCookie rules ``` services: frontend: image: ghcr.io/yusing/godoxy-frontend:${TAG:-latest} network_mode: host # do not change this container_name: godoxy-frontend hostname: godoxy-frontend environment: HOSTNAME: 127.0.0.1 PORT: ${GODOXY_FRONTEND_PORT} # 3001 TZ: ${TZ} GODOXY_API_ADDR: ${GODOXY_API_ADDR} restart: unless-stopped user: ${GODOXY_UID:-1000}:${GODOXY_GID:-1000} read_only: true security_opt: - no-new-privileges:true cap_drop: - all depends_on: - app labels: proxy.aliases: ${GODOXY_FRONTEND_ALIASES:-godoxy} proxy.#1.port: ${GODOXY_FRONTEND_PORT:-3000} ```
adam closed this issue 2025-12-29 09:23:15 +01:00
Author
Owner

@yusing commented on GitHub (Oct 12, 2025):

Could you share the full docker compose, .env and config.yml? (with credentials removed)

@yusing commented on GitHub (Oct 12, 2025): Could you share the full docker compose, `.env` and `config.yml`? (with credentials removed)
Author
Owner

@jakes44 commented on GitHub (Oct 12, 2025):

Logs and configs here - seeing the same thing (or something similar)

@yusing

@jakes44 commented on GitHub (Oct 12, 2025): [Logs and configs here](https://gist.github.com/jakes44/a1582cffc9a923c67eedaeb4b2c628cd) - seeing the same thing (or something similar) @yusing
Author
Owner

@yusing commented on GitHub (Oct 12, 2025):

Logs and configs here - seeing the same thing (or something similar)

@yusing

Thanks. Will check it tmr and try to fix it asap.

@yusing commented on GitHub (Oct 12, 2025): > [Logs and configs here](https://gist.github.com/jakes44/a1582cffc9a923c67eedaeb4b2c628cd) - seeing the same thing (or something similar) > > [@yusing](https://github.com/yusing) Thanks. Will check it tmr and try to fix it asap.
Author
Owner

@yusing commented on GitHub (Oct 13, 2025):

@FrozenFrog @jakes44 please update to v0.19.2 and see if it's fixed

@yusing commented on GitHub (Oct 13, 2025): @FrozenFrog @jakes44 please update to v0.19.2 and see if it's fixed
Author
Owner

@jakes44 commented on GitHub (Oct 13, 2025):

Seems to be working for me now.

Noting that I am seeing this error in the logs now:

godoxy-proxy | 10-12 16:42 ??? failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 7168 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details.

@jakes44 commented on GitHub (Oct 13, 2025): Seems to be working for me now. Noting that I am seeing this error in the logs now: `godoxy-proxy | 10-12 16:42 ??? failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 7168 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details.`
Author
Owner

@yusing commented on GitHub (Oct 13, 2025):

Seems to be working for me now.

Noting that I am seeing this error in the logs now:

godoxy-proxy | 10-12 16:42 ??? failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 7168 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details.

Nice.

For this error, it's expected because I have added SetReadBuffer and SetWriteBuffer to ACL UDP wrapper. Now it can correctly adjust buffer size but the amount it needs is beyond OS limit. Check on the link and update those two sysctl tunables.

@yusing commented on GitHub (Oct 13, 2025): > Seems to be working for me now. > > Noting that I am seeing this error in the logs now: > > `godoxy-proxy | 10-12 16:42 ??? failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 7168 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details.` > > Nice. For this error, it's expected because I have added SetReadBuffer and SetWriteBuffer to ACL UDP wrapper. Now it can correctly adjust buffer size but the amount it needs is beyond OS limit. Check on the link and update those two sysctl tunables.
Author
Owner

@FrozenFrog commented on GitHub (Oct 13, 2025):

@FrozenFrog @jakes44 please update to v0.19.2 and see if it's fixed

Yes, it has been fixed. Thank you 😊

@FrozenFrog commented on GitHub (Oct 13, 2025): > [@FrozenFrog](https://github.com/FrozenFrog) [@jakes44](https://github.com/jakes44) please update to v0.19.2 and see if it's fixed Yes, it has been fixed. Thank you 😊
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/godoxy#114