Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR_QUEUE_UNDERFLOW #207

Closed
stintel opened this issue Jan 18, 2021 · 3 comments · Fixed by #208
Closed

ERROR_QUEUE_UNDERFLOW #207

stintel opened this issue Jan 18, 2021 · 3 comments · Fixed by #208

Comments

@stintel
Copy link

stintel commented Jan 18, 2021

Since Friday I'm unable to login to Facebook:

18|10:46:02 <@bitlbee> facebook - Logging in: Fetching contacts
18|10:46:03 <@bitlbee> facebook - Logging in: Connecting
18|10:46:04 <@bitlbee> facebook - Logging in: Logged in
18|10:46:04 <@bitlbee> facebook - Error: ERROR_QUEUE_UNDERFLOW
18|10:46:04 <@bitlbee> facebook - Signing off..
18|10:46:04 <@bitlbee> facebook - Reconnecting in 30 seconds..
18|10:46:34 <@bitlbee> facebook - Logging in: Fetching contacts
18|10:46:35 <@bitlbee> facebook - Logging in: Connecting
18|10:46:36 <@bitlbee> facebook - Logging in: Logged in
18|10:46:36 <@bitlbee> facebook - Error: ERROR_QUEUE_UNDERFLOW
18|10:46:36 <@bitlbee> facebook - Signing off..
18|10:46:36 <@bitlbee> facebook - Reconnecting in 30 seconds..
@mrc0mmand
Copy link
Contributor

mrc0mmand commented Jan 20, 2021

Can confirm, tried to send a message (two words, nothing fancy) this morning, the send failed and since then I can't login anymore:

10:03:30 <@root> facebook - Error: Failed to send message
10:03:30 <@root> facebook - Signing off..
10:03:30 <@root> facebook - Reconnecting in 5 seconds..
10:03:35 <@root> facebook - Logging in: Fetching contacts
10:03:36 <@root> facebook - Logging in: Connecting
10:03:36 <@root> facebook - Logging in: Logged in
10:03:36 <@root> facebook - Error: ERROR_QUEUE_UNDERFLOW
10:03:36 <@root> facebook - Signing off..
10:03:36 <@root> facebook - Reconnecting in 5 seconds..
[INFO] facebook: Writing message (topic: /messenger_sync_get_diffs)
[INFO] facebook:   00000000  7b 22 64 65 6c 74 61 5f  62 61 74 63 68 5f 73 69  |{"delta_batch_si|
[INFO] facebook:   00000010  7a 65 22 3a 31 32 35 2c  22 6d 61 78 5f 64 65 6c  |ze":125,"max_del|
[INFO] facebook:   00000020  74 61 73 5f 61 62 6c 65  5f 74 6f 5f 70 72 6f 63  |tas_able_to_proc|
[INFO] facebook:   00000030  65 73 73 22 3a 31 32 35  30 2c 22 73 79 6e 63 5f  |ess":1250,"sync_|
[INFO] facebook:   00000040  61 70 69 5f 76 65 72 73  69 6f 6e 22 3a 33 2c 22  |api_version":3,"|
[INFO] facebook:   00000050  65 6e 63 6f 64 69 6e 67  22 3a 22 4a 53 4f 4e 22  |encoding":"JSON"|
[INFO] facebook:   00000060  2c 22 6c 61 73 74 5f 73  65 71 5f 69 64 22 3a 2d  |,"last_seq_id":-|
[INFO] facebook:   00000070  31 2c 22 73 79 6e 63 5f  74 6f 6b 65 6e 22 3a 22  |1,"sync_token":"|
[INFO] facebook:   00000080  31 22 7d                                          |1"}|
[INFO] facebook:   00000090
[INFO] facebook: Writing 3 (flags: 0x2)
[INFO] facebook:   00000000  32 93 01 00 19 2f 6d 65  73 73 65 6e 67 65 72 5f  |2..../messenger_|
[INFO] facebook:   00000010  73 79 6e 63 5f 67 65 74  5f 64 69 66 66 73 00 04  |sync_get_diffs..|
[INFO] facebook:   00000020  78 9c 2d cb 4d 0a 02 31  0c 86 e1 bb 7c eb 0a 56  |x.-.M..1....|..V|
[INFO] facebook:   00000030  71 d3 23 b8 d0 85 07 08  99 36 68 b1 36 e3 24 0c  |q.#......6h.6.$.|
[INFO] facebook:   00000040  fe e0 dd 95 c1 f5 fb 3e  6f 14 69 ce 34 b0 e7 0b  |.......>o.i.4...|
[INFO] facebook:   00000050  59 7d 09 52 dc ec 02 6e  fc a0 25 19 f1 d0 84 5c  |Y}.R...n..%....\|
[INFO] facebook:   00000060  69 9c 34 8b d9 32 ac 03  ec d9 33 f1 58 69 96 c9  |i.4..2....3.Xi..|
[INFO] facebook:   00000070  aa 76 a4 6d 80 f4 ac a5  f6 33 12 f6 a7 e3 01 01  |.v.m.....3......|
[INFO] facebook:   00000080  8d cd c9 e4 4e b5 20 ad  e2 df b9 5e e5 27 10 f1  |....N......^.'..|
[INFO] facebook:   00000090  f9 02 e1 a7 2c ae                                 |....,.|
[INFO] facebook:   000000a0
[INFO] facebook: Reading 4 (flags: 0x2)
[INFO] facebook:   00000000  42 02 00 04                                       |B...|
[INFO] facebook:   00000010
[INFO] facebook: Reading 3 (flags: 0x2)
[INFO] facebook:   00000000  32 5d 00 05 2f 74 5f 6d  73 37 9c 78 da 62 a8 56  |2]../t_ms7.x.b.V|
[INFO] facebook:   00000010  2a 2c 4d 2d 4d 75 cd 2b  c9 2c a9 f4 4c 51 b2 32  |*,M-Mu.+.,..LQ.2|
[INFO] facebook:   00000020  34 30 30 30 34 35 36 36  33 31 36 b7 30 b2 d4 51  |40004566316.0..Q|
[INFO] facebook:   00000030  4a 2d 2a ca 2f 72 ce 4f  49 55 b2 52 72 0d 0a f2  |J-*./r.OIU.Rr...|
[INFO] facebook:   00000040  0f 8a 0f 0c 75 0d 75 8d  0f f5 73 71 0d 72 f3 f1  |....u.u...sq.r..|
[INFO] facebook:   00000050  0f 57 aa 05 00 00 00 ff  ff 03 00 e8 07 14 e0     |.W.............|
[INFO] facebook:   00000060
[INFO] facebook: Writing 4 (flags: 0x0)
[INFO] facebook:   00000000  40 02 37 9c                                       |@.7.|
[INFO] facebook:   00000010
[INFO] facebook: Reading message (topic: /t_ms)
[INFO] facebook:   00000000  00 7b 22 71 75 65 75 65  45 6e 74 69 74 79 49 64  |.{"queueEntityId|
[INFO] facebook:   00000010  22 3a 31 30 30 30 31 35  33 33 36 34 33 37 38 32  |":10001533643782|
[INFO] facebook:   00000020  39 2c 22 65 72 72 6f 72  43 6f 64 65 22 3a 22 45  |9,"errorCode":"E|
[INFO] facebook:   00000030  52 52 4f 52 5f 51 55 45  55 45 5f 55 4e 44 45 52  |RROR_QUEUE_UNDER|
[INFO] facebook:   00000040  46 4c 4f 57 22 7d                                 |FLOW"}|
[INFO] facebook:   00000050
[INFO] facebook: Parsing JSON: {"queueEntityId":100015336437829,"errorCode":"ERROR_QUEUE_UNDERFLOW"}
[ERROR] facebook: ERROR_QUEUE_UNDERFLOW
[INFO] facebook: Writing 14 (flags: 0x0)
[INFO] facebook:   00000000  e0 00                                             |..|
[INFO] facebook:   00000010

mrc0mmand added a commit to mrc0mmand/bitlbee-facebook that referenced this issue Jan 20, 2021
Recently FB started returning ERROR_QUEUE_UNDERFLOW upon login (again).
Given the similarity to bitlbee#180, the fix seemed quite straightforward, and
it indeed is - bumping the client version fixes the login issue.

Fixes: bitlbee#207
dequis pushed a commit that referenced this issue Jan 20, 2021
* Bump the FB_ORCA_AGENT version once again

Recently FB started returning ERROR_QUEUE_UNDERFLOW upon login (again).
Given the similarity to #180, the fix seemed quite straightforward, and
it indeed is - bumping the client version fixes the login issue.

Fixes: #207

* Bump Travis CI to Ubuntu Focal
@dequis dequis pinned this issue Jan 20, 2021
@kobboi
Copy link

kobboi commented Jan 28, 2021

Doesn't this warrant a new release for easy downloads and distro packages? Thanks!

@kobboi
Copy link

kobboi commented Jan 28, 2021

@dequis are you planning a similar fix on purple-facebook?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants