TypeError: NetworkError when attempting to fetch resource - firefox issue
See original GitHub issueHi, I have simple function for logout that looks like this
public logoutHandler() {
fetch('/logout', <RequestInit>{
method: 'get',
credentials: 'include'
}).then((response) => {
console.log(document.cookie);
window.location.href = '/login';
});
}
It is workin in chrome but in firefox I get “TypeError: NetworkError when attempting to fetch resource.1 (unknown)”. Client side app is on the same server as backend, I’m using https connection with self-signed cert, could it be the issue?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:23
- Comments:22 (1 by maintainers)
Top Results From Across the Web
[Fetch] "NetworkError when attempting to fetch resource ...
This issue is about the timing of the exception and not specifically about fetch. Let me reiterate: What it does is: 1. Start...
Read more >TypeError: NetworkError when attempting to fetch resource ...
In Firefox I see this error: TypeError: NetworkError when attempting to fetch resource I do not know what kind of problem it is....
Read more >Firefox: NetworkError when attempting to fetch resource - Reddit
I keep getting the error of “NetworkError when attempting to fetch resource” when I attempt to get a resource from a localhost server...
Read more >NetworkError when attempting to fetch resource - Zaraz
Seems like your Firefox is configured to block tracking, so it blocks the requests to Google Ads. andersjohansson February 23, 2022, 6:27pm ...
Read more >Source map errors - Firefox Developer Tools
See Bug 1437937: WebExtensions Doesn't Find Source Maps for details. Source-Map-Fehler: TypeError: NetworkError when attempting to fetch resource.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
On chrome, I’ve got “TypeError: Failed to fetch” On firefox, the same “TypeError: NetworkError when attempting to fetch resource” …
Can we reopen this ticket? I’m seeing the same error, but only on Firefox. Also, nothing shows up in the Network tab.