# Timelion Error in Canvas (getaddrinfo ENOTFOUND)

**URL:** <https://discuss.elastic.co/t/timelion-error-in-canvas-getaddrinfo-enotfound/165361>\
**Category:** Kibana\
**Tags:** canvas\
**Created:** [January 23, 2019, 9:08am UTC](https://discuss.elastic.co/t/timelion-error-in-canvas-getaddrinfo-enotfound/165361 "2019-01-23T09:08:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomhel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tomhel/32/31751_2.png) [@tomhel](https://discuss.elastic.co/u/tomhel)\
**Post date:** [January 23, 2019, 9:08am UTC](https://discuss.elastic.co/t/timelion-error-in-canvas-getaddrinfo-enotfound/165361/1 "2019-01-23T09:08:29Z")

</div>

Whenever I pick Timelion as datasource in Canvas, I get this error:

`[timelion] > getaddrinfo ENOTFOUND www.0.com www.0.com:80`

Timelion works fine in regular Kibana. It's just in Canvas that I get this error.

Kibana and ES 6.5.4.

Any ideas on how to troubleshoot this? I don't see any errors in the Kibana log.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [January 23, 2019, 9:12am UTC](https://discuss.elastic.co/t/timelion-error-in-canvas-getaddrinfo-enotfound/165361/2 "2019-01-23T09:12:55Z")

</div>

What does your Kibana config look like?

---

<div class="post-metadata">

**Author:** ![tomhel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tomhel/32/31751_2.png) [@tomhel](https://discuss.elastic.co/u/tomhel)\
**Post date:** [January 23, 2019, 9:24am UTC](https://discuss.elastic.co/t/timelion-error-in-canvas-getaddrinfo-enotfound/165361/3 "2019-01-23T09:24:32Z")

</div>

```
server.name: kibana
server.host: "0"
elasticsearch.url: "https://elasticsearch:9200"
elasticsearch.username: "kibanaserver"
elasticsearch.password: xxxxxxxxxxx
elasticsearch.ssl.verificationMode: none
elasticsearch.requestHeadersWhitelist: ["Authorization", "sgtenant"]

xpack.monitoring.ui.container.elasticsearch.enabled: true
xpack.security.enabled: false
xpack.reporting.queue.timeout: 600000

searchguard.auth.anonymous_auth_enabled: true
searchguard.auth.type: "basicauth"

xpack.spaces.enabled: false
```

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [January 23, 2019, 10:25am UTC](https://discuss.elastic.co/t/timelion-error-in-canvas-getaddrinfo-enotfound/165361/4 "2019-01-23T10:25:47Z")

</div>

> [@tomhel](#):
>
> server.host: "0"

Can you try changing this to `server.host: "0.0.0.0"`?

---

<div class="post-metadata">

**Author:** ![tomhel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tomhel/32/31751_2.png) [@tomhel](https://discuss.elastic.co/u/tomhel)\
**Post date:** [January 23, 2019, 10:51am UTC](https://discuss.elastic.co/t/timelion-error-in-canvas-getaddrinfo-enotfound/165361/5 "2019-01-23T10:51:03Z")

</div>

Thanks, that changed the error to something more understandable:

`[timelion] > Request failed with status code 403`

Now I need to figure out why Canvas does not have permission to Timelion.

How does Canvas talk to Timelion? SQL queries work, and raw ES documents also work, so I guess Timelion is handled in some other way.

---

<div class="post-metadata">

**Author:** ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)\
**Post date:** [January 24, 2019, 9:12pm UTC](https://discuss.elastic.co/t/timelion-error-in-canvas-getaddrinfo-enotfound/165361/6 "2019-01-24T21:12:38Z")

</div>

We fixed a related but different issue using Timelion in Canvas ([https://github.com/elastic/kibana/issues/25742](https://github.com/elastic/kibana/issues/25742))

I think the fix for that issue ([https://github.com/elastic/kibana/pull/27944](https://github.com/elastic/kibana/pull/27944)) will also fix the error you're seeing. It looks like this fix is scheduled for the 6.6.0 release, which should be available relatively soon.

You might get a more helpful error if you bump up the logging. Try setting this in your `kibana.yml` and retry:

```auto
logging.verbose: true
logging.quiet: false

```

---

<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:** [February 21, 2019, 9:12pm UTC](https://discuss.elastic.co/t/timelion-error-in-canvas-getaddrinfo-enotfound/165361/7 "2019-02-21T21:12:39Z")

</div>

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