Replies: 1 comment 1 reply
-
|
Looks like you're using separate compose file for each service. If you do that, you should figure out how to connect their network. Your If you don't know how to do that, follow the guide at https://github.com/MunifTanjim/stremthru/wiki/Deployment. It tells you to use a single compose file. Also check the links at https://github.com/MunifTanjim/stremthru/wiki/Related-Links |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When I configure Cloudflare Warp as indicated in the wiki it doesn’t work and I get the error below. What can I do?
Error:
stremthru | {"time":"2025-04-21T11:02:39.259044967Z","level":"INFO","msg":"Failed to resolve Tunnel IP: Get \"https://checkip.amazonaws.com\": proxyconnect tcp: dial tcp: lookup warp on 127.0.0.11:53: server misbehaving"} stremthru | panic: Failed to resolve Tunnel IP: Get "https://checkip.amazonaws.com": proxyconnect tcp: dial tcp: lookup warp on 127.0.0.11:53: server misbehaving stremthru | stremthru | stremthru | goroutine 1 [running]: stremthru | log.Panicf({0x10b598d?, 0x1200090?}, {0xc000041d00?, 0xc000438600?, 0xc000041810?}) stremthru | /usr/local/go/src/log/log.go:439 +0x65 stremthru | github.com/MunifTanjim/stremthru/internal/config.PrintConfig(0xc000041ef0) stremthru | /workspace/internal/config/config.go:364 +0xe5 stremthru | main.main() stremthru | /workspace/main.go:16 +0x169Stremthru compose:
services:
stremthru:
container_name: stremthru
ports:
- 8000:8080
environment:
- STREMTHRU_PROXY_AUTH=
- STREMTHRU_HTTP_PROXY=http://warp:1080
image: muniftanjim/stremthru:latest
restart: unless-stopped
Warp compose:
version: "3"
services:
warp:
image: caomingjun/warp
container_name: warp
restart: always
# add removed rule back (opencontainers/runc#3468)
device_cgroup_rules:
- 'c 10:200 rwm'
ports:
- "1080:1080"
environment:
- WARP_SLEEP=2
# - WARP_LICENSE_KEY= # optional
# - WARP_ENABLE_NAT=1 # enable nat
cap_add:
# Docker already have them, these are for podman users
- MKNOD
- AUDIT_WRITE
# additional required cap for warp, both for podman and docker
- NET_ADMIN
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
- net.ipv4.conf.all.src_valid_mark=1
# uncomment for nat
# - net.ipv4.ip_forward=1
# - net.ipv6.conf.all.forwarding=1
# - net.ipv6.conf.all.accept_ra=2
volumes:
- /srv/dev-disk-by-uuid-ec23fbc9-a8a3-4055-a2bc-bff29bf04eb3/appdata/warp:/var/lib/cloudflare-warp
healthcheck:
test: ["CMD", "curl", "-f", "https://www.cloudflare.com/cdn-cgi/trace"]
interval: 30s
timeout: 10s
retries: 5
Beta Was this translation helpful? Give feedback.
All reactions