CodingAleCR / http_interceptor

A lightweight, simple plugin that allows you to intercept request and response objects and modify them if desired.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HandshakeException

marcodecarolisidt opened this issue · 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]

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

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

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

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. :[

commented

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.

commented

Any update on this issue @CodingAleCR?

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

commented

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.