Re: Debugging an mcron job

2019-04-01 Thread Jack Hill
On Mon, 1 Apr 2019, Ludovic Courtès wrote: Jack Hill skribis: I've solved this for my service by adding SSL_CERT_DIR to the environment: https://gitlab.oit.duke.edu/jackhill/guix-at-duke/blob/a9674ec7b0decac94745c91df886817e2fc8a91b/guix-at-duke/services/endpoint-management.scm Is that a rea

Re: Debugging an mcron job

2019-04-01 Thread Ludovic Courtès
Hello, Jack Hill skribis: > On Tue, 12 Mar 2019, Jack Hill wrote: > >> I've figured out what was going wrong with my job (by redirecting >> the output to a file). It couldn't verify the remote host's >> certificate: >> >> urllib2.URLError: > certificate verify failed (_ssl.c:726)> >> >> Now to f

Re: Debugging an mcron job

2019-04-01 Thread Ludovic Courtès
Hello, Jack Hill skribis: > On Tue, 12 Mar 2019, Jack Hill wrote: > >> I've figured out what was going wrong with my job (by redirecting >> the output to a file). It couldn't verify the remote host's >> certificate: >> >> urllib2.URLError: > certificate verify failed (_ssl.c:726)> >> >> Now to f

Re: Debugging an mcron job

2019-03-12 Thread Jack Hill
On Tue, 12 Mar 2019, Jack Hill wrote: I've figured out what was going wrong with my job (by redirecting the output to a file). It couldn't verify the remote host's certificate: urllib2.URLError: verify failed (_ssl.c:726)> Now to figure out why. I have nss-certs in my system packages. I've

Re: Debugging an mcron job

2019-03-12 Thread Jack Hill
I've figured out what was going wrong with my job (by redirecting the output to a file). It couldn't verify the remote host's certificate: urllib2.URLError: Now to figure out why. I have nss-certs in my system packages. Best, Jack

Re: Debugging an mcron job

2019-03-12 Thread Jack Hill
On Mon, 11 Mar 2019, Jack Hill wrote: Hi Guix, I'm looking for help or tips on debugging an mcron job. I haven't yet solved this, but have some done some more (potentially interesting) troubleshooting. The problem only seems to present itself, when mcron is run from Shepherd. F

Debugging an mcron job

2019-03-11 Thread Jack Hill
Hi Guix, I'm looking for help or tips on debugging an mcron job. My goal is to run a site-specific telemetry script that I have packaged [0] in my channel. The script collects some information and sends it to a remote server. I am trying to run the script as an mcron job via a serv