# Unable to retrieve license information from license server {:message=\>"No Available connections"}

**URL:** <https://discuss.elastic.co/t/unable-to-retrieve-license-information-from-license-server-message-no-available-connections/302175>\
**Category:** Logstash\
**Created:** [April 12, 2022, 5:25am UTC](https://discuss.elastic.co/t/unable-to-retrieve-license-information-from-license-server-message-no-available-connections/302175 "2022-04-12T05:25:31Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![sahir](https://avatars.discourse-cdn.com/v4/letter/s/7cd45c/32.png) [@sahir](https://discuss.elastic.co/u/sahir)\
**Post date:** [April 18, 2022, 6:59am UTC](https://discuss.elastic.co/t/unable-to-retrieve-license-information-from-license-server-message-no-available-connections/302175/7 "2022-04-18T06:59:57Z")

</div>

Hello @leandrojmp Thank you for your reply, I passing the Elasticsearch configuration in logstash conf file. I tried with both HTTP and HTTPS Elasticsearch but both the things are showing the same error.

```auto
apiVersion: v1
kind: ConfigMap
metadata:
  name: logstash-configmap
  namespace: kube-system
data:
  logstash.yml: |
    http.host: "0.0.0.0"
    path.config: /usr/share/logstash/pipeline    
  logstash.conf: |
    input {
      file {
        path => "/var/log/containers"
      }
    }
    output {
      stdout {
        codec => rubydebug
      }

      elasticsearch {
        ilm_enabled => false
        hosts => ["https://xxx.xxx.xx.xx:9200"]
        user => 'xxxx'
        password => 'xxxxxxxxx'
        index => "logstash-beta-%{+YYYY.MM.dd}"
        ssl_certificate_verification => false
      }
    }    

```

---

_[View the full topic](https://discuss.elastic.co/t/unable-to-retrieve-license-information-from-license-server-message-no-available-connections/302175)._
