-
Notifications
You must be signed in to change notification settings - Fork 15
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
Connection problem #38
Comments
We actually have a bug fix in the release process for the error that you experiencing. Apart from that, I'm sorry that you feel this way. We want to make sure that the Dart SDK is the best it can be. |
I want that too. |
Fix will be released this week. It is a regression since connection was stable and tested before. |
@are any updates ? |
And I am asking again - is there any updates on this ? @are |
Dart SDK v3.2.0 will be released today. |
Fix for this has been released in |
@are |
Please next time either report the issue with a reproducible example or logs attached. I also recommend contacting support. |
I have tried several approaches - the connection to pubnub in some point (even if the app is active and there is internet connection)
is disconnected and really really unstable - i cant get 3 devices "chatting" for more then 2 min without some connection drop:
and the worst thing is i dont have any indication from the sdk that its happening so i cant do anything to restore it.
This is a really big problem if u design chat system and really unreliable solution for me
this is the log:
I/flutter (10579): [2021-03-03 17:27:03.522314] (info) root.pubnub.networking.request_handler: (50) Resource released...
I/flutter (10579): [2021-03-03 17:27:03.526140] (warning) root.pubnub.subscribe.subscribe_loop: An exception has occured while running a subscribe fiber (retry #1).
I/flutter (10579): [2021-03-03 17:27:03.529552] (warning) root.pubnub.subscribe.subscribe_loop: No diagnostics found.
E/flutter (10579): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: PubNubException: request timed out
E/flutter (10579): #0 new PubNubException
package:pubnub/…/core/exceptions.dart:9
E/flutter (10579): #1 new PubNubRequestTimeoutException
package:pubnub/…/net/exceptions.dart:8
E/flutter (10579): #2 RequestHandler.response.
package:pubnub/…/request_handler/io.dart:101
E/flutter (10579): #3 _rootRun (dart:async/zone.dart:1182:47)
E/flutter (10579): #4 _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (10579): #5 _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (10579): #6 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
I/flutter (10579): [2021-03-03 17:22:03.255180] (info) root.pubnub.networking.request_handler: (50) Starting request to "https://ps.pndsn.com/v2/subscribe/sub-c-923609da-6eac-11eb-9994-e2667f94577d/,/0?pnsdk=PubNub-Dart%2F3.1.0&tt=16147848536165710&tr=12&channel-group=chats-TkbjkY9uagMShBb9XNE9Yr5ZFTe2&uuid=TkbjkY9uagMShBb9XNE9Yr5ZFTe2"...
E/flutter (10579): #7 _rootRun (dart:async/zone.dart:1190:13)
E/flutter (10579): #8 _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (10579): #9 _CustomZone.bindCallback. (dart:async/zone.dart:1021:23)
E/flutter (10579): #10 Timer._createTimer. (dart:async-patch/timer_patch.dart:18:15)
E/flutter (10579): #11 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:397:19)
E/flutter (10579): #12 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:428:5)
E/flutter (10579): #13 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
2
Thank you very much but I am afraid dart sdk is still not mature enough
The text was updated successfully, but these errors were encountered: