Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Generation Connection Error #294

Open
ZhimaoLin opened this issue Aug 20, 2024 · 0 comments
Open

Image Generation Connection Error #294

ZhimaoLin opened this issue Aug 20, 2024 · 0 comments

Comments

@ZhimaoLin
Copy link

Hi,

We are using stability-sdk version 0.6.1 to generate images using stable-diffusion-xl-1024-v1-0 model. We got the following connection error. Could you please provide any guidance on how to fix this issue? Thank you!

<_MultiThreadedRendezvous of RPC that terminated with:
        status = StatusCode.UNAVAILABLE
        details = "connection error: desc = "transport: Error while dialing: dial tcp: lookup stable-diffusion-xl-1024-v1-0.tenant-stabilityai-corweave.svc.tenant.chi.local on 10.135.192.10:53: no such host""
        debug_error_string = "UNKNOWN:Error received from peer ipv4:172.64.153.32:443 {created_time:"2024-08-20T17:53:50.365742-04:00", grpc_status:14, grpc_message:"connection error: desc = \"transport: Error while dialing: dial tcp: lookup stable-diffusion-xl-1024-v1-0.tenant-stabilityai-corweave.svc.tenant.chi.local on 10.135.192.10:53: no such host\""}"
>

Reproduction Step

  1. Use Python 3.11.6 and stability-sdk version: 0.6.1
  2. Generate an image by calling the client.StabilityInference().generate() with model stable-diffusion-xl-1024-v1-0
  3. Receive the error message above
  • Sometimes, it will succeed, but in most cases, it will fail with a connection error.

Environment

  • OS: MacOS Sonoma Version 14.6.1
  • Python: 3.11.6
  • stability-sdk version: 0.6.1

Potential Root Cause

I suspect that there is a bug in the SDK or the hostname stable-diffusion-xl-1024-v1-0.tenant-stabilityai-corweave.svc.tenant.chi.local

Please let me know if you need more information regarding this issue.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant