{"action":"opened","issue":{"url":"https://api.github.com/repos/alerta/alerta/issues/713","repository_url":"https://api.github.com/repos/alerta/alerta","labels_url":"https://api.github.com/repos/alerta/alerta/issues/713/labels{/name}","comments_url":"https://api.github.com/repos/alerta/alerta/issues/713/comments","events_url":"https://api.github.com/repos/alerta/alerta/issues/713/events","html_url":"https://github.com/alerta/alerta/issues/713","id":371228464,"node_id":"MDU6SXNzdWUzNzEyMjg0NjQ=","number":713,"title":"exception errors after upgrading from version 6.0.1","user":{"login":"charlesalloum","id":38730842,"node_id":"MDQ6VXNlcjM4NzMwODQy","avatar_url":"https://avatars0.githubusercontent.com/u/38730842?v=4","gravatar_id":"","url":"https://api.github.com/users/charlesalloum","html_url":"https://github.com/charlesalloum","followers_url":"https://api.github.com/users/charlesalloum/followers","following_url":"https://api.github.com/users/charlesalloum/following{/other_user}","gists_url":"https://api.github.com/users/charlesalloum/gists{/gist_id}","starred_url":"https://api.github.com/users/charlesalloum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charlesalloum/subscriptions","organizations_url":"https://api.github.com/users/charlesalloum/orgs","repos_url":"https://api.github.com/users/charlesalloum/repos","events_url":"https://api.github.com/users/charlesalloum/events{/privacy}","received_events_url":"https://api.github.com/users/charlesalloum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-17T19:16:22Z","updated_at":"2018-10-17T19:16:22Z","closed_at":null,"author_association":"NONE","body":"hello, \r\ni was running on version 6.0.1 without any errors.\r\nafter upgrading ( same errors on all newer versions 6.1.0, 6.2.0 , 6.2.1 ) when i run the api with \"gunicorn --bind 0.0.0.0:8000 alerta:app\"  i get these errors: \r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.5/dist-packages/alerta/webhooks/prometheus.py\", line 110, in prometheus\r\n    alert = process_alert(incomingAlert)\r\n  File \"/usr/local/lib/python3.5/dist-packages/alerta/utils/api.py\", line 64, in process_alert\r\n    raise ApiError(str(e))\r\nalerta.exceptions.ApiError: 'normal'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.5/dist-packages/flask/app.py\", line 1813, in full_dispatch_request\r\n    rv = self.dispatch_request()\r\n  File \"/usr/local/lib/python3.5/dist-packages/flask/app.py\", line 1799, in dispatch_request\r\n    return self.view_functions[rule.endpoint](**req.view_args)\r\n  File \"/usr/local/lib/python3.5/dist-packages/flask_cors/decorator.py\", line 128, in wrapped_function\r\n    resp = make_response(f(*args, **kwargs))\r\n  File \"/usr/local/lib/python3.5/dist-packages/alerta/auth/decorators.py\", line 103, in wrapped\r\n    return f(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.5/dist-packages/alerta/webhooks/prometheus.py\", line 114, in prometheus\r\n    raise ApiError(str(e), 500)\r\nalerta.exceptions.ApiError: 'normal'\r\n"}}
{"actor":{"display_login":"charlesalloum"}}