dokku / service-proxy

An app that can be used to proxy to a datastore service's web ui
MIT License
6 stars 1 forks source link

Failed to resolve remote address #72

Closed whollacsek closed 2 months ago

whollacsek commented 2 months ago

Description of problem

Error when deploying the service-proxy with part of the service name uppercased.

How reproducible

Run the script below:

Steps to Reproduce

SERVICE_NAME="typesense-abc"
SERVICE_PROXY_APP="service-proxy-$SERVICE_NAME"
PUBLIC_URL="typesense.abc.com"

# Create the Typesense instance
dokku typesense:create $SERVICE_NAME

# See: https://github.com/dokku/service-proxy
dokku apps:create $SERVICE_PROXY_APP
dokku config:set $SERVICE_PROXY_APP SERVICE_NAME=$SERVICE_NAME SERVICE_TYPE=typesense
dokku domains:set "$SERVICE_PROXY_APP" "$PUBLIC_URL"

# Link the Typesense instance to service-proxy
dokku typesense:link $SERVICE_NAME $SERVICE_PROXY_APP

# Deploy service-proxy
dokku git:from-image $SERVICE_PROXY_APP dokku/service-proxy:latest

Actual Results

=====> Start of service-proxy-typesense-abc container output (66efb2a86279 web.1)
       go-tcp-proxy (0.0.0-src) proxing from 0.0.0.0:5000 to dokku-TYPESENSE-TYPESENSE_ABC:8108
       Failed to resolve remote address: lookup dokku-TYPESENSE-TYPESENSE_ABC on 185.12.64.1:53: no such host

Expected Results

No error and app successfully deployed.

Environment Information

dokku report APP_NAME output

This is required! Issues missing this information may be closed.

For problems affecting all applications, the report output for a broken application is useful for our debugging. In these cases, you may run dokku report without any arguments to display the top-level reporting information.

How (deb/make) and where (AWS, VirtualBox, physical, etc.) was Dokku installed?:

Additional information

josegonzalez commented 2 months ago

Okay this should be fixed with the latest release of the service-proxy image. Thanks for reporting the problem.

whollacsek commented 2 months ago

Thanks @josegonzalez !