ironcamel / vimchat

XMPP Chat for vim
84 stars 11 forks source link

Cannot connect to google apps account #24

Open paulnorthup opened 11 years ago

paulnorthup commented 11 years ago

When I enter my credentials for a google apps account, vimchat hangs for 30s to 1 minute, then cannot connect. I may be doing something wrong, but would love to use it if there's an easy fix for this.

I'm on OSX 10.8.3 with vim (huge) in iterm2

ironcamel commented 11 years ago

Do you have trouble with other jabber servers or just google? Do you happen to use google's 2 step authentication? http://support.google.com/accounts/bin/answer.py?hl=en&ctx=ch_b%2F0%2FSmsAuthSettings&answer=185833

That's how I do it. I created an app specific password for vimchat and I store that in my vimchat config file. If that file gets compromised, only vimchat running on that computer would be affected.

paulnorthup commented 11 years ago

The other jabber server I tested was a vanilla gmail account. That one worked, just the google apps account didn't. I will try enabling two-step authentication and see if that works.

Should it work without two-step auth?

ironcamel commented 11 years ago

Yes, it should work without two-step auth. I used to use it with normal google auth. It is very strange that it works for regular gmail, but not google apps.

paulnorthup commented 11 years ago

Still not working, though instead of hanging for a bit then throwing an error, it fails immediately. Are there logs anywhere to debug?

ironcamel commented 11 years ago

Just poor mans logging. To see them, try running the command :messages.

jwalgran commented 11 years ago

@paulnorthup Were you able to get this working with your google apps account? I am running into the same issue.

ironcamel commented 11 years ago

Just wanted to mention, google is dropping (has dropped?) support for xmpp anyway http://slashdot.org/story/13/05/20/2315216/google-drops-xmpp-support

paulnorthup commented 11 years ago

My bad, I did not mean to close this issue.

@jwalgran I never did get it working, thought it looks like there isn't hope with google dropping xmpp.

jwalgran commented 11 years ago

@ironcamel From the article you linked

"Practically speaking, what Google's change means is that
Google Hangouts users will still be able to have IM chats with
users on XMPP services such as Jabber, the Free Software
Foundation, and Openfire servers, and vice-versa. In addition,
users of third-party IM clients, such as Pidgin, Trillian, and
Microsoft's Outlook.com will also continue to be able to IM
with Google Hangout users."

Looks like there is still hope for independent XMPP clients.