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

[BUG] HandshakeException (HandshakeException: Connection terminated during handshake) #6

Closed
AlexandruFilipescu opened this issue Apr 4, 2021 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@AlexandruFilipescu
Copy link

AlexandruFilipescu commented Apr 4, 2021

Describe the bug
The app works fine for 1-2 minutes, but after running either my implementation or the one downloaded from the latest Github branch, it crashes...

Contry: Romania.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image
image
image

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • Pixel 2
  • OS: [e.g. iOS8.1]
  • Version [e.g. 22]

Package version

  • Version [e.g. 0.1.0]
    0.3.0-nullsafety.0
    And the latest version of the Github Branch....
    Stack Trace
    E/flutter (23676): [ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: HandshakeException: Connection terminated during handshake

Flutter Doctor Info
Add the flutter doctor command output

Additional context
Add any other context about the problem here.

@AlexandruFilipescu AlexandruFilipescu added the bug Something isn't working label Apr 4, 2021
@ElZombieIsra
Copy link
Member

Hi, I just checked this and I'm not able to reproduce the error. Are you sure the device you're using has internet access?

Check that you have the internet permissions added to your AndroidManifest.xml.

Also, try to check with a physical device, that's always a better option. Let me know what you find out

@ElZombieIsra
Copy link
Member

Also, I found this answer. Since you're in Romania, it can be related to that. Try to use a VPN and see if that helps

@AlexandruFilipescu
Copy link
Author

I am using your exact same example just with the auth.JSON changed... Would you have time to try a share screen or something?

@ElZombieIsra
Copy link
Member

Yeah, it must be a network-related issue. Try to use a VPN and let me know if you can connect with it

@AlexandruFilipescu
Copy link
Author

With VPN(I tried 2, Avira and Windscribe) I get no response and still the same crash
image

@AlexandruFilipescu
Copy link
Author

I will try 2 things, put in a try catch the part that gives the error, and put the app on a real device....

@AlexandruFilipescu
Copy link
Author

Update: On a real device works well with 0.2.0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants