I get "Failed to Fetch" when I try to log in

Created by Steve Place, Modified on Wed, 24 Jan 2024 at 06:41 PM by Steve Place

The first troubleshooting step in this situation is to curl your endpoint:

curl -I -v https://[your endpoint]:[port]/admin/healthcheck 

The output should look something like this:

❯ curl -I -v http://[your endpoint]:[port]/admin/healthcheck
*   Trying [::1]:[port]...
* Connected to localhost (::1) port [port]
> HEAD /admin/healthcheck HTTP/1.1
> Host: [your endpoint]:[port]
> User-Agent: curl/8.4.0
> Accept: */*
>
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Connection: keep-alive
Connection: keep-alive
< Content-Length: 0
Content-Length: 0
< Date: [date]
Date: [date]

<
* Connection #0 to host [your endpoint] left intact

If you do not get an output like this, send the output you do get along with the output from the browser console in a support ticket.


A common source of error here is using self-signed certificates that your browser does not trust. The solution is to use a certificate from a certificate authority like Let's Encrypt and ensuring the entire certificate chain is in your truststore.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article