bitlbee / bitlbee-facebook

Facebook protocol plugin for BitlBee
GNU General Public License v2.0
279 stars 49 forks source link

Login failed due to SSL connection error #143

Closed psukys closed 7 years ago

psukys commented 7 years ago

Hello, bitlbee-facebook fails to login and the following error occurs:

 Login error: Unable to connect to b-api.facebook.com: SSL Connection Failed

Tried running with environment variable BITLBEE_DEBUG_FACEBOOK=1, yet didn't get any output at all

dequis commented 7 years ago

Use BITLBEE_DEBUG=1 instead. See also https://wiki.bitlbee.org/Debugging

psukys commented 7 years ago

Alright, BITLBEE_DEBUG=1 seemed to work. The problem was with dns lookup - out of memory

DEBUG socket: invalid state: 3 (should be: 2)DEBUG http: Request 0x7fa4e7436a50 performed without success.
DEBUG connection: Connection error on 0x7fa4e742a2d0 (reason: 0 description: Unable to connect to b-api.facebook.com: SSL Connection Failed)
DEBUG dns: Could not create child process for DNS: Cannot allocate memory

seems that it needed quite some amount of memory at that time (200-300MB?). Shutting down other processes and the problem resolved

dequis commented 7 years ago

What operating system / architecture?

Also, that's libpurple

psukys commented 7 years ago

Ubuntu x64 16.04