Skip to content

Cannot dial to the fronting domain #378

@twocolors

Description

@twocolors

Scheme connect

mtg:0.0.0.0:433 -> caddy:127.0.0.1:8443

in moment i see slow response (download) from proxy and in log see this warning , if i use curl https://0:8443/ caddy response web site (fast and not slow)

run in docker

privileged: true
network_mode: host
    deploy:
      resources:
        limits:
          cpus: "0.75"
          memory: 512M

warn

mtg  | {"level":"warn","logger":"proxy","error":"dial tcp 127.0.0.1:8443: i/o timeout","timestamp":1773860541684,"message":"cannot dial to the fronting domain"}
mtg  | {"level":"warn","logger":"proxy","error":"dial tcp 127.0.0.1:8443: i/o timeout","timestamp":1773860541684,"message":"cannot dial to the fronting domain"}
mtg  | {"level":"warn","logger":"proxy","error":"dial tcp 127.0.0.1:8443: i/o timeout","timestamp":1773860541684,"message":"cannot dial to the fronting domain"}
mtg  | {"level":"warn","logger":"proxy","error":"dial tcp 127.0.0.1:8443: i/o timeout","timestamp":1773860541790,"message":"cannot dial to the fronting domain"}

in caddy i have some hack , resp http code is 502 not 200

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