You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've deployed surreal to fly.io as described here: https://surrealdb.com/docs/deployment/fly
So far so good! Now I'm trying to access the app service from another app on the same organization by internal host name: db-123.internal (see docs here). Pings to db-123.internal work but I can't reach surreal db at db-123.internal:8000. Researching fly.io docs, it turns out I need to bind to fly-local-6pn instead of 0.0.0.0 for internal routing to work: https://fly.io/docs/getting-started/app-services/#a-note-on-ipv4-and-ipv6-wildcards
When I update the Dockerfile CMD to bind to fly-local-6pn:8080, SurrealDB fails to start:
error: Invalid value "fly-local-6pn:8000" for '--bind <bind>': Provide a valid network bind parameter
Steps to reproduce
Follow the steps here but bind to fly-local-6pn instead of 0.0.0.0:
For anyone else running into this, using the IPv6 wildcard [::] seems to work. My hypothesis is that the internal app service only gets an IPv6 and therefore the IPv4 wildcard 0.0.0.0 is not resolved. Still, according to Fly.io, we should bind to fly-local-6pn instead of a wildcard: https://fly.io/docs/getting-started/app-services/#a-note-on-ipv4-and-ipv6-wildcards
Describe the bug
I've deployed surreal to fly.io as described here: https://surrealdb.com/docs/deployment/fly
So far so good! Now I'm trying to access the app service from another app on the same organization by internal host name:
db-123.internal
(see docs here). Pings todb-123.internal
work but I can't reach surreal db atdb-123.internal:8000
. Researching fly.io docs, it turns out I need to bind tofly-local-6pn
instead of0.0.0.0
for internal routing to work: https://fly.io/docs/getting-started/app-services/#a-note-on-ipv4-and-ipv6-wildcardsWhen I update the Dockerfile CMD to bind to
fly-local-6pn:8080
, SurrealDB fails to start:Steps to reproduce
Follow the steps here but bind to
fly-local-6pn
instead of0.0.0.0
:Expected behaviour
I expect SurrealDB to support binding to the host
fly-local-6pn
as defined in/etc/hosts
.SurrealDB version
1.0.0-beta.9+20230402.5eafebd for linux on aarch64
Contact Details
anton@begehr.me
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: