Download wildfly Galleon 4.2.8 fails with timeout
Closed this issue · 3 comments
mjourdan commented
Maybe this is due to me going through a proxy, I got the following error:
TASK [ansible-ejbca-wildfly : Download Wildfly 26.0.1.Final and install software] *******************************************************************************************************************************
included: /home/mjourdan/git/ansible-ejbca-signserver-playbooks/ansible_ejbca_signsrv/roles/ansible-ejbca-wildfly/tasks/install.yml for ce01
TASK [ansible-ejbca-wildfly : Install OpenJDK] ******************************************************************************************************************************************************************
changed: [ce01]
TASK [ansible-ejbca-wildfly : Install unzip] ********************************************************************************************************************************************************************
ok: [ce01]
TASK [ansible-ejbca-wildfly : Check if wildfly directory exists] ************************************************************************************************************************************************
ok: [ce01]
TASK [ansible-ejbca-wildfly : Download wildfly 26.0.1.Final tar file] *******************************************************************************************************************************************
skipping: [ce01]
TASK [ansible-ejbca-wildfly : Download wildfly Galleon 4.2.8] ***************************************************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: socket.timeout: The read operation timed out
fatal: [ce01]: FAILED! => changed=false
elapsed: 0
msg: 'failed to create temporary content file: The read operation timed out'
PLAY RECAP ******************************************************************************************************************************************************************************************************
ce01 : ok=26 changed=13 unreachable=0 failed=1 skipped=21 rescued=0 ignored=0
Setting a 120 secs timeout in roles/ansible-ejbca-wildfly/tasks/install.yml
solves the problem for us:
TASK [ansible-ejbca-wildfly : Download wildfly Galleon 4.2.8] ***************************************************************************************************************************************************
changed: [ce01]
Maybe adding a variable for this would be useful to avoid modifying the role by hand?
svenska-primekey commented
Are you getting timeouts from any other file downloads or only the galleon.zip file?
mjourdan commented
I've been getting timeouts only with galleon.zip so far.
svenska-primekey commented
Close - no update in almost 1 year.