question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DEBUG: Starting new HTTPS connection (1): xxxx%0a%0aport%20=%2080%0a%0adisable_tls%20=%20false%0a%0avalidate_tls_certs%20=%20false:443

See original GitHub issue

Hi,

It is not clear to me why the netbox is being accessed with https … Please suggest

I am running on Ubuntu 18 & (v2.9.3)

./netbox-sync.py -n -l DEBUG3

2020-11-22 00:29:33,378 - INFO: Starting NetBox Sync
2020-11-22 00:29:33,379 - DEBUG: Using config file: /opt/netbox-sync/settings.ini
2020-11-22 00:29:33,379 - DEBUG: Config: netbox.api_token = JDA***
2020-11-22 00:29:33,379 - DEBUG: Config: netbox.host_fqdn = xxxx

port = 80

disable_tls = false

validate_tls_certs = false
2020-11-22 00:29:33,379 - DEBUG: Config: netbox.port = None
2020-11-22 00:29:33,379 - DEBUG: Config: netbox.disable_tls = False
2020-11-22 00:29:33,379 - DEBUG: Config: netbox.validate_tls_certs = True
2020-11-22 00:29:33,379 - DEBUG: Config: netbox.prune_enabled = False
2020-11-22 00:29:33,379 - DEBUG: Config: netbox.prune_delay_in_days = 30
2020-11-22 00:29:33,379 - DEBUG: Config: netbox.default_netbox_result_limit = 200
2020-11-22 00:29:33,379 - DEBUG: Config: netbox.timeout = 30
2020-11-22 00:29:33,379 - DEBUG: Config: netbox.max_retry_attempts = 4
2020-11-22 00:29:33,379 - DEBUG: Config: netbox.use_caching = True
2020-11-22 00:29:33,379 - WARNING: Log level is set to DEBUG3, Request logs will only be printed to console
2020-11-22 00:29:33,379 - DEBUG: Created new requests Session for NetBox.
2020-11-22 00:29:33,381 - DEBUG: Starting new HTTPS connection (1): xxxx%0a%0aport%20=%2080%0a%0adisable_tls%20=%20false%0a%0avalidate_tls_certs%20=%20false:443
encoding with 'idna' codec failed (UnicodeError: label too long)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Kirandp6commented, Nov 22, 2020

ok finally i changed , disable_tls & worked

Thanks @bb-Ricardo

1reaction
bb-Ricardocommented, Nov 23, 2020

Hi,

fixed/changed the config file issue

Will also add the info about the cron job.

Read more comments on GitHub >

github_iconTop Results From Across the Web

DEBUG:urllib3.connectionpool:Starting new HTTPS ... - GitHub
I've used the username_password_sample.py to try to connect to... ... DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): ...
Read more >
Why does my program hang after urllib3 logs Starting new ...
There is nothing logged after the Starting new HTTPS connection statement. This is where I restarted the worker: Jul 08 05:09:18 app/worker.1: [ ......
Read more >
DEBUG:urllib3.connectionpool:Starting new HTTPS ...
The above request log doesn't show an error status code or message. Can you paste here the complete request/debug log? LakshmiNarasaiah.
Read more >
Python Requests Library Not Completing HTTPs Connections
Because the topic was closed and it is not possible to reply to it, and the problem still persist, i open it as...
Read more >
Wild Wild World of External Calls - Abhirama's Blog
The output. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): httpbin.org:443. DEBUG:urllib3.connectionpool:https://httpbin ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found