# How to specify proxy url for hearbeat cloud.id

**URL:** <https://discuss.elastic.co/t/how-to-specify-proxy-url-for-hearbeat-cloud-id/251652>\
**Category:** Elastic Observability\
**Created:** [October 10, 2020, 6:16pm UTC](https://discuss.elastic.co/t/how-to-specify-proxy-url-for-hearbeat-cloud-id/251652 "2020-10-10T18:16:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Porton](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/porton/32/47961_2.png) [@Porton](https://discuss.elastic.co/u/Porton)\
**Post date:** [October 10, 2020, 6:16pm UTC](https://discuss.elastic.co/t/how-to-specify-proxy-url-for-hearbeat-cloud-id/251652/1 "2020-10-10T18:16:18Z")

</div>

Hi,

How can proxy url be set so heartbeat can resolve cloud.id ?

Heartbeat is currently sitting behind corporate proxy, and unable to connect to elasticsearch cloud.

```
2020-10-11T02:14:06.182+0800	INFO	pipeline/output.go:93	Attempting to reconnect to backoff(elasticsearch(https://xxx.elastic-cloud.com:443)) with 5 reconnect attempt(s)
2020-10-11T02:14:06.182+0800	INFO	[publisher]	pipeline/retry.go:166	retryer: send wait signal to consumer
2020-10-11T02:14:06.182+0800	INFO	[publisher]	pipeline/retry.go:168 done
2020-10-11T02:14:18.187+0800	WARN	transport/tcp.go:53	DNS lookup failure "xxx.elastic-cloud.com": lookup xxx.elastic-cloud.com: no such host
```

---

<div class="post-metadata">

**Author:** ![Porton](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/porton/32/47961_2.png) [@Porton](https://discuss.elastic.co/u/Porton)\
**Post date:** [October 10, 2020, 6:42pm UTC](https://discuss.elastic.co/t/how-to-specify-proxy-url-for-hearbeat-cloud-id/251652/2 "2020-10-10T18:42:30Z")

</div>

Setting environment variable HTTPS\_PROXY works for me!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 4, 2022, 8:15am UTC](https://discuss.elastic.co/t/how-to-specify-proxy-url-for-hearbeat-cloud-id/251652/3 "2022-11-04T08:15:07Z")

</div>


