Git Product home page Git Product logo

Comments (16)

tgy avatar tgy commented on August 28, 2024

Probably related to #10 which was supposed to be resolved.

from bitlbee-facebook.

jgeboski avatar jgeboski commented on August 28, 2024

Is your network connection dying?

from bitlbee-facebook.

dequis avatar dequis commented on August 28, 2024

How often is "constantly", precisely?

from bitlbee-facebook.

tgy avatar tgy commented on August 28, 2024

My network connection is not dying. bitlbee and my irc client are running in a tmux session in a datacenter.

Constantly means every 10 minutes.

from bitlbee-facebook.

tgy avatar tgy commented on August 28, 2024
[bitlbee-facebook] Reading message (topic: /inbox):
[bitlbee-facebook]   00000000  7b 22 75 6e 72 65 61 64  22 3a 35 2c 22 75 6e 73  |{"unread":5,"uns|
[bitlbee-facebook]   00000010  65 65 6e 22 3a 31 2c 22  6f 74 68 65 72 5f 75 6e  |een":1,"other_un|
[bitlbee-facebook]   00000020  73 65 65 6e 22 3a 30 2c  22 6f 74 68 65 72 5f 75  |seen":0,"other_u|
[bitlbee-facebook]   00000030  6e 72 65 61 64 22 3a 30  2c 22 73 65 65 6e 5f 74  |nread":0,"seen_t|
[bitlbee-facebook]   00000040  69 6d 65 73 74 61 6d 70  22 3a 30 2c 22 72 65 61  |imestamp":0,"rea|
[bitlbee-facebook]   00000050  6c 74 69 6d 65 5f 76 69  65 77 65 72 5f 66 62 69  |ltime_viewer_fbi|
[bitlbee-facebook]   00000060  64 22 3a 31 30 30 30 30  37 30 32 30 31 38 31 38  |d":XXXXXXXXXXXXX|
[bitlbee-facebook]   00000070  33 32 2c 22 74 79 70 65  22 3a 22 69 6e 62 6f 78  |32,"type":"inbox|
[bitlbee-facebook]   00000080  22 7d                                             |"}|
[bitlbee-facebook]   00000090
[bitlbee-facebook] Error: Short read
[bitlbee-facebook] Writing 14 (flags: 0x0)
[bitlbee-facebook]   00000000  e0 00                                             |..|
[bitlbee-facebook]   00000010
[bitlbee-facebook] Closing with unwritten data
[bitlbee-facebook] POST Request (0x7f82cb9cbf00): https://graph.facebook.com:443/graphql
[bitlbee-facebook]   User-Agent: Facebook App / BitlBee / 0.1.0
[bitlbee-facebook]   Content-Length: 266
[bitlbee-facebook]   Connection: Close
[bitlbee-facebook]   Accept: */*
[bitlbee-facebook]   Content-Type: application/x-www-form-urlencoded
[bitlbee-facebook]   Host: graph.facebook.com
[bitlbee-facebook]   Authorization: OAuth XXX
[bitlbee-facebook]
[bitlbee-facebook]   fb_api_req_friendly_name=FetchContactsFullQuery&[BLABLABLA]
[bitlbee-facebook] POST Response (0x7f82cb9cbf00): https://graph.facebook.com:443/graphql (Error while writing HTTP request)
[bitlbee-facebook]   ** No header data **
[bitlbee-facebook]
[bitlbee-facebook]   ** No body data **
[bitlbee-facebook] POST Request (0x7f82cb9cbf00): https://graph.facebook.com:443/graphql

from bitlbee-facebook.

tgy avatar tgy commented on August 28, 2024

So, it was happening constantly at the time of the report but now it's far more infrequent.
Everyone seems to get short reads from time to time.
Looks like it is Facebook servers' fault.
Is there a way for bitlbee-facebook to handle these disconnections transparently and act as if nothing happened?

from bitlbee-facebook.

jgeboski avatar jgeboski commented on August 28, 2024

Does this still happen?

from bitlbee-facebook.

blaskovic avatar blaskovic commented on August 28, 2024

Same problem on CentOS7 with bitlbee-3.2.2-3.el7.x86_64 and current master of this repo.

from bitlbee-facebook.

dequis avatar dequis commented on August 28, 2024

Note that getting disconnected with "short read" usually just means getting disconnected normally. If it happens once every few hours it's not a bug.

from bitlbee-facebook.

blaskovic avatar blaskovic commented on August 28, 2024

Well ok. But everytime all my group fb chats are like this:

23:43:02 -!- Netsplit localhost.localdomain <-> chat.facebook.com quits: UserFromChat
23:43:02 <@root> Cleaning up channel, bye!
23:43:02 -!- MyNick was kicked from #channel by root [Chatroom closed by server]

And I have to /join #channel back manually. Which is really annoying.

from bitlbee-facebook.

dequis avatar dequis commented on August 28, 2024

How about channel #channel set auto_join true

from bitlbee-facebook.

blaskovic avatar blaskovic commented on August 28, 2024

I will give it a try and provide report after few hours.

from bitlbee-facebook.

blaskovic avatar blaskovic commented on August 28, 2024

Ok, auto rejoin works but now I just see nothing else than rejoins every few minutes/hours. This is not a solution.

from bitlbee-facebook.

dequis avatar dequis commented on August 28, 2024

I just see nothing else than rejoins every few minutes/hours

What do you mean? You stop receiving chat messages from the auto-rejoined channel?

from bitlbee-facebook.

blaskovic avatar blaskovic commented on August 28, 2024

I am receiving them but for example after night when nobody is writing, my backlog is full of rejoins. And maybe somewhere between them are some messages which I can overlook.

from bitlbee-facebook.

jgeboski avatar jgeboski commented on August 28, 2024

We really have no control over this happening, but as of ef58beb, the plugin will attempt to silently reconnect. This should alleviate this issue for the most part.

from bitlbee-facebook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.