IP networking issues

My Weaviate instance is working from my local machine, but calls from Heroku return 401 Invalid username or password.
I do NOT see any Network, Security, or Allowed IP settings in my instance dashboard.
Can you tell me:

  • Is my instance restricted to certain IPs or cloud hosts?
  • How can I allow Heroku or any public cloud host to POST data?
    I got Heroku to POST data only by using Quotagaurd Static IP.

hi @spear !!

Welcome to our community :hugs:

Can you share the exact error message you get from the client?

Also, can you share the environment variables used on your Weaviate cluster?

This seems like a connectivity issue, so something around firewalls on Heroku itself.

Let me know if this helps!

THanks!

Here is the error message: requests.exceptions.ProxyError: “HTTPSConnectionPool(host=”‘xxxx.c0.us-east1.gcp.weaviate.cloud’“, port=443):” Max retries exceeded with url: /v1/.well-known/ready (Caused by ProxyError(‘Unable to connect to proxy’, OSError(‘Tunnel connection failed: 407 Proxy Authentication Required’)))

Here are the environment variables: WEAVIATE_URL=“[https://xxxx.c0.us-east1.gcp.weaviate.cloud]”
WEAVIATE_API_KEY=[REDACTED]

This set up with quotaguard static IP helped connect

hi @spear !!

Sorry, your post was flagged as spam :grimacing:

The best and fastest place for support for a cluster hosted in our cloud is opening a support ticket from Weaviate Cloud

This error seems caused by an authentication proxy in between your client and our server.

are you able to hit this cluster using curl, for example?

You may need to pass some proxy configuration at client initialization, like in:

huggingface_key = os.getenv("HUGGINGFACE_APIKEY")
headers = {
    "X-HuggingFace-Api-Key": huggingface_key,
}

client = weaviate.connect_to_weaviate_cloud(
    headers=headers,
    additional_config=weaviate.config.AdditionalConfig(
        proxies=weaviate.config.Proxies(
        http="http://your-http-proxy:port",
        https="http://your-https-proxy:port",
        grpc="http://your-grpc-proxy:port"
        )
    )
)

Let me know if this helps!

Thanks!