CodingAleCR / http_interceptor

A lightweight, simple plugin that allows you to intercept request and response objects and modify them if desired.
MIT License
134 stars 67 forks source link

Retry policy may got NoSuchMethodError issue #43

Closed choi-seung-min closed 4 years ago

choi-seung-min commented 4 years ago

I was trying to get 401 from server(i got no token when i requested). But the application did not went i expected. It passed all exception handlers i used so i checked the log and it says "type NoSuchMethodError is not type of Exception". After debugging, i noticed that retry policy is causing this issue. So now i temporarily removed retry policy with that api request. I was using firebase authentication social for login. So i request firebase auth in retry.

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.87. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

choi-seung-min commented 4 years ago

Sorry, it was firebase problem. I checked all works fine with interceptor.

CodingAleCR commented 4 years ago

I'm glad to hear everything is working fine now. Let me know if there is anything I can help you with. Cheers!