bloomrpc icon indicating copy to clipboard operation
bloomrpc copied to clipboard

BloomRPC hangs when it gets a HTTP 401 Unauthorized

Open EraYaN opened this issue 3 years ago • 5 comments

This occurs when the server responds with a HTTP 401 to a request (services that expect some form of Authentication token for example)

EraYaN avatar Oct 08 '20 11:10 EraYaN

can you provide a bit more detail? you can use metadata to send authorization header to the server side? I'm not sure how it hangs ?

jackielii avatar Nov 11 '20 13:11 jackielii

Yes, when you supply the Authorization header with metadata it works fine, but when you do not the request never finishes (in the UI that is, in the service logs you see it quickly returns a 401).

The the spinner just keeps going even though it already received a response, just not a gRPC one but an empty one.

EraYaN avatar Nov 13 '20 13:11 EraYaN

I see this same issue with 403 on version 1.5.2. What should happen is:

  1. BloomRPC makes a call
  2. Server responds with 403
  3. BloomRPC shows the call failed

Instead this happens:

  1. BloomRPC makes a call
  2. Server responds with 403
  3. BloomRPC is indefinitely waiting for the call to finish

mehmetakbulut avatar Jan 19 '21 04:01 mehmetakbulut

I see the same issue with the 403 status code on version 1.4.1.

sbandadd avatar Apr 28 '21 17:04 sbandadd

1.5.3 same issue with code 401

heggi avatar Jun 03 '21 18:06 heggi