http_interceptor icon indicating copy to clipboard operation
http_interceptor copied to clipboard

HandshakeException

Open marcodecarolisidt opened this issue 3 years ago • 8 comments

Describe the bug We keep having random exceptions:

[ERROR] 15:27:26 Failed to fetch calling rates, msg: HandshakeException: Handshake error in client (OS Error:
	WRONG_VERSION_NUMBER(tls_record.cc:242))

And it is impossible to know how to fix it

Please complete the following information):

  • Flutter version: 3.3.6
  • IDE [VS Code]
  • http_interceptor Version [1.0.2]

marcodecarolisidt avatar Nov 24 '22 16:11 marcodecarolisidt

Taking a look 👀 , could you provide a repository that reproduces this issue?

CodingAleCR avatar Nov 28 '22 15:11 CodingAleCR

Sorry, I can't it's a private repo.. So we fire some asynchronous API requests when the app starts. And sometimes, some of them fail randomly, and the fetch doesn’t work. I tried to override shouldAttemptRetryOnException to return true, but it doesn't solve the issue

marcodecarolisidt avatar Nov 29 '22 07:11 marcodecarolisidt

Will a package upgrade to the beta version fix the issue? if yes when will the beta version become stable? thank you 🙏

marcodecarolisidt avatar Nov 30 '22 15:11 marcodecarolisidt

Sorry, I can't it's a private repo.. So we fire some asynchronous API requests when the app starts. And sometimes, some of them fail randomly, and the fetch doesn’t work. I tried to override shouldAttemptRetryOnException to return true, but it doesn't solve the issue

It doesn't have to be the exact repository you are working but maybe an example that reproduces the issues?

Will a package upgrade to the beta version fix the issue? if yes when will the beta version become stable? thank you 🙏

I believe that it won't do any difference to change to the beta version. 2.0.0 is a complete rewrite of the library to support multiple request types and scenarios but it also takes a couple of ideas from 1.x so I think you won't see any differences. You could try to see if that solves the issue but as to when this will become stable I can't give you an answer. My day job requires a lot of me so I can't dedicate as much time to Open Source as I'd like. :[

CodingAleCR avatar Dec 11 '22 02:12 CodingAleCR

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 18 '23 12:03 stale[bot]

Any update on this issue @CodingAleCR?

Aakashcs avatar May 05 '23 11:05 Aakashcs

Not from the library, but just curious, have any tried the solutions proposed in this stackoverflow thread.

CodingAleCR avatar Jul 08 '23 05:07 CodingAleCR

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 17 '23 00:09 stale[bot]