EionRobb / skype4pidgin

Skype Plugin for Pidgin, libpurple and more
https://github.com/EionRobb/skype4pidgin/tree/master/skypeweb#skypeweb-plugin-for-pidgin
624 stars 88 forks source link

"Failed getting Registration Token" leads to assertion failure in BitlBee #619

Closed robert-scheck closed 1 year ago

robert-scheck commented 6 years ago

With 2290013 I'm seeing the following warning in BitlBee:

[00:09:41] -!- (process:8880): Json-CRITICAL **: json_node_get_object: assertion `node != NULL' failed
[00:09:41] -!- ** (process:8880): CRITICAL **: skypeweb_string_get_chunk: assertion `haystack && start' failed
[00:09:41] <@root> skypeweb - Error: Failed getting Registration Token
[00:09:41] <@root> skypeweb - Signing off..

Maybe there's a way for the future to avoid the assertion failure?

EionRobb commented 6 years ago

https://github.com/EionRobb/skype4pidgin/tree/master/skypeweb#issues

robert-scheck commented 6 years ago

@EionRobb, the "Failed getting Registration Token" shows up here about once a day and a reconnect works normally. I just would like to get rid of the assertion failures using this issue (do they really need to be thrown?).

EionRobb commented 6 years ago

Switching to the alternate auth will skip the Registration Token method entirely. The assert is necessary to assert that the login succeeded

dequis commented 6 years ago

If you're using systemd socket units you'll want something like this https://github.com/bitlbee/bitlbee/commit/bdf9214217579534c9ea6e906ddecaba136e2916

If using (x)inetd i think you can't do much about it

sdfg2 commented 5 years ago

@EionRobb how would I enable the alt-login method for spectrum?

Thaodan commented 1 year ago

Just tested this, this issue no longer happens.

Thaodan commented 1 year ago

@EionRobb how would I enable the alt-login method for spectrum?

@sdfg2: Did you try Spectrum2/Setting libpurple plugins configurations ?