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

Connection problem #38

Closed
Adidi opened this issue Mar 3, 2021 · 9 comments
Closed

Connection problem #38

Adidi opened this issue Mar 3, 2021 · 9 comments
Assignees
Labels
status: done This issue is considered resolved. type: bug This issue reports a bug.

Comments

@Adidi
Copy link

Adidi commented Mar 3, 2021

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

@are
Copy link
Contributor

are commented Mar 3, 2021

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.

@are are self-assigned this Mar 3, 2021
@are are added status: in progress This issue is being worked on. type: bug This issue reports a bug. labels Mar 3, 2021
@Adidi
Copy link
Author

Adidi commented Mar 3, 2021

I want that too.
Can u tell me when the fix should be released ?
I think its pretty basic wanting a stable connection for 3 min :) dont u think ?

@are
Copy link
Contributor

are commented Mar 3, 2021

Fix will be released this week. It is a regression since connection was stable and tested before.

@Adidi
Copy link
Author

Adidi commented Mar 8, 2021

@are any updates ?

@Adidi
Copy link
Author

Adidi commented Mar 11, 2021

And I am asking again - is there any updates on this ? @are

@are
Copy link
Contributor

are commented Mar 11, 2021

Dart SDK v3.2.0 will be released today.

@are
Copy link
Contributor

are commented Mar 11, 2021

Fix for this has been released in 3.2.0.

@are are closed this as completed Mar 11, 2021
@are are added status: done This issue is considered resolved. and removed status: in progress This issue is being worked on. labels Mar 11, 2021
@Adidi
Copy link
Author

Adidi commented Mar 12, 2021

@are
Nope. It still happening - connection is not stable at all in iphone and in android.
Well - it was a fun ride but i think i will move on to some other solution because cleary dart pubnub is not stable enough to go production - I am sure one day it will be - good luck !

@are
Copy link
Contributor

are commented Mar 12, 2021

Please next time either report the issue with a reproducible example or logs attached. I also recommend contacting support.

@pubnub pubnub deleted a comment from Adidi Mar 13, 2021
@pubnub pubnub locked and limited conversation to collaborators Mar 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: done This issue is considered resolved. type: bug This issue reports a bug.
Projects
None yet
Development

No branches or pull requests

2 participants