Hello, has anyone run into the below errors while ...
# ask-community
c
Hello, has anyone run into the below errors while using DbtShellTask?
Copy code
[33mHTTPSConnectionPool(host='<http://bigquery.googleapis.com|bigquery.googleapis.com>', port=443): Max retries exceeded with url: /bigquery/v2/projects/xxx/datasets/gsheets/tables/stocks_data?prettyPrint=false (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))[0m
Copy code
[33m('Connection aborted.', OSError("(32, 'EPIPE')"))[0m
These errors are from running a DbtShellTask in a Prefect flow on a Ubuntu 20.04 server
Running
dbt run
on the same server and dbt runs without such errors - doesn't seem to be any firewall / network issues
k
Hey @CA Lee, hard to say but a couple of suggestions • Are you maybe using preemptible compute resources anywhere? • Are you running this job on a different machine? • You can also try downgrading the requests library • You likely have to load your certificate to Python for the request library like this. Linux, Mac
1
c
Thanks @Kevin Kho, this was very helpful - downgrading my requests library solved the issue
👍 1
k
No problem!