-
Notifications
You must be signed in to change notification settings - Fork 40
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
Update examples #184
Update examples #184
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Running locally (go run .
) works great! Running in docker though I get a 500 error in the browser. Error in Docker shows "Error connecting to database: dial tcp 172.24.0.2:3306: connect: connection refused", and so event sent to honeycomb is "sql: no rows in result set". Not sure yet what piece is missing for this, and/or if this is specific to my setup.
I also added a comment about updating the endpoint to api.honeycomb, and maybe using the local libhoney-go codepath instead of pulling a specific version from github.
@JamieDanielson the docker error with sql row missing is dues to the browser caching your session from "go run" - it's not the most robust app 😅 if you clear your cookies for localhost:8888, and re-run from docker, it should work 🤞 |
ah, facepalm. You are absolutely right: |
Which problem is this PR solving?
Short description of the changes