-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example failing #44
Comments
Hey @technomage are you actually running one of the examples in the repo on your host machine? The instructions in the top level readme just explain how to start a Restate service, but you also need to run an actual application which you will tell Restate to discover and invoke. We'll update the readme to be a little bit clearer about that! |
When trying to follow instructions I'm getting the following:
|
Hi @oferh sorry for the confusion, we have recently updated the readme with the new instructions to retrieve the examples but didn't released those yet. They should be ready today, will post here once they're ready. In the meantime, you can clone the repo. |
Hey @oferh you should now be able to download the zips |
When attempting to run the example from docker on a Mac:
docker run --name restate_dev --rm -p 8080:8080 -p 9070:9070 -p 9071:9071 ghcr.io/restatedev/restate-dist:latest
results in:
2023-11-27T19:18:18.342325Z WARN restate_service_protocol::discovery
Error when discovering service endpoint at address 'http://host.docker.internal:9080/'. Retrying in 20 seconds
error: [META0003] retry limit exhausted. Last client error: error trying to connect: tcp connect error: Connection refused (os error 111). For more details, look at the docs with https://docs.restate.dev/references/errors#META0003
restate.error.code: META0003
META0003
And the second command:
curl -X POST http://localhost:9070/endpoints -H 'content-type: application/json' -d '{"uri": "http://host.docker.internal:9080"}'
results in:
{"message":"[META0003] retry limit exhausted. Last client error: error trying to connect: tcp connect error: Connection refused (os error 111). For more details, look at the docs with https://docs.restate.dev/references/errors#META0003","restate_code":"META0003"}%
The text was updated successfully, but these errors were encountered: