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 with onDeactivate #294

Open
ikbalkaya opened this issue Jan 14, 2022 · 3 comments
Open

Error with onDeactivate #294

ikbalkaya opened this issue Jan 14, 2022 · 3 comments
Labels
blocked-by-ably We can't proceed until something under our direct control, in a different codebase, happens. bug Something isn't working. It's clear that this does need to be fixed.

Comments

@ikbalkaya
Copy link
Contributor

ikbalkaya commented Jan 14, 2022

Customers reporting an error about not receiving realtime messages through push. This happened after we had some issues with delivering push notifications in realtime platform.

More info provided by customers

{code}

Exception: [AblyOfficialPlugin] Push Notification onDeactivate due to ErrorInfo message=Token deviceId does not match requested device operation code=null statusCode=401 href=null

["#0 LoggerUtil.error (package:module_logger/logger.dart:27)","#1 LoggerUtil.e (package:module_logger/logger.dart:23)","#2 AblyOfficialPlugin._setUpEventHandlers._logIfErrorExist (package:digital_banking_app/common/ably/plugin/ably_official_plugin.dart:475)","#3 AblyOfficialPlugin._setUpEventHandlers. (package:digital_banking_app/common/ably/plugin/ably_official_plugin.dart:486)","#4 AblyOfficialPlugin._setUpEventHandlers. (package:digital_banking_app/common/ably/plugin/ably_official_plugin.dart:485)","#5 _rootRunUnary (dart:async/zone.dart:1362)","#6 _CustomZone.runUnary (dart:async/zone.dart:1265)","#7 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1170)","#8 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341)","#9 _DelayedData.perform (dart:async/stream_impl.dart:591)","#10 _StreamImplEvents.handleNext (dart:async/stream_impl.dart:706)","#11 _PendingEvents.schedule. (dart:async/stream_impl.dart:663)","#12 _rootRun (dart:async/zone.dart:1346)","#13 _CustomZone.run (dart:async/zone.dart:1258)","#14 _CustomZone.runGuarded (dart:async/zone.dart:1162)","#15 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1202)","#16 _rootRun (dart:async/zone.dart:1354)","#17 _CustomZone.run (dart:async/zone.dart:1258)","#18 _CustomZone.runGuarded (dart:async/zone.dart:1162)","#19 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1202)","#20 _microtaskLoop (dart:async/schedule_microtask.dart:40)","#21 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)",""]
{code}

@ikbalkaya ikbalkaya self-assigned this Jan 14, 2022
@ikbalkaya ikbalkaya added the bug Something isn't working. It's clear that this does need to be fixed. label Jan 14, 2022
@ikbalkaya
Copy link
Contributor Author

Check line 269 PushActivationState on ably-cocoa where this error was created.

@ikbalkaya
Copy link
Contributor Author

This is related to ably/ably-cocoa#1263

@ikurek ikurek assigned ikurek and unassigned ikbalkaya Feb 4, 2022
@ikurek
Copy link
Contributor

ikurek commented May 18, 2022

This seems to be blocked until ably/specification#25 gets resolved

@sync-by-unito sync-by-unito bot changed the title Error with onDeactivate Error with onDeactivate Oct 5, 2022
@QuintinWillison QuintinWillison added blocked-by-ably We can't proceed until something under our direct control, in a different codebase, happens. and removed blocked-by-ably-cocoa labels Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked-by-ably We can't proceed until something under our direct control, in a different codebase, happens. bug Something isn't working. It's clear that this does need to be fixed.
Development

No branches or pull requests

3 participants