500 error during user profile patch
Can you check please why I get 500 error sometimes when I try to update my user profile data?
Comments (7)
-
-
- changed status to resolved
-
reporter - changed status to open
{"status": 500, "error": "internal_server_error"}
when I do: PATCH http://api-dev.udemi.org/v1/users/2/
-
Hi Enrico. That was a request done with an unreadable post. I can see the error here: http://logging.udemi.org:9000/udemi/udemi-dev/group/175/
It sometimes happens and can be for several reasons. Packet loss on the public network for instance. What I can do It's to start handling those exceptions so you get a nicer error instead of 500.
-
reporter @andrefsp Packet loss on amazon network? Wow :) This is not nice and it could be a problem in the future... but for now Yeah, return a nicer error so we are able to understand why.... Thanks
-
This has been fixed. I've introduced nginx in front of uwsgi and it will now discard invalid requests nicely.
-
- changed status to resolved
- Log in to comment
This shuold be fixed now I think . I haven't seen any error on sentry so I'm closing it.