powered by Jive Software

How can I use gmail credentials to login

Hello,

I am using openfire 3.6.4. I am using JWChat as the client. I can login using the credentials of a user that exists in openfire. However, when I try to login with my gmail credentials I get the following in the debug log:

2009.12.17 13:23:45 SASLAuthentication: SaslException
javax.security.sasl.SaslException: DIGEST-MD5: digest response format violation. Nonexistent realm: gmail.com
at com.sun.security.sasl.digest.DigestMD5Server.validateClientResponse(Unknown Source)
at com.sun.security.sasl.digest.DigestMD5Server.evaluateResponse(Unknown Source)
at org.jivesoftware.openfire.net.SASLAuthentication.handle(SASLAuthentication.java :296)
at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:58 )
at org.jivesoftware.openfire.http.HttpSession.sendPendingPackets(HttpSession.java: 611)
at org.jivesoftware.openfire.http.HttpSessionManager$HttpPacketSender.run(HttpSess ionManager.java:373)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
2009.12.17 13:23:45 JettyLog: resume continuation RetryContinuation@27864378,pending,resumed
2009.12.17 13:23:45 JettyLog: continuation still pending {}
2009.12.17 13:23:45 JettyLog: continuation RetryContinuation@27864378
2009.12.17 13:23:45 JettyLog: EOF
2009.12.17 13:23:45 JettyLog: continuation RetryContinuation@27864378

Can someone help me. What does Nonexistent realm: gmail.com mean?

you cannot login to an openfire server using gmail credentials. you must login to the gtalk server with those.

I don’t understand this stuff very well, but I am curious as to why I can use JWChat as a client and using http-bind with tomcat/jabberHttpBind as the server, I can login with my gmail credentials, however, when using JWChat as the client and Openfire http-bind, I can’t login with gmail credentials. Shouldn’t I be able to login to any xmpp server using http-bind?

isn’t your http-bind set to point at a specific server. if it is pointed at an openfire server you cannot authenticate to a different server.

additionally I am not entirely sure this should not be a discussion on JWChat forums not here. The JWChat product is not support through these forums.

Yeah, I guess it’s more a question about BOSH (http-bind). Not sure why JabberHttpBind works as a gateway to any XMPP server whereas http-bind on Openfire seems only able to bind to itself.

What is JabberHttpBind? Is it a jabber server or just a binding tool? If it is not a server, then this may explain why Openfire’s bind is pointing to the server itself. Openfire has a plugin which provides transports to gtalk and xmpp. Maybe you can use it. http://kraken.blathersource.org/