Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gestione return code diversi da 200 #146

Open
lucamemini opened this issue Jun 3, 2021 · 0 comments
Open

Gestione return code diversi da 200 #146

lucamemini opened this issue Jun 3, 2021 · 0 comments

Comments

@lucamemini
Copy link
Collaborator

In produzione ho alcuni errori di questo tipo:

==format_exec==
Traceback (most recent call last):
File "main.py", line 1037, in process_single_mail
misp_id = check_MISP_PROD(match[0])
File "main.py", line 1158, in check_MISP_PROD
att = misp_PROD.search(controller='attributes', **kwargs)
File "/usr/local/lib/python3.6/dist-packages/pymisp/api.py", line 2473, in search
normalized_response = self._check_json_response(response)
File "/usr/local/lib/python3.6/dist-packages/pymisp/api.py", line 3400, in _check_json_response
r = self._check_response(response, expect_json=True)
File "/usr/local/lib/python3.6/dist-packages/pymisp/api.py", line 3417, in _check_response
raise MISPServerError(f'Error code 500:\n{response.text}')
pymisp.exceptions.MISPServerError: Error code 500:

<title>ERROR: The requested URL could not be retrieved</title> <style type="text/css">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant