Open danhimalplanet opened 6 years ago
Can you get a debug log up to the crash? It looks like some http request is failing, and that error is not being handled well.
Strange -- it crashes after getting a ratelimited response, and then disconnecting. I'm not sure why it's disconnecting. It has been loading users for 2 minutes by that point -- maybe something higher up timed out? The ratelimiting callback definitely fails to deal with disconnection, so would crash if something external disconnected in that time. Things we should try:
I'm running into the same issue if I have a few of the slacks connecting at the same time.
I've been working on a lazy loading option on the "lazy" branch. The very basics are working at this point, if anyone wants to try it on a large slack, but it's definitely still in progress. Make sure you enable the "lazy loading" account option.
@dylex Just tested the lazy loading option (from the history
branch, commit id b7f7d7c1a8b4ffbfc9710f03e54fb2f5889ca169) to load a ~9k user Slack Workspace and it worked just fine. Without it, I'm unable to log into that workspace.
slack-libpurple crashes when use it to connect to the Gophers slack. Gophers slack has thousands of users.
backtrace: https://gist.github.com/5913b633afd6f67408b39d75649e5583
dylex/slack-libpurple commit id ee0f2bd