ovh/cds

Cannot connect to the Graylog CDN from a worker

b2p-fred opened this issue · 1 comments

I started a pipeline and when I look into the wroker log I see that I cannot connect to the CDn for logging. Here is my log:

2021-11-13 07:13:35 [INFO] runScriptAction> Running command /bin/sh -e /tmp/fa030fad548dbdd2c81a50d6cfbb22df/ed7dc965ac70442e in /tmp/fa030fad548dbdd2c81a50d6cfbb22df/run caller=github.com/ovh/cds/engine/worker/internal/action.RunScriptAction.func1 source_file=/tmp/790ad7b9a1a85167593986ed564384b7/run/engine/worker/internal/action/builtin_script.go source_line=206
2021-11-13T07:13:43.356801426Z [gelf] connecting to logging server
2021-11-13T07:13:48.357870380Z [gelf] cannot connect to logging server: tls: DialWithDialer timed out
2021-11-13T07:13:49.358067256Z [gelf] connecting to logging server
2021-11-13T07:13:54.359309572Z [gelf] cannot connect to logging server: tls: DialWithDialer timed out
...
...

Note that I installed CDS loccaly and I am running with the docker-compose configuration. I tried several adresses for the CDN but no way...

Hi,

According to the logs, the worker does not have access to the cdn service. This can be checked by entering the worker container to verify that the flow to cdn is ok or not. If it's not ok, it's probably a wrong configuration of you docker environment.

Can you retry to run the docker-compose (localhost) tutorial here: https://ovh.github.io/cds/hosting/ready-to-run/docker-compose/docker-compose/ ? It's fully tested Debian 10 and osx without any issue. Feel free to reopen if needed.