Hi there. Simply trying the demo quickstart app. No luck so far.
Hope anybody can help.
What happened?
tried the quickstart guide via docker-compose.
Started successfully, however gives “ERR_NAME_NOT_RESOLVED”.
When I try “localhost”, I get “ERR_CONNECTION_REFUSED”.
What did you expect to happen?
I was expecting to see a webpage as shown in the demo.
How’d it happen?
Followed demo with docker compose up
What’s your environment like?
- Pomerium version (retrieve with
pomerium --version
): 0.25.1 - Server Operating System/Architecture/Cloud: macOS on Macbook Air M1
What’s your config.yaml?
# See detailed configuration settings: https://www.pomerium.com/docs/reference/
#####################################################################
# If self-hosting, use the localhost authenticate service URL below #
# and remove the hosted URL. #
#####################################################################
# authenticate_service_url: https://authenticate.localhost.pomerium.io
authenticate_service_url: https://authenticate.pomerium.app
####################################################################################
# If self-hosting, you must configure an identity provider. #
# See identity provider settings: https://www.pomerium.com/docs/identity-providers/#
####################################################################################
# https://pomerium.com/reference/#routes
routes:
- from: https://verify.localhost.pomerium.io
to: http://verify:8000
policy:
- allow:
or:
- email:
is: user@example.com
pass_identity_headers: true
What did you see in the logs?
...
pomerium-pomerium-1 | {"level":"info","config_file_source":"/pomerium/config.yaml","config_change_id":"6d6e3897-be34-4904-b9f6-3f024c7a8205","time":"2024-03-17T20:04:28Z","message":"metrics: http server disabled"}
pomerium-pomerium-1 | {"level":"info","config_file_source":"/pomerium/config.yaml","bootstrap":true,"time":"2024-03-17T20:04:28Z","message":"controlplane: building discovery resources"}
pomerium-pomerium-1 | {"level":"info","config_file_source":"/pomerium/config.yaml","bootstrap":true,"cluster-count":8,"listener-count":3,"route-configuration-count":1,"time":"2024-03-17T20:04:28Z","message":"controlplane: built discovery resources"}
pomerium-pomerium-1 | {"level":"info","service":"envoy","upstream-cluster":"","method":"GET","authority":"localhost","path":"/","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36","referer":"","forwarded-for":"172.18.0.1","request-id":"3aa2c83b-0408-431b-bc79-270872dbe968","duration":2.809833,"size":0,"response-code":404,"response-code-details":"route_not_found","time":"2024-03-17T20:05:16Z","message":"http-request"}
pomerium-pomerium-1 | {"level":"info","service":"envoy","name":"main","time":"2024-03-17T20:06:21Z","message":"shutting down parent after drain"}
pomerium-pomerium-1 | {"level":"info","service":"envoy","upstream-cluster":"","method":"GET","authority":"localhost","path":"/","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36","referer":"","forwarded-for":"172.18.0.1","request-id":"18a74fdc-01e8-4b9b-8201-b3f7da949257","duration":2.805625,"size":0,"response-code":404,"response-code-details":"route_not_found","time":"2024-03-17T20:07:32Z","message":"http-request"}