-
Notifications
You must be signed in to change notification settings - Fork 193
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
Reconnection process #299
Comments
This error seems to be due to the RTM change deprecating the previous behavior of |
I used try/catch and then slack session builder to create autoreconnect SlackSession. @ConnorLinfoot I got used to simple-slack-api, otherwise works fine for me and is lightweight. Thanks. |
Personally, I moved to using the official slack java client, I did originally try updating this client but upon realizing master seemed to be half updated to the new socket mode system instead of RTM I chose to leave it. Depending on your use case it may be better to also adopt the official client, as its more likely to stay up to date and have more support around it (although the documentation is a bit lacking in my opinion) |
Currently in the process of doing the same. I tried to use the current state of master yesterday, after having updated my app to the new way of interacting with the API (configuring scopes, adding an app token, configuring events to be sent to, reinstalling my app into my workspace...) but stumbled upon several problems:
|
Hello,
when slack goes out of service, we sometimes get the following Null Pointer Exception:
Stack Trace: java.lang.NullPointerException at com.ullink.slack.simpleslackapi.impl.SlackJSONSessionStatusParser.parse(SlackJSONSessionStatusParser.java:71) at com.ullink.slack.simpleslackapi.impl.SlackWebSocketSessionImpl.connectImpl(SlackWebSocketSessionImpl.java:389) at com.ullink.slack.simpleslackapi.impl.SlackWebSocketSessionImpl.connect(SlackWebSocketSessionImpl.java:348)
Has anyone any idea how to do reconnection attempt properly here?
I looked here, but if slack service goes down, we don't get goodbye message.
#269
Thanks,
Jure
The text was updated successfully, but these errors were encountered: