slackapi / bolt-python

A framework to build Slack apps using Python
https://tools.slack.dev/bolt-python/
MIT License
1.07k stars 246 forks source link

Getting error "409 - Received an unexpected response for handshake" #1203

Open PrajwalNaik07 opened 4 days ago

PrajwalNaik07 commented 4 days ago

I have created a slack bot in GCP Kubernetes environment. The bot is written in bolt python and uses socket mode. We are running 10 pods simultaneously. Lately, we are facing the following issue -

Received an unexpected response for handshake (status: 409, response: HTTP/1.1 409 Conflict
via: envoy-wss-iad-txewoffa
date: Tue, 05 Nov 2024 19:55:36 GMT
server: envoy
connection: close
content-length: 0, session id: 6414fcdf-e0c8-4cc3-913b-94e05d6f2904)

Could you help me understand what the issue is and how to resolve it

seratch commented 3 days ago

Hi @PrajwalNaik07, thanks for taking the time to report this. This is a known issue on the API server side, and this is the latest status: https://github.com/slackapi/node-slack-sdk/issues/2094#issuecomment-2483179967 Please subscribe to the issue thread to receive more updates to come.