# Failed to connect to backoff - Forbidden

**URL:** <https://discuss.elastic.co/t/failed-to-connect-to-backoff-forbidden/197704>\
**Category:** Beats\
**Tags:** winlogbeat\
**Created:** [September 2, 2019, 2:20pm UTC](https://discuss.elastic.co/t/failed-to-connect-to-backoff-forbidden/197704 "2019-09-02T14:20:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pmatula](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pmatula/32/51731_2.png) [@pmatula](https://discuss.elastic.co/u/pmatula)\
**Post date:** [September 2, 2019, 2:20pm UTC](https://discuss.elastic.co/t/failed-to-connect-to-backoff-forbidden/197704/1 "2019-09-02T14:20:52Z")

</div>

Hi,  
I installed winlogbeat and used an existing and working winlogbeat.yml - but on this client, I get the error:

`Failed to connect to backoff(elasticsearch(https://elasticserver:9200)): Get https://elasticserver:9200: Forbidden`

I ran the test output command:

```auto
elasticsearch: https://elasticserver:9200...
  parse url... OK
  connection...
    parse host... OK
    dns lookup... OK
    addresses: 10.10.10.100
    dial up... OK
  TLS...
    security: server's certificate chain verification is enabled
    handshake... OK
    TLS version: TLSv1.2
    dial up... OK
  talk to server... ERROR Get https://elasticserver:9200: Forbidden

```

My yml file (this file worked on another machines):

```auto
winlogbeat.event_logs:
  - name: Application
    ignore_older: 72h
    level: critical, error, warning

  - name: System
    ignore_older: 72h
    level: critical, error, warning

setup.template.settings:
  index.number_of_shards: 1

setup.kibana:
  host: "https://elasticserver:5601"

output.elasticsearch:
  hosts: ["https://elasticserver:9200"]
  protocol: "https"
  username: "winlogbeat"
  password: "secret"

processors:
  - add_host_metadata: ~
  - add_cloud_metadata: ~

```

Does anyone have an Idea why this issue happens?

---

<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:** [September 30, 2019, 2:20pm UTC](https://discuss.elastic.co/t/failed-to-connect-to-backoff-forbidden/197704/2 "2019-09-30T14:20:54Z")

</div>

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