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

Loading of lobby data takes too long #14

Open
glennmartinez opened this issue Feb 27, 2014 · 3 comments
Open

Loading of lobby data takes too long #14

glennmartinez opened this issue Feb 27, 2014 · 3 comments

Comments

@glennmartinez
Copy link

why does it need to do this? It take like 20 minutes and then gives me an error.

Is there any way to bypass this? i only want to connect to one room

@bartoszkopinski
Copy link
Collaborator

Hi @glennmartinez,
How many users do you have?
For me it takes 5-10 seconds to initialize with 100+ users and 50+ rooms.
What kind of error do you get?

@glennmartinez
Copy link
Author

Hi @bartoszkopinski ,
800+ users 150+ rooms.

just keeps calling this for ages
[DEBUG][2014-02-28 12:08:42 +1100] TRYING stanzacbs...
[DEBUG][2014-02-28 12:08:42 +1100] TRYING message/iq/presence/cbs...

Error ends up being auth error.

Why does it need to do this and can I disable it? i only need it for one room?

@bartoszkopinski
Copy link
Collaborator

@glennmartinez The fragment you pasted is just some pings for the server to keep the connection alive. Hipbot should operate normally at this point.

Please make sure you set up proper credentials from your account page (http://*.hipchat.com/account/xmpp), ie. JID and a password.
The error message would be helpful as well.

As it goes for loading the users, let me add an option to disable fetching VCards for each user. This should speed up the process.

In the meantime you can check if that's the problem by disabling it manually or monkey patching this segment:
https://github.com/pewniak747/hipbot/blob/master/lib/hipbot/adapters/hipchat/initializer.rb#L50

I'll keep you updated. Thanks for the issue.

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

No branches or pull requests

2 participants