Log connection error in remote manager
See original GitHub issueFor an unknown reason, I cannot connect the Conan server on my LAN from a Windows 7 machine. It was working before but now I get the following error when installing:
WARN: Unable to connect to myconan=http://myconan/
My others machine are still able to connect to the server.
Looking in the code, I found the message is printed when a ConnectionError
is raised in remote_manager.py
but there is no details about the error.
It could be nice if the error was logged. At least I hope it could help me to understand why the connection is not possible anymore.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Troubleshoot Remote desktop disconnected errors
After making sure that you are logged on to the network, try connecting to the server again. Remote desktop disconnected. Because of a...
Read more >Fixing the "Remote Desktop Connection: An Internal Error Has ...
How to fix the “Remote Desktop Connection: An internal error has occurred” error. 1. Allow remote connections; 2. Change Remote Desktop ...
Read more >How to fix 8 common remote desktop connection problems
First, try to establish a session from a client that has been able to successfully connect in the past. The goal is to...
Read more >Tracking and Analyzing Remote Desktop Connection Logs in ...
Logon refers to an RDP login to Windows. EventID 21 – this event appears after a user has been successfully authenticated ( Remote...
Read more >Remote Desktop Connection Manager throws an error when ...
The "servers" that cannot be logged off individually or as a group using the RDC Manager menu options are Windows 7 machines.
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
I’m now able to reproduce the error on any OS with any conan server.
http_proxy
andhttps_proxy
variables (i.e.export http_proxy=http://not.a.proxy:8080; export https_proxy=http://not.a.proxy:8080
)Then call
conan search -r conan.io
. Since conan cannot go through the given proxy, it raises aConnectionError
. I tried from the sources and logged the error and I get:ERROR :remote_manager.py[154]: HTTPSConnectionPool(host='server.conan.io', port=443): Max retries exceeded with url: /v1/conans/search (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fdc96cb2610>: Failed to establish a new connection: [Errno -2] Name or service not known',))) [2016-11-23 11:07:31,995]
It’s quite verbose but I can see that the error is caused by a
ProxyError
. With such a log, I would have found my mistake faster.Released in 0.16.