Skip to content

Posthog cannot send data due to proxy #25

@maxwxyz

Description

@maxwxyz

Telemetry does not work if a proxy is in place, ideally it would use the proxy setting in the Addon Manager preferences.

This warning pops up on every start of FreeCAD:

07:47:11  WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=2, redirect=None, status=None)) after connection broken by 'NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000001D891341B10>: Failed to resolve 'eu.i.posthog.com' ([Errno 11001] getaddrinfo failed)")': /batch/
07:47:11  WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=2, redirect=None, status=None)) after connection broken by 'NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000001D896DFC710>: Failed to resolve 'eu.i.posthog.com' ([Errno 11001] getaddrinfo failed)")': /batch/
07:47:11  INFO:backoff:Backing off send_request(...) for 0.4s (requests.exceptions.ConnectionError: HTTPSConnectionPool(host='eu.i.posthog.com', port=443): Max retries exceeded with url: /batch/ (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000001D896DFCE90>: Failed to resolve 'eu.i.posthog.com' ([Errno 11001] getaddrinfo failed)")))
07:47:11  WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=2, redirect=None, status=None)) after connection broken by 'NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000001D69C55B310>: Failed to resolve 'eu.i.posthog.com' ([Errno 11001] getaddrinfo failed)")': /batch/
07:47:11  WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=2, redirect=None, status=None)) after connection broken by 'NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000001D69C55BB90>: Failed to resolve 'eu.i.posthog.com' ([Errno 11001] getaddrinfo failed)")': /batch/
07:47:11  INFO:backoff:Backing off send_request(...) for 1.4s (requests.exceptions.ConnectionError: HTTPSConnectionPool(host='eu.i.posthog.com', port=443): Max retries exceeded with url: /batch/ (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000001D69C568390>: Failed to resolve 'eu.i.posthog.com' ([Errno 11001] getaddrinfo failed)")))
07:47:11  WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=2, redirect=None, status=None)) after connection broken by 'NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000001D89701A050>: Failed to resolve 'eu.i.posthog.com' ([Errno 11001] getaddrinfo failed)")': /batch/
07:47:11  WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=2, redirect=None, status=None)) after connection broken by 'NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000001D89701A790>: Failed to resolve 'eu.i.posthog.com' ([Errno 11001] getaddrinfo failed)")': /batch/
07:47:11  INFO:backoff:Backing off send_request(...) for 0.7s (requests.exceptions.ConnectionError: HTTPSConnectionPool(host='eu.i.posthog.com', port=443): Max retries exceeded with url: /batch/ (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000001D89701AF50>: Failed to resolve 'eu.i.posthog.com' ([Errno 11001] getaddrinfo failed)")))
07:47:11  WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=2, redirect=None, status=None)) after connection broken by 'NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000001D89701BE50>: Failed to resolve 'eu.i.posthog.com' ([Errno 11001] getaddrinfo failed)")': /batch/
07:47:11  WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=2, redirect=None, status=None)) after connection broken by 'NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000001D89703C5D0>: Failed to resolve 'eu.i.posthog.com' ([Errno 11001] getaddrinfo failed)")': /batch/
07:47:11  ERROR:backoff:Giving up send_request(...) after 4 tries (requests.exceptions.ConnectionError: HTTPSConnectionPool(host='eu.i.posthog.com', port=443): Max retries exceeded with url: /batch/ (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000001D89703CD90>: Failed to resolve 'eu.i.posthog.com' ([Errno 11001] getaddrinfo failed)")))
07:47:11  ERROR:posthog:error uploading: HTTPSConnectionPool(host='eu.i.posthog.com', port=443): Max retries exceeded with url: /batch/ (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000001D89703CD90>: Failed to resolve 'eu.i.posthog.com' ([Errno 11001] getaddrinfo failed)"))
07:47:11  Telemetry Addon: Error connecting, no telemetry will be sent for this session

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions