Skip to content
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

docs: Docker compose update #493

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

simjak
Copy link

@simjak simjak commented May 14, 2024

Description

If you run Hatchet and your app locally in docker-compose, you get an error:

"UNKNOWN:Error received from peer  {created_time:"2024-05-13T08:39:34.861686763+00:00", grpc_status:14, grpc_message:"failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:7077: Failed to connect to remote host: Connection refused"}"

Fixes # (issue)
SERVER_GRPC_BROADCAST_ADDRESS is embedded into HATCHET_CLIENT_TOKEN

echo $HATCHET_CLIENT_TOKEN | cut -d "." -f 2 | base64 -d 2>/dev/null || echo $HATCHET_CLIENT_TOKEN | cut -d "." -f 2 | base64 -d -i 2>/dev/null


{"aud":"http://localhost:8080", "exp":1723365005, "grpc_broadcast_address":"localhost:7077", "iat":1715589005, "iss":"http://localhost:8080", "server_url":"http://localhost:8080", "sub":"707d0855-80ab-4e1f-a156-f1c4546cbf52", "token_id":"318a2447-a053-4f86-86d9-8770608a5df2"}%  

You have to set SERVER_GRPC_BROADCAST_ADDRESS: "host.docker.internal:7077" under setup-config in the docker compose file and generate a new Hatchet client token

Type of change

  • Documentation change (pure documentation change)

What's Changed

  • Updated self-hosted page documentation

Copy link

vercel bot commented May 14, 2024

@simjak is attempting to deploy a commit to the Hatchet Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant