MitchellGulledge / Meraki-vWAN

5 stars 4 forks source link

VPN Connectivity Status Unknown #30

Closed SleepyWheezal closed 3 years ago

SleepyWheezal commented 3 years ago

When provisioning the VPN, the site shows up. but it doesn't connect and we don't see the correct private subnet in the site to site settings.

The following errors can be seen in the function log

2021-05-07 13:45:40.395 Result: Failure Exception: IndexError: list index out of range Stack: File "/azure-functions-host/workers/python/3.8/LINUX/X64/azure_functions_worker/dispatcher.py", line 370, in _handleinvocation_request call_result = await self._loop.run_in_executor( File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run result = self.fn(self.args, self.kwargs) File "/azure-functions-host/workers/python/3.8/LINUX/X64/azure_functions_worker/dispatcher.py", line 548, in __run_sync_func return func(params) File "/home/site/wwwroot/Meraki-VWAN-Automation/init.py", line 974, in main meraki_vpn_failover() File "/home/site/wwwroot/Meraki-VWAN-Automation/init.py", line 123, in meraki_vpn_failover event_data = events_response_data[-1]['eventData'] Error 2021-05-07 13:45:40.395 Executed 'Functions.Meraki-VWAN-Automation' (Failed, Id=00b7b827-440f-4d00-b943-2ed60766f87c, Duration=4749ms) Error 2021-05-07 13:45:40.401 Result: Failure Exception: IndexError: list index out of range Stack: File "/azure-functions-host/workers/python/3.8/LINUX/X64/azure_functions_worker/dispatcher.py", line 370, in _handle__invocation_request call_result = await self._loop.run_in_executor( File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run result = self.fn(self.args, **self.kwargs) File "/azure-functions-host/workers/python/3.8/LINUX/X64/azure_functions_worker/dispatcher.py", line 548, in run_sync_func return func(**params) File "/home/site/wwwroot/Meraki-VWAN-Automation/init.py", line 974, in main meraki_vpn_failover() File "/home/site/wwwroot/Meraki-VWAN-Automation/init.py", line 123, in meraki_vpn_failover event_data = events_response_data[-1]['eventData']

SleepyWheezal commented 3 years ago

Issue Resolved

Needed to generate VPN traffic before it would initialise, now working as expected