PyMISP icon indicating copy to clipboard operation
PyMISP copied to clipboard

Failure Exception: PyMISPError: Unable to connect to MISP (http://..........}

Open gparker-cloud opened this issue 1 year ago • 1 comments

Hello how do we resolve this issues please

Result: Failure Exception: PyMISPError: Unable to connect to MISP (http://............). Please make sure the API key and the URL are correct (http/https is required): HTTPConnectionPool(host='......................', port=80): Max retries exceeded with url: /servers/getVersion (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f087d025c10>, 'Connection to ............... timed out. (connect timeout=None)')) Stack: File "/azure-functions-host/workers/python/3.11/LINUX/X64/azure_functions_worker/dispatcher.py", line 604, in _handle__invocation_request call_result = await self._loop.run_in_executor( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/azure-functions-host/workers/python/3.11/LINUX/X64/azure_functions_worker/dispatcher.py", line 933, in _run_sync_func return ExtensionManager.get_sync_invocation_wrapper(context,

gparker-cloud avatar Oct 04 '24 16:10 gparker-cloud

please share the code you're trying to run. The error hints in the direction of an incorrect URL / API key, so that's probably the issue.

Rafiot avatar Oct 04 '24 17:10 Rafiot