I have a website deployed in AWS but whenever I use firefox to access my website and make a request, it always blocked the request and throws an error "ns_error_net_interrupt" But when I access my website in chrome, everything is working fine. Is there anyone who has idea of what's going on?
It looks like Firefox has a bug in the http3 handler with some xhr requests. If you're in AWS and using CloudFront you probably have the default http1.1, http2, and http3 protocols. I disabled http3 and Firefox requests started working again.
More information:
there is no bug reported, but searching the source code for that error i find comments like this
case PR_END_OF_FILE_ERROR: // XXX document this correlation
rv = NS_ERROR_NET_INTERRUPT;
and this
if ((NS_ERROR_NET_INTERRUPT == aError || NS_ERROR_NET_RESET == aError) &&
SchemeIsHTTPS(aURI)) {
// Maybe TLS intolerant. Treat this as an SSL error.
error = "nssFailure2";
}