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

Clickhouse Error: Socket is not connected #2978

Closed
AbelHristodor opened this issue Apr 19, 2024 · 4 comments
Closed

Clickhouse Error: Socket is not connected #2978

AbelHristodor opened this issue Apr 19, 2024 · 4 comments

Comments

@AbelHristodor
Copy link

Self-Hosted Version

24.4.1

CPU Architecture

x86_64

Docker Version

26.0.1

Docker Compose Version

2.26.1

Steps to Reproduce

I did the following:

  • git clone <repo> && git checkout 24.4.1
  • sudo ./install
  • docker compose up -d

on a fresh GCE VM with Debian 11. 4 vCPU 16GB RAM.

All other containers seems to work, but clickhouse refuses to start saying Socket not connected. Events are not getting received by sentry.

Expected Result

All containers should start correctly.

Actual Result

Clickhouse error:

2024.04.19 13:39:18.354241 [ 43 ] {} <Warning> Application: Listen [0.0.0.0]:8123 failed: Poco::Exception. Code: 1000, e.code() = 98, e.displayText() = Net Exception: Address already in use: 0.0.0.0:8123 (version 21.8.13.1.altinitystable (altinity build)). If it is an IPv6 or IPv4 address and your host has disabled IPv6 or IPv4, then consider to specify not disabled IPv4 or IPv6 address to listen in <listen_host> element of configuration file. Example for disabled IPv6: <listen_host>0.0.0.0</listen_host> . Example for disabled IPv4: <listen_host>::</listen_host>

This error also appears for ports 9000, 9009, 9004, 9005.

and also Code: 1000, e.code() = 107, e.displayText() = Net Exception: Socket is not connected

Install log:
install.log

Event ID

No response

@aldy505
Copy link
Collaborator

aldy505 commented Apr 22, 2024

The error is not really an error. Most likely it's caused by rust-consumer on snuba. If you want to make those disappear, you could replace every occurrence of rust-consumer to consumer on your docker-compose.yml file.

But, I'm going to close this as this is a duplicate of getsentry/snuba#5707

@aldy505 aldy505 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 22, 2024
@bmday
Copy link

bmday commented Apr 24, 2024

We have the same behavior. Today we updated from version 23.7.1 to 24.4.1 and received the same messages. It seems that changing rust-consumer to consumer in docker-compose.yml helped us.

@AbelHristodor
Copy link
Author

I can confirm changing rust-consumer to consumer fixes the issue.

@yakky
Copy link

yakky commented May 9, 2024

Same here with both 24.4.0 and nightly

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

No branches or pull requests

4 participants