# Disable to connect to elastic cloud,using httpbeat

**URL:** <https://discuss.elastic.co/t/disable-to-connect-to-elastic-cloud-using-httpbeat/148996>\
**Category:** Elastic Cloud Enterprise (ECE)\
**Created:** [September 18, 2018, 2:37pm UTC](https://discuss.elastic.co/t/disable-to-connect-to-elastic-cloud-using-httpbeat/148996 "2018-09-18T14:37:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![IBenabd](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ibenabd/32/35609_2.png) [@IBenabd](https://discuss.elastic.co/u/IBenabd)\
**Post date:** [September 18, 2018, 2:37pm UTC](https://discuss.elastic.co/t/disable-to-connect-to-elastic-cloud-using-httpbeat/148996/1 "2018-09-18T14:37:54Z")

</div>

I'm struggling to connect my httpbeat to elasticsearch hosted into elastic cloud  
thus, this is my config:  
**httpbeat.yml**

> #----------------------------- httpbeat output --------------------------------  
> output.elasticsearch:  
> hosts: ["[980d91d648b24fb6b53668e2eb3e7342.eu-central-1.aws.cloud.es.io:9243](http://980d91d648b24fb6b53668e2eb3e7342.eu-central-1.aws.cloud.es.io:9243)"]  
> index: "httpbeat-%{+yyyy.MM}"

**httpbeat.full.yml**

> processors:  
> #- add\_cloud\_metadata:  
> -add\_cloud\_metadata:  
> cloud.auth:"elastic:qp6BC0K7UrTsH6n"  
> cloud.id:"Ikbel\_abd:ZXUtY2VudHJhbC0xLmF3cy5jbG91ZC5lcy5pbyQ5ODBkOTF"  
> output.elasticsearch:  
> hosts:["[https://980d91d648b24fb6b53668e2eb3e7342.eu-central-1.aws.cloud.es.io:9243/](https://980d91d648b24fb6b53668e2eb3e7342.eu-central-1.aws.cloud.es.io:9243/)"]

I got this error while execution httpbeat 😭

```
2018/09/18 14:30:46.515900 metrics.go:39: INFO Non-zero metrics in the last 30s: libbeat.publisher.messages_in_worker_queues=2 libbeat.publisher.published_events=2
2018/09/18 14:30:46.651053 output.go:109: DBG output worker: publish 2 events
2018/09/18 14:30:46.651053 client.go:642: DBG ES Ping(url=https://980d91d648b24fb6b53668e2eb3e7342.eu-central-1.aws.cloud.es.io:9243/, timeout=1m30s)
2018/09/18 14:30:47.142627 client.go:647: DBG Ping request failed with: 401 Unauthorized
2018/09/18 14:30:47.142627 single.go:140: ERR Connecting error publishing events (retrying): 401 Unauthorized
2018/09/18 14:30:47.143608 single.go:156: DBG send fail
2018/09/18 14:30:48.143755 client.go:642: DBG ES Ping(url=https://980d91d648b24fb6b53668e2eb3e7342.eu-central-1.aws.cloud.es.io:9243/, timeout=1m30s)
2018/09/18 14:30:48.211812 client.go:647: DBG Ping request failed with: 401 Unauthorized
2018/09/18 14:30:48.211812 single.go:140: ERR Connecting error publishing events (retrying): 401 Unauthorized
2018/09/18 14:30:48.211812 single.go:156: DBG send fail
2018/09/18 14:30:50.212087 client.go:642: DBG ES Ping(url=https://980d91d648b24fb6b53668e2eb3e7342.eu-central-1.aws.cloud.es.io:9243/, timeout=1m30s)
2018/09/18 14:30:50.280145 client.go:647: DBG Ping request failed with: 401 Unauthorized
2018/09/18 14:30:50.280145 single.go:140: ERR Connecting error publishing events (retrying): 401 Unauthorized
2018/09/18 14:30:50.281147 single.go:156: DBG send fail
2018/09/18 14:30:51.264254 service.go:33: DBG Received sigterm/sigint, stopping
2018/09/18 14:30:51.264254 service.go:39: DBG Received svc stop/shutdown request
2018/09/18 14:30:51.264254 metrics.go:51: INFO Total non-zero values: libbeat.es.publish.read_bytes=1782 libbeat.es.publish.write_bytes=519 libbeat.publisher.messages_in_worker_queues=2 libbeat.publisher.published_events=2
2018/09/18 14:30:51.265257 metrics.go:52: INFO Uptime: 34.8002288s
2018/09/18 14:30:51.265257 beat.go:237: INFO httpbeat stopped.

```

---

<div class="post-metadata">

**Author:** ![Alex\_Piggott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_piggott/32/11053_2.png) [@Alex\_Piggott](https://discuss.elastic.co/u/Alex_Piggott)\
**Post date:** [September 24, 2018, 9:01pm UTC](https://discuss.elastic.co/t/disable-to-connect-to-elastic-cloud-using-httpbeat/148996/2 "2018-09-24T21:01:12Z")

</div>

Hi

Sorry for the delay in responding to this ... we now have a dedicated support portal for our Cloud service ([https://discuss.elastic.co/t/now-live-new-elastic-cloud-standard-support/84161](https://discuss.elastic.co/t/now-live-new-elastic-cloud-standard-support/84161))

(it looks like the password is wrong from the errors, ie `401`, did you confirm that you can login with that user/password from the browser?)

Alex

---

<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:** [October 8, 2018, 9:11pm UTC](https://discuss.elastic.co/t/disable-to-connect-to-elastic-cloud-using-httpbeat/148996/3 "2018-10-08T21:11:15Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
