This is similar to this recent Github Issue. I was able to get the Ruby example working for me just now.
One thing I suggest is using either waypoint logs or if you want even more control, doing a docker ps and then a docker logs example-ruby-01EMS7EBCY3RSCG59MVQYG4BEZ where your container ID will be different. In that case you can see whether the Entrypoint can connect to the URL service. Example logs looks like url.agent messages. Note that after connecting successfully, the app starts up and binds to the port:
Yes sorry about this, there was an outage with the Waypoint URL service which has now been fixed. Coupled to this there was an issue where your application would not start when the Waypoint URL service could not be contacted.
Well, I think I found my issue. My work is blocking either the URL Service or something else. It seems to stop right at the “refreshing data”:
[TRACE] requesting version info from server
[INFO] server version info: version=v0.1.2 api_min=1 api_current=1 entrypoint_min=1 entrypoint_current=1
[INFO] negotiated entrypoint protocol version: version=1
[DEBUG] config: registering instance, requesting config
[TRACE] config: config stream connected, waiting for first config
[TRACE] config: first config received
[INFO] url: url service enabled, configuring: addr=https://control.hzn.network service_port=8080 labels=service=example-python,env=dev,waypoint/workspace=default,waypoint.hashicorp.com/app=example-python,waypoint.hashicorp.com/project=example-python,waypoint.hashicorp.com/workspace=default,:deployment=v4,:deployment-order=01emtnqkw90read2k0hdzx79rk
[DEBUG] url: discovering hubs
[DEBUG] url: refreshing data
When I’m off VPN I can see more logs showing it connecting to a “hub”:
I’m still getting this error when using --platform=kubernetes with the Docker for Desktop for macOS setup, even with Waypoint 0.1.3.
Everything works fine if Waypoint is installed with --platform=docker and everything else being identical.
BTW, with --platform=kubernetes only Waypoint runs as a kube app; waypoint up still deployes the app itself using docker and not using kubernetes. Is that intentional?
Yes, if your waypoint file says to deploy to Docker. This works in the case that the K8S installation is exposed to Docker, for example (network reachable).
This sounds like networking issues reaching out of the Docker image to the Waypoint server. There needs to be a route between your workload and the server.