# Connections issues to Weaviate cloud from EC2

**URL:** <https://forum.weaviate.io/t/connections-issues-to-weaviate-cloud-from-ec2/21762>\
**Category:** Support\
**Tags:** python, technical\
**Created:** [August 4, 2025, 5:13am UTC](https://forum.weaviate.io/t/connections-issues-to-weaviate-cloud-from-ec2/21762 "2025-08-04T05:13:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![thinkmariale](https://avatars.discourse-cdn.com/v4/letter/t/f6c823/32.png) [@thinkmariale](https://forum.weaviate.io/u/thinkmariale)\
**Post date:** [August 4, 2025, 5:13am UTC](https://forum.weaviate.io/t/connections-issues-to-weaviate-cloud-from-ec2/21762/1 "2025-08-04T05:13:26Z")

</div>

Trying to connect to my sandbox from my ec2 instance and I keep getting error:  
`Error connecting to Weaviate: Could not connect to Weaviate:Connection to Weaviate failed. Details: .`

How to check what exactly is the error?  
I have verified the credentials and they all work locally.  
I have also checked my ec2 security rules and I do have inbound and outbound in port 443.

---

<div class="post-metadata">

**Author:** ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)\
**Post date:** [August 4, 2025, 10:25am UTC](https://forum.weaviate.io/t/connections-issues-to-weaviate-cloud-from-ec2/21762/2 "2025-08-04T10:25:12Z")

</div>

hi @thinkmariale !!

Welcome to our community 🤗

Tip: for any issues on a cluster hosted in our Cloud, you can support at [Weaviate Cloud](https://console.weaviate.cloud/support)

Will this error happen on a local machine? If not, this is probably something on the ec2 side.

Can you do a curl on that https endpoint?

Also, can you share the entire stack trace?

Thanks!

---

<div class="post-metadata">

**Author:** ![thinkmariale](https://avatars.discourse-cdn.com/v4/letter/t/f6c823/32.png) [@thinkmariale](https://forum.weaviate.io/u/thinkmariale)\
**Post date:** [August 6, 2025, 1:23am UTC](https://forum.weaviate.io/t/connections-issues-to-weaviate-cloud-from-ec2/21762/3 "2025-08-06T01:23:20Z")

</div>

Hi! yes I am able to curl.  
I was able to solve the issue by toggling on and off the CORS value in the Sandbox dashboard. and then it worked.

🙂

---

<div class="post-metadata">

**Author:** ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)\
**Post date:** [August 7, 2025, 9:50am UTC](https://forum.weaviate.io/t/connections-issues-to-weaviate-cloud-from-ec2/21762/4 "2025-08-07T09:50:51Z")

</div>

Awesome!

Thanks for sharing!

---

<div class="post-metadata">

**Author:** ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)\
**Post date:** [August 7, 2025, 9:53am UTC](https://forum.weaviate.io/t/connections-issues-to-weaviate-cloud-from-ec2/21762/5 "2025-08-07T09:53:12Z")

</div>

@thinkmariale One question, what client/language are you using?

This error message was not giving away the root cause. I would like to investigate so we can try making it more descriptive.

Thanks!
