Failed to connect to ethereum node behind a VPN
Hello,
I have this error message. If i relaunch the VM and start worker again it work again, but all the time, after a few hours i have this error message :
2019-05-28 12:08:08.692 INFO 7 --- [ Thread-21] o.s.c.context.restart.RestartEndpoint : Could not doRestart: Error creating bean with name 'application': Unsatisfied dependency expressed through field 'iexecHubService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'iexecHubService' defined in URL [jar:file:/iexec-worker.jar!/BOOT-INF/classes!/com/iexec/worker/chain/IexecHubService.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'web3jService' defined in URL [jar:file:/iexec-worker.jar!/BOOT-INF/classes!/com/iexec/worker/chain/Web3jService.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.iexec.worker.chain.Web3jService]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError: Failed to connect to ethereum node https://mainnet.infura.io/v3/0f12503e1aed4316bd7072559d3122b6
Do you know why ?
Hi @LOG17,
This could be due to the internet connection or the infura node itself. We'd need more informations to inpect the issue.
Hi @zied-guesmi I confirm this must be an internet connection problem since this VM is on a computer with a VPN ( purevpn ) and VM on another one is not and work fine all the time.
Is there a way for VM to connect directly to the internet without passing through the VPN software, for exemple with VM network configuration ( NAT / Bridge / etc.. ) ?