Skip to content

Image Generation Connection Error #294

Description

@ZhimaoLin

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions