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 issueHi,
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:
- Created 3 years ago
- Comments:10 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
ok finally i changed , disable_tls & worked
Thanks @bb-Ricardo
Hi,
fixed/changed the config file issue
Will also add the info about the cron job.