Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to link subscription on startup: canceled (docker) #1372

Open
BRNTZN opened this issue May 11, 2017 · 2 comments
Open

Failed to link subscription on startup: canceled (docker) #1372

BRNTZN opened this issue May 11, 2017 · 2 comments

Comments

@BRNTZN
Copy link

BRNTZN commented May 11, 2017

In my docker vm I forwarded 8086:8086, 8083:8083 and 9092:9092

Following https://docs.influxdata.com/kapacitor/v1.2/introduction/getting_started/

I set up influxdb:
docker pull influxdb
docker run -p 8086:8086 -p 8083:8083 -e INFLUXDB_ADMIN_ENABLED=true influxdb
This works as expected, I can reach my influxdb's admin interface just fine. I also have the telegraf which I'm leaving out of this issue right now running and it's data can be found in influx.

I set up kapacitor:
docker pull kapacitor
docker run -p 9092:9092 kapacitor
output:

'##:::'##::::'###::::'########:::::'###:::::'######::'####:'########::'#######::   '########::
 ##::'##::::'## ##::: ##.... ##:::'## ##:::'##... ##:. ##::... ##..::'##.... ##:    ##.... ##:
 ##:'##::::'##:. ##:: ##:::: ##::'##:. ##:: ##:::..::: ##::::: ##:::: ##:::: ##:    ##:::: ##:
 #####::::'##:::. ##: ########::'##:::. ##: ##:::::::: ##::::: ##:::: ##:::: ##:    ########::
 ##. ##::: #########: ##.....::: #########: ##:::::::: ##::::: ##:::: ##:::: ##:    ##.. ##:::
 ##:. ##:: ##.... ##: ##:::::::: ##.... ##: ##::: ##:: ##::::: ##:::: ##:::: ##:    ##::. ##::
 ##::. ##: ##:::: ##: ##:::::::: ##:::: ##:. ######::'####:::: ##::::. #######::    ##:::. ##:
..::::..::..:::::..::..:::::::::..:::::..:::......:::....:::::..::::::.......:::   ..:::::..::

2017/05/11 08:57:26 Using configuration at: /etc/kapacitor/kapacitor.conf
[run] 2017/05/11 08:57:26 I! Kapacitor starting, version 1.2.1, branch master, commit 4628bda2e3fbcc43df694707ec3f640f213cb0dc
[run] 2017/05/11 08:57:26 I! Go version go1.7.4
[srv] 2017/05/11 08:57:26 I! Kapacitor hostname: 4b882d40cbc3
[srv] 2017/05/11 08:57:26 I! ClusterID: 589e877b-b5e3-444f-be22-984f7c118e71 ServerID: 82d6564a-ee69-4b22-8450-b867f9c965e5
[task_master:main] 2017/05/11 08:57:26 I! opened
[httpd] 2017/05/11 08:58:26 I! Closed HTTP service
[task_master:main] 2017/05/11 08:58:26 I! closed
[run] 2017/05/11 08:58:26 E! open server: open service *influxdb.Service: failed to link subscription on startup: canceled
run: open server: open service *influxdb.Service: failed to link subscription on startup: canceled
`
@BRNTZN
Copy link
Author

BRNTZN commented May 11, 2017

I fixed this, I suspect it is because I am using docker tools for windows <10

In the kapacitor.conf I changed the hostname and the influxdb urls to the ip of the boot2docker vm I was running the containers from.

In the vm using ifconfig I used the eth1's inet addr

@xkfen
Copy link

xkfen commented Sep 3, 2019

same problem too.
but i solved by use the "docker run --network host ..."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants