https://signoz.io logo
#support
Title
# support
s

Syed Ishaq

01/31/2024, 3:55 AM
hi.. im getting one issue while setting up the external clickhouse cluster in signoz...can any one help on this error.. level":"info","timestamp":"2024-01-31T034856.578Z","caller":"opamp/server_client.go:171","msg":"Waiting for initial remote config","component":"opamp-server-client"} {"level":"error","timestamp":"2024-01-31T034856.598Z","caller":"opamp/server_client.go:130","msg":"Failed to connect to the server: %v","component":"opamp-server-client","error":"dial tcp: lookup query-service on 127.0.0.1153 server misbehaving","stacktrace":"github.com/SigNoz/signoz-otel-collector/opamp.(*serverClient).Start.func2\n\t/home/runner/work/signoz-otel-collector/signoz-otel-collector/opamp/server_client.go:130\ngithub.com/open-telemetry/opamp-go/client/types.CallbacksStruct.OnConnectFailed\n\t/home/runner/go/pkg/mod/github.com/open-telemetry/opamp-go@v0.5.0/client/types/callbacks.go:150\ngithub.com/open-telemetry/opamp-go/client.(*wsClient).tryConnectOnce\n\t/home/runner/go/pkg/mod/github.com/open-telemetry/opamp-go@v0.5.0/client/wsclient.go:127\ngithub.com/open-telemetry/opamp-go/client.(*wsClient).ensureConnected\n\t/home/runner/go/pkg/mod/github.com/open-telemetry/opamp-go@v0.5.0/client/wsclient.go:165\ngithub.com/open-telemetry/opamp-go/client.(*wsClient).runOneCycle\n\t/home/runner/go/pkg/mod/github.com/open-telemetry/opamp-go@v0.5.0/client/wsclient.go:202\ngithub.com/open-telemetry/opamp-go/client.(*wsClient).runUntilStopped\n\t/home/runner/go/pkg/mod/github.com/open-telemetry/opamp-go@v0.5.0/client/wsclient.go:265\ngithub.com/open-telemetry/opamp-go/client/internal.(*ClientCommon).StartConnectAndRun.func1\n\t/home/runner/go/pkg/mod/github.com/open-telemetry/opamp-go@v0.5.0/client/internal/clientcommon.go:197"} {"level":"error","timestamp":"2024-01-31T034856.598Z","caller":"client/wsclient.go:170","msg":"Connection failed (dial tcp: lookup query-service on 127.0.0.1153 server misbehaving), will retry.","component":"opamp-server-client","stacktrace":"github.com/open-telemetry/opamp-go/client.(*wsClient).ensureConnected\n\t/home/runner/go/pkg/mod/github.com/open-telemetry/opamp-go@v0.5.0/client/wsclient.go:170\ngithub.com/open-telemetry/opamp-go/client.(*wsClient).runOneCycle\n\t/home/runner/go/pkg/mod/github.com/open-telemetry/opamp-go@v0.5.0/client/wsclient.go:202\ngithub.com/open-telemetry/opamp-go/client.(*wsClient).runUntilStopped\n\t/home/runner/go/pkg/mod/github.com/open-telemetry/opamp-go@v0.5.0/client/wsclient.go:265\ngithub.com/open-telemetry/opamp-go/client/internal.(*ClientCommon).StartConnectAndRun.func1\n\t/home/runner/go/pkg/mod/github.com/open-telemetry/opamp-go@v0.5.0/client/internal/clientcommon.go:197"} {"level":"info","timestamp":"2024-01-31T034857.579Z","caller":"opamp/server_client.go:171","msg":"Waiting for initial remote config","component":"opamp-server-client"} {"level":"info","timestamp":"2024-01-31T034858.580Z","caller":"opamp/server_client.go:171","msg":"Waiting for initial remote config","component":"opamp-server-client"} {"level":"info","timestamp":"2024-01-31T034859.580Z","caller":"opamp/server_client.go:171","msg":"Waiting for initial remote config","component":"opamp-server-client"} {"level":"info","timestamp":"2024-01-31T034900.580Z","caller":"opamp/server_client.go:171","msg":"Waiting for initial remote config","component":"opamp-server-client"}
a

Ankit Nayan

01/31/2024, 7:34 AM
Probably the query-service is not up and running. The otel-collectors fetch config from the query-service to run things. Also, the otel-collectors should fallback to the initial config. I remember similar bug being fixed in 2-3 releases back. Can you check the version of signoz you are running ?