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

Catalog | invalid connection config: missing required peer IP or hostname #154

Open
VoliKoN opened this issue Feb 23, 2023 · 2 comments
Open
Labels
bug Something isn't working

Comments

@VoliKoN
Copy link

VoliKoN commented Feb 23, 2023

When running the docker-compose file from the Catalog src directory, I'm supplying a password as described in the Readme and the MySQL container loads up fine.
I'm getting the following from the catalog container:

catalog-catalog-1     | 2023/02/23 14:50:40 Running database migration...
catalog-catalog-1     | 2023/02/23 14:50:40 Error: Failed to apply migration <nil>
catalog-catalog-1     | 2023/02/23 14:50:40 Connecting to catalog-db:3306/sampledb?timeout=5s
catalog-catalog-1     | 2023/02/23 14:50:40 invalid connection config: missing required peer IP or hostname

The container keeps running and is working, but the logging is misleading...

@niallthomson
Copy link
Collaborator

Hi @VoliKoN appreciate you bringing this up. I'd noticed the error but hadn't had time to find the cause. We'll get this on the list.

@niallthomson
Copy link
Collaborator

The error

invalid connection config: missing required peer IP or hostname

appears to be caused by the splunksqlx wrapper we use for OpenTelemetry instrumentation. Reverting to sqlx appears to fix the error. Might need to move to our own implementation of instrumenting the DB queries or find a more robust implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants