Re: Not possible to connect ot Facebook

75 views
Skip to first unread message
Message has been deleted

pasis

unread,
Aug 19, 2014, 8:28:17 AM8/19/14
to profan...@googlegroups.com, nowal...@gmail.com
Try this dirty hack: http://radu.cotescu.com/facebook-pidgin-not-authorised/ . It must be the same issue.

On Tuesday, August 19, 2014 1:09:15 PM UTC+3, nowal...@gmail.com wrote:
For some reason it is not possible for me to login into Facebook Chat (Google Chat works fine). I took the username from the URL as described in several Facebook/XMPP tutorials, but still LogIn does not work. I can not configure why? I added Plattform and Log below, maybe someone finds something I overlooked?

thx
Niels

Profanity Version (on ArchLinux, i3wm, rxvt-unicode):

Profanity, version 0.4.3
Copyright (C) 2012 - 2014 James Booth <booth...@gmail.com>.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Build information:
Desktop notification support: Disabled
OTR support: Enabled

Boothj5

unread,
Aug 19, 2014, 6:39:03 PM8/19/14
to profan...@googlegroups.com, nowal...@gmail.com
I'm actually getting the same issue.

Connects to facebook fine using profanity on OSX, but doesn't work on Ubuntu 14.04 (logs below),

I'm thinking this must be something to do with libstrophe's usage of OpenSSL and the version of OpenSSL compiled against, since it appears to work in some environments but not others. It might also be related to other login issues/crashes we're seeing.  I'm going to try to find some time to delve into the relevant libstrophe code.

19/08/2014 23:32:33: prof: INF: Connecting using account: facebook
19/08/2014 23:32:33: prof: INF: Connecting as user.nam...@chat.facebook.com/profanity
19/08/2014 23:32:33: xmpp: DBG: sock_connect to chat.facebook.com:5222 returned 5
19/08/2014 23:32:33: xmpp: DBG: attempting to connect to chat.facebook.com
19/08/2014 23:32:33: xmpp: DBG: connection successful
19/08/2014 23:32:33: conn: DBG: SENT: <?xml version="1.0"?><stream:stream to="chat.facebook.com" xml:lang="en" version="1.0" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams">
19/08/2014 23:32:33: xmpp: DBG: RECV: <stream:stream from='chat.facebook.com' id='1' version='1.0' xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' xml:lang='en'>
19/08/2014 23:32:33: xmpp: DBG: RECV: <stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-FACEBOOK-PLATFORM</mechanism><mechanism>PLAIN</mechanism></mechanisms></stream:features>
19/08/2014 23:32:33: conn: DBG: SENT: <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
19/08/2014 23:32:33: xmpp: DBG: RECV: <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
19/08/2014 23:32:33: xmpp: DBG: handle proceedtls called for proceed
19/08/2014 23:32:33: xmpp: DBG: proceeding with TLS
19/08/2014 23:32:34: conn: DBG: SENT: <?xml version="1.0"?><stream:stream to="chat.facebook.com" xml:lang="en" version="1.0" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams">
19/08/2014 23:32:34: xmpp: DBG: Unrecoverable TLS error, 1.
19/08/2014 23:32:34: xmpp: DBG: Closing socket.
19/08/2014 23:32:34: prof: DBG: Connection handler: XMPP_CONN_DISCONNECT
19/08/2014 23:32:34: prof: DBG: Connection handler: Login failed
19/08/2014 23:32:34: prof: DBG: Connection handler: No reconnect timer
19/08/2014 23:32:34: prof: INF: Login failed

nowal...@gmail.com

unread,
Aug 20, 2014, 5:42:14 AM8/20/14
to profan...@googlegroups.com, nowal...@gmail.com
Ok, it works for me now. It was a combination of two things. One, was the problem described at the URI @pasis sent (thanks for that) the other problem refers to a security setting I activated. That means I activated the option that I have to confirm via PIN send to my mobile phone if an application wants to login to Facebook. This seems also refer to XMPP Chat applications. So it's mandatory to deactivate this option in Facebook.

Maybe it would be a good idea to include these informations in the official profanity documentation.

Thanks to all of you
Niels

Boothj5

unread,
Aug 20, 2014, 5:57:46 PM8/20/14
to profan...@googlegroups.com, nowal...@gmail.com
Thanks for the useful info.

I've added some details to the FAQ, and linked from the Getting Started page.
Reply all
Reply to author
Forward
0 new messages