mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 23:15:49 +03:00
[GH-ISSUE #634] CSRF verification failed. Request aborted. #458
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#458
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SrilakshmiDoma14 on GitHub (Apr 8, 2022).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/634
Hi,
I'm running healthchecks on a docker container. I installed docker and docker compose on an ec2 server and running the health checks as a service. I also added a dns url through nginx. On trying to login, I'm getting
CSRF verification failed. Request abortedAny help would be appreciated!!
Also where should I check the error logs.
Thanks in advance
@SrilakshmiDoma14 commented on GitHub (Apr 8, 2022):
able to resolve the issue
@issmirnov commented on GitHub (Jun 28, 2022):
Can you explain how you resolved this?
Otherwise: https://xkcd.com/979/
@jonasjancarik commented on GitHub (Sep 20, 2022):
So I don't know about OP, but in my case, the first thing I did was I set
DEBUGtoTrueto see more details of the errors.I am serving Healthchecks on
healthchecks.localhost:1111and the service itself is listening onlocalhost:7832.Mostly through trial and error, I got working with
ALLOWED_HOSTS=healthchecks.localhostand this in my nginx config:@m-ocean-it commented on GitHub (May 15, 2023):
Here's how my
/locationblock looks like after I'd solved that issue:I bet some of those lines are redundant, but, well, it works and thanks for that.