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

Add debug_reconnects to socketmode client #1379

Open
AyumuKasuga opened this issue Feb 23, 2025 · 1 comment
Open

Add debug_reconnects to socketmode client #1379

AyumuKasuga opened this issue Feb 23, 2025 · 1 comment
Assignees

Comments

@AyumuKasuga
Copy link

Description

Hello Team,
thanks for this beautiful project! It would be nice to have an option to add &debug_reconnects=true to the WebSocket URL. Here is how it described in the docs:

One helpful trick: you can append &debug_reconnects=true to your WebSocket URL when you connect to it in order to make the connection time significantly shorter (360 seconds). That way, you can test and debug reconnects without waiting around.

What do you think?

(Optional) Slack's documentation

https://api.slack.com/apis/socket-mode

@nlopes nlopes self-assigned this Mar 10, 2025
@nlopes
Copy link
Collaborator

nlopes commented Mar 10, 2025

This seems to be for debugging purposes only (as the name implies) so I might just use the Client debug as a proxy for when to enable this in socket mode.

Something along the lines of

if api.debug {
    // Append &debug_reconnects=true
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants