Yubico Forum
https://forum.yubico.com/

How to get yubico.client to use web proxy.
https://forum.yubico.com/viewtopic.php?f=31&t=1516
Page 1 of 1

Author:  darkavich [ Thu Oct 16, 2014 8:58 pm ]
Post subject:  How to get yubico.client to use web proxy.

I am setting up a new yubix server and was trying to do a test validation to the yubico.com validation servers.
My host is required to use a web-proxy and my machine is properly setup to do use this, but the client process fails to connect through the proxy server.

[ERROR] 2014-10-16 12:43:28 yubico.client: Failed to retrieve response: HTTPSConnectionPool(host='api.yubico.com', port=443): Max retries exceeded with url: /wsapi/2.0/verify?id=11004&otp=[deleted]= (Caused by <class 'socket.error'>: [Errno 101] Network is unreachable)
[ERROR] 2014-10-16 12:43:28 yubico.client: Failed to retrieve response: HTTPSConnectionPool(host='api3.yubico.com', port=443): Max retries exceeded with url: /wsapi/2.0/verify?id=11004&otp=[deleted]= (Caused by <class 'socket.error'>: [Errno 101] Network is unreachable)

I can connect with my web browser or with lynx and it works successfully.

I have been unable to find any documentation on using a web proxy. It's my understanding this is python code makign this call and python should just use the same system environment that other code does.

Does anyone have any ideas for me?

Thanks,
-Steve

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/