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

Null value for $.viewer.message_threads.sync_sequence_id #306

Closed
paulguy opened this issue Mar 29, 2017 · 82 comments
Closed

Null value for $.viewer.message_threads.sync_sequence_id #306

paulguy opened this issue Mar 29, 2017 · 82 comments
Labels

Comments

@paulguy
Copy link

paulguy commented Mar 29, 2017

ADMIN EDIT

This is already fixed in the latest release. This ticket is only open for visibility

Get the latest version from here https://github.com/dequis/purple-facebook/releases


Original ticket description

Connection was lost earlier today. Reconnecting results in immediately disconnecting with Null value for $.viewer.message_threads.sync_sequence_id.

pidgin/libpurple 1.12.0
purple-facebook 0.9.0-c9b74a765767

@scrad
Copy link

scrad commented Mar 29, 2017

I'm getting this error as well

Windows 8.1
Pidgin 2.10.11 (libpurple 2.10.11)
purple-facebook Version: 20161121a157645c9b74a765767~117

@SarcasmCupcakes
Copy link

All morning. Even upgraded Pidgin and re-installed the two .dll files.

@drainx85
Copy link

Just happened to me as well when I logged in to my pc this evening. Wonder what facebook changed this time...

@jh-maeng
Copy link

jh-maeng commented Mar 29, 2017

I'm getting same error.

A few logs below:

(10:33:57) http: releasing a socket: 0E67C758
(10:33:57) http: Request 02396618 performed successfully.
(10:33:57) facebook: HTTP Response (02396618):
(10:33:57) facebook: Response Error: 200
(10:33:57) facebook: Response Data: {"viewer":{"message_threads":{"count":9,"mute_until":0,"nodes":[],"page_info":{"has_next_page":true},"sync_sequence_id":null,"unread_count":0,"unseen_count":0}}}
(10:33:57) facebook: Parsing JSON: {"viewer":{"message_threads":{"count":9,"mute_until":0,"nodes":[],"page_info":{"has_next_page":true},"sync_sequence_id":null,"unread_count":0,"unseen_count":0}}}

(10:33:57) connection: Connection error on 0E49FD90 (reason: 0 description: Null value for $.viewer.message_threads.sync_sequence_id)
(10:33:57) http: destroying socket: 0E67C758
(10:33:57) account: Disconnecting account xxxx (02356C00)
(10:33:57) connection: Disconnecting connection 0E49FD90
(10:33:57) facebook: Writing 14 (flags: 0x0)
(10:33:57) facebook: 00000000 e0 00 |..|
(10:33:57) facebook: 00000010

@bcd001
Copy link

bcd001 commented Mar 29, 2017

This isn't a random glitch, it looks like facebook has decided to stop supporting old versions of the messenger app. I guess purple-facebook was based on the old protocol. Seems like we're out of luck until things are ported over.

@advcomp2019
Copy link

The weird thing is my messenger is still working just fine. I am kinda wondering one thing. Does any of you use mobile device and did it get an update? Just trying to figure this out might not be fun maybe.

@aeridus
Copy link

aeridus commented Mar 29, 2017

Same here, and I don't use the mobile app. I updated Pidgin and still see the same error.

@advcomp2019
Copy link

advcomp2019 commented Mar 29, 2017

That rules that out maybe.

@Steap
Copy link

Steap commented Mar 29, 2017

I can confirm this on Debian GNU/Linux, with Pidgin/libpurple 2.12 and purple-facebook a157645 .

This similar bug solved itself, so, wait & see.

@auscompgeek
Copy link

I suspect this has something to do with Facebook dropping support for ancient versions of Messenger: https://messengerblog.com/general-messenger/update-on-support-for-older-versions-of-messenger-and-facebook-apps/

@ghost
Copy link

ghost commented Mar 29, 2017

Just came to say that I have the same problem

@alexolog
Copy link

Getting the same error here.
And people are reporting it on bitllbee

@ionl
Copy link

ionl commented Mar 29, 2017

Same problem for me
$ lsb_release -d
Description: Ubuntu 16.10
$ pidgin -v
Pidgin 2.10.12 (libpurple 2.10.12)
$ uname -a
Linux pc 4.8.0-42-generic #45-Ubuntu SMP Wed Mar 8 20:06:06 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

@paulguy
Copy link
Author

paulguy commented Mar 29, 2017

Just randomly got a few messages then something like "couldn't mark messages as received" or something along those lines then the same disconnection error again.

I had been noticing a lot of double or triple messages in the past month or so, so maybe there had been some odd breakages that had been going unnoticed for a while.

This might indicate that it won't be the huge tear up and rewrite that people seem to be worrying about in that the protocol might not have changed all that much, just in a few places.

@jskladan
Copy link

Having the same issue, Pidgin 2.11.0-1.fc24 (libpurple 2.11.0), purple-facebook-0.9.0-c9b74a765767 (compiled from git)

@anecznik
Copy link

I have the same problem

DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"
Pidgin 2.10.12 (libpurple 2.10.12)

but my sister have windows 8.1 and Pidgin 2.11.0 (libpurple 2.11.0) and it's work.

@dequis
Copy link
Owner

dequis commented Mar 29, 2017

Cross-posting from bitlbee/bitlbee-facebook#138 (comment)

well, fuck

@mfaerevaag
Copy link

+1

Arch Linux 4.10.6-1-ARCH x86_64
Pidgin 2.12.0 (libpurple 2.12.0)
purple-facebook 0.9.0-1

@mattlog
Copy link

mattlog commented Mar 29, 2017

Same here

Windows 7 64bit
Pidgin 2.12.0

@dequis
Copy link
Owner

dequis commented Mar 29, 2017

@freddysdad
Copy link

fix allows connection/login but when sending a message says "failed to send message"

@kalab-oto
Copy link

kalab-oto commented Mar 29, 2017

for me also fix login, but after successful login its instantly disconected (can see contacts for second):
Arguments are invalid

I had two phase verification (SMS), but I disable it for testing it. Also I approve device login on FB webpage.

@freddysdad
Copy link

I fixed arguments are invalid by disabling "mark messages as read" , "show self messages" , "show unread messages" , "open new group chats with incoming messages" - although I can't be sure which made it work

@Metalhead33
Copy link

In addition to disconnecting because failed to send message, it also fails to reconnect saying Arguments are invalid, and when I receive a message, it's Failed to mark read

@freddysdad
Copy link

receiving messages works OK with "mark messages as read" disabled

@darkmanek
Copy link

+1
Manjaro 4.10.6-1-ck-pentm i686
Pidgin 2.12.0 (libpurple 2.12.0)
purple-facebook 0.9.0-1

purple-debug.txt

@jcengelsen
Copy link

Same problem :

$ lsb_release -d
Description: Linux Mint 18 Sarah
$ pidgin -v
Pidgin 2.10.12 (libpurple 2.10.12)
$ uname -a
Linux ThinkPad-T530 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

@LunaSquee
Copy link

Getting this as well
Arch Linux
Pidgin 2.12.0 (libpurple 2.12.0)
Linux EvertLaptop 4.10.4-1-ARCH #1 SMP PREEMPT Sat Mar 18 19:39:18 CET 2017 x86_64 GNU/Linux

@marsjaninzmarsa
Copy link

More info:
bitlbee/bitlbee-facebook#138 (comment)

@ghost
Copy link

ghost commented Mar 30, 2017

While installing release with dist tarball for linux on Linux Mint i got an error:

configure: error: Package requirements (purple <  3) were not met:

No package 'purple' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

And i can't find such package. Can someone help?

@patelkunala
Copy link

Works perfect! Would it work if I upgraded to Pidgin version 2.12 or latest?

Win7 - 64 bit
Pidgin version - 2.10.12

@advcomp2019
Copy link

advcomp2019 commented Mar 30, 2017

@dezooo , go check in Help -> Plugin information and look for Facebook. Make sure you are using the newest version. If you don't know, you can paste it here and wait for someone to tell you.

@mtyrio , sounds like there is a path problem somewhere. I am not sure since it has been a while since I have compiled this on Linux.

@patelkunala , you can upgrade if you want, but it is best to have the newest version. It is really up to you.

@boris-petrov
Copy link

Same with me - I get the same error with version 0.9.3-c9b74a765767 (seen in the Help -> Plugin information page). Help, I can't live without this plugin!

@dezooo
Copy link

dezooo commented Mar 30, 2017

Facebook
Author: (null)
Version: 0.9.3-c9b74a765767
Website: https://github.com/dequis/purple-facebook
ID String: prpl-facebook
Loadable: Yes
Loaded: Yes

@abpross
Copy link

abpross commented Mar 30, 2017

works on Xubuntu 16.04
Pidgin 2.10.12 (libpurple 2.10.12)

@martlin2cz
Copy link

Thanks!! Worked for me as well.

$ uname -a
Linux martlins 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux
$ pidgin -v
Pidgin 2.11.0 (libpurple 2.11.0)

@dezooo
Copy link

dezooo commented Mar 30, 2017

(14:30:50) facebook: HTTP Response (0x7f7725c1ab00):
(14:30:50) facebook:   Response Error: 200
(14:30:50) facebook:   Response Data: {"viewer":{"message_threads":{"count":378,"mute_until":0,"nodes":[],"page_info":{"has_next_page":true},"sync_sequence_id":null,"unread_count":11,"unseen_count":0}}}
(14:30:50) facebook: Parsing JSON: {"viewer":{"message_threads":{"count":378,"mute_until":0,"nodes":[],"page_info":{"has_next_page":true},"sync_sequence_id":null,"unread_count":11,"unseen_count":0}}}
(14:30:50) connection: Connection error on 0x7f7725125e90 (reason: 0 description: Null value for $.viewer.message_threads.sync_sequence_id)

@jnsatterfield
Copy link

jnsatterfield commented Mar 30, 2017

I can confirm the "Null value for $.viewer.message_threads.sync_sequence_id" issue in Xubuntu with Pidgin 2.10.12.

uname -a
Linux himinbjorn 4.8.0-42-generic #45-Ubuntu SMP Wed Mar 8 20:06:06 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

pidgin -v
Pidgin 2.10.12 (libpurple 2.10.12)

@dequis
Copy link
Owner

dequis commented Mar 30, 2017

Pidgin versions (or linux kernel versions) do not affect this issue so I don't need to know those.

Instead, please check the version of this plugin in buddy list -> help menu -> plugin information.

Also, there was another release since my last comment, 0.9.3, appears to fix some more issues: https://github.com/dequis/purple-facebook/releases

Depending on the way it was built, that version might appear as 20170330[...]

@jnsatterfield
Copy link

Facebook
Author: (null)
Version: 0.9.0-c9b74a765767
Website: https://github.com/dequis/purple-facebook
ID String: prpl-facebook
Loadable: Yes
Loaded: Yes

I'll go grab 0.9.3 and report the differential.

@jnsatterfield
Copy link

👍
After cloning version 0.9.3 and building/installing, the Null value for $.viewer.message_threads.sync_sequence_id issue seems to be resolved.

@dezooo
Copy link

dezooo commented Mar 30, 2017

SOLVED!
make clean && make
is not enough! something is not rebuilt!
If I cloned a fresh copy and built it, it worked!

Sorry for error reports.

@marmz
Copy link

marmz commented Mar 30, 2017

+1
Same error message, from today...
Using pidgin + libpurple-dev from OFFICIAL Debian Jessie STABLE repositories.

I hope i don't have to compile sources to get it back working .. ;)

@rfc1036
Copy link

rfc1036 commented Mar 30, 2017

Even after a make distclean, I had to run again update.sh to build a working pluing. HTH.

@paulguy
Copy link
Author

paulguy commented Mar 30, 2017

I was able to get it to rebuild just fine with git reset --hard then running ./autogen.sh.

@baronvertigovongrahamthesecondofsealand

Thank you very much, dequis. Works like a charm on Ubuntu Pidgin.

@karbon15
Copy link

Thanks indeed, dequis! Works as well with the spectrum2 transport.

@mandree
Copy link

mandree commented Mar 30, 2017

For me, on a Git checkout, it also took ./update.sh and autogen.sh before I could build a working version. Just "git pull" isn't sufficient.

@grzegorz-janoszka
Copy link

When can we have updated windows builds?

@auscompgeek
Copy link

auscompgeek commented Apr 7, 2017

@grzegorz-janoszka The Windows build is automatically built and updated on every commit by Travis CI.

@grzegorz-janoszka
Copy link

Ah, indeed. I was mistaken by exactly the same file length (and no version number). Indeed the windows build has been fixed.

@TheFoggyRoad
Copy link

i tried the download from: https://github.com/dequis/purple-facebook/wiki/Installing-on-Windows
As well as downloading the new package from chocolatey: cup purple-facebook --version=0.9.3.126

I am still getting the "Null value for $.viewer.message_threads.sync_sequence_id" error. I am on the newest version of Pidgin. What should I do?

@dequis
Copy link
Owner

dequis commented Apr 10, 2017

@TheFoggyRoad please open a new issue

Also, verify the version of the plugin in buddy list -> help menu -> plugin information. Depending on the way it was built, that version might appear as 20170330[...]

Repository owner locked and limited conversation to collaborators Apr 10, 2017
@dequis
Copy link
Owner

dequis commented Apr 10, 2017

I'm locking this thread since this is resolved.

If anyone has any issues please open a new issue instead.

@dequis dequis closed this as completed Jun 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests