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

Connection error/warning to app.posthog.com when calling ploomber #744

Closed
JMankewitz opened this issue May 5, 2022 · 2 comments
Closed

Comments

@JMankewitz
Copy link

Hey! Every time I call ploomber I get the following error:

error uploading: HTTPSConnectionPool(host='app.posthog.com', port=443): Max retries exceeded with url: /batch/ (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fe8a9496e50>: Failed to establish a new connection: [Errno 61] Connection refused'))

Full stack here with ploomber interact

(wordsense_pipeline) jmank@LOYCA wordsense_pipeline % ploomber interact
Loading pipeline...
100%|██████████████████████████████████████████████████████████████████████| 14/14 [00:00<00:00, 7160.13it/s]
Python 3.8.13 | packaged by conda-forge | (default, Mar 25 2022, 06:06:49) 
Type 'copyright', 'credits' or 'license' for more information
IPython 7.33.0 -- An enhanced Interactive Python. Type '?' for help.

error uploading: HTTPSConnectionPool(host='app.posthog.com', port=443): Max retries exceeded with url: /batch/ (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fdb60750d30>: Failed to establish a new connection: [Errno 61] Connection refused'))

Doesn't seem to be breaking anything, but kind of annoying. Thanks!

@edublancas
Copy link
Contributor

Thanks for your feedback!

@idomic: my guess is that either posthog is too slow or some proxy issue. is there a way to timeout the call? or perhaps hide the error message?

@edublancas
Copy link
Contributor

this is fixed in 0.19.1 - I reproduced a similar error but not exactly the one you got. so let me know if you still see the message after upgrading

neelasha23 pushed a commit to neelasha23/ploomber that referenced this issue May 22, 2022
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