Stability-AI / stability-sdk

SDK for interacting with stability.ai APIs (e.g. stable diffusion inference)

Home Page:https://platform.stability.ai/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StatusCode.INTERNAL errors meanings

ppfreitas opened this issue · comments

I have an application that calls the image generation endpoint and sometimes I get the following errors:

<_MultiThreadedRendezvous of RPC that terminated with: status = StatusCode.INTERNAL details = "Received RST_STREAM with error code 2" debug_error_string = "UNKNOWN:Error received from peer ipv4:{created_time:"2022-12-07T16:55:08.671659711+00:00", grpc_status:13,

or

<_MultiThreadedRendezvous of RPC that terminated with: status = StatusCode.UNKNOWN details = "Stream removed" debug_error_string = "UNKNOWN:Error received from peer ipv4:

but I could not find anywhere the meaning of those errors or if it is related to something wrong with my request.

Can someone help me understanding those errors?

I encounter the same problem when I run the Google Colab notebook.

commented

same here
grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with: status = StatusCode.UNKNOWN details = "Exception iterating responses: steps must be >= 5" debug_error_string = "UNKNOWN:Error received from peer ipv4:104.18.21.212:443 {grpc_message:"Exception iterating responses: steps must be >= 5", grpc_status:2, created_time:"2022-12-09T02:58:30.667605456+00:00"}"