Page 1 of 1

proxy configuration problem

Published: October 2, 2020 - 11:38 AM
by LMU-wapt
Hello,

I'm testing WAPT Enterprise with the latest version 1.8.2 installed on Debian 10.
The console works fine and I can deploy software to my machine.

However, if I try to import packages "from the internet" or retrieve the Windows Update catalog, I get an error...

requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='store.wapt.fr', port=443): Max retries exceeded with url: /wapt/Packages (Caused by ConnectTimeoutError(

I configured the proxy in the console (which is clearly pointless in this case).
I also configured the proxy directly in Debian (/etc/wgetrc + /etc/bash.bashrc + /etc/profile).

My concern is that I didn't have a /opt/wapt/waptserver/waptserver.ini file, but rather a waptserver.ini.template.
I created the waptserver.ini file with the http_proxy option (and nothing else).
I added this option to the .template file (which seems rather basic):

[options]
db_name=wapt
#db_host=
db_user=wapt
#db_password=

wapt_user=admin
wapt_password=
#loglevel=warning

#client_tasks_timeout=0.3
#client_connect_timeout=1
#client_read_timeout=10
http_proxy=http://notre.proxy:notreport

I restarted both WAPT services,

still nothing...

Do you have any ideas?

Thanks.

Re: Proxy configuration problem

Published: October 2, 2020 - 1:28 PM
by LMU-wapt
Problem partially solved:

importing packages from the WAPT store via "import from internet" now works (I had added a "/" to the end of my proxy URL...).
The "private repository" tab -> "import from internet" -> "repository settings" is

. However, retrieving the CAB for Windows updates is still not possible.

Re: Proxy configuration problem

Published: October 2, 2020 - 4:39 PM
by cfargues
Hello,
Since you're on a WAPT Enterprise trial, we can help you live; it's faster than going through the forum.
Please call the office so we can help you resolve the issue.
Sincerely,
Camille

Re: Proxy configuration problem

Published: October 2, 2020 - 5:45 PM
by LMU-wapt
That's great news!
Thank you, Camille! :D

Re: Proxy configuration problem

Published: October 6, 2020 - 2:57 PM
by LMU-wapt
For those who might have the same problem, there is (was) a typo in the French documentation: the correct path to the waptserver.ini file is not /opt/wapt/waptserver/waptserver.ini but /opt/wapt/conf/waptserver.ini