Closed andreoliwa closed 3 years ago
pre-commit.ci intentionally does not allow network access at runtime for free tier as this is easy to abuse (miners, etc.)
this may be offered in the pro tier in the future, but for now make sure any installation is done at install time instead of at runtime
First of all, thank you for https://pre-commit.com/ and https://pre-commit.ci/!
I'm getting connection errors accessing a raw GitHub URL, but only when the hook runs on pre-commit.ci. Full log here.
Errors:
socket.gaierror: [Errno -3] Temporary failure in name resolution
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f930948b910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /andreoliwa/nitpick/develop/styles/editorconfig.toml (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f930948b910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
More info:
max_retries
onrequests
.CC @jaysonsantos