question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When trying to view clips in firefox, firefox reports typeerror: network error when attempting to fetch resource

See original GitHub issue

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue: 0.14

Last working release (if known): First attempt to use the card

Browser and Operating System: Firefox 91.0.1 on Windows 10

Description of problem: My card is configured as shown below. When I click the clips icon in lovelace firefox replaces the video with a grey box with a small black exclamation point in the middle. When I hover over the exclamation point it says “TypeError: NetworkError when attempting to fetch resource.” If I click on the “View Frigate UI” button it opens a new tab in firefox and successfully connects to frigate as it .should. I am able to ping 10.1.1.52 (my frigate server) successfully from within the terminal on hass.io/ type: custom:frigate-card frigate_url: http://10.1.1.52:5000 webrtc: {} camera_entity: camera.front_door_cam motion_entity: binary_sensor.front_door_cam_person_motion view_default: live menu_mode: below autoplay_clip: false

Javascript errors shown in the web inspector (if applicable): I have 2 reported in my browser console. Not sure if it is related: Content Security Policy: Ignoring “‘unsafe-inline’” within script-src: ‘strict-dynamic’ specified Content Security Policy: Ignoring “http:” within script-src: ‘strict-dynamic’ specified


Additional information:

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rhatguycommented, Aug 23, 2021

Just waned to confirm that I got my setup working after getting frigate accessible through https. Thanks for your help. The addon looks great!

0reactions
dermotduffycommented, Aug 23, 2021

Rather than unhelpfully render just an icon, [from the next release] the card will show the error message in the card and link to the troubleshooting documentation, which now includes the specific issue that went wrong for you.

Good luck with the setup! Please re-open a new issue if the solution you’re working on does not resolve it (pretty optimistic it will!).

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Fetch] "NetworkError when attempting to fetch resource ...
In Firefox 94.0.2, reloading or clicking a link while a fetch request is being processed still throws a NetworkError. To reproduce, carry out...
Read more >
TypeError: NetworkError when attempting to fetch resource ...
It is workin in chrome but in firefox I get "TypeError: NetworkError when attempting to fetch resource.1 (unknown)".
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 >
Solved: NetworkError when attempting to fetch resource whe...
Solved: Hi, I am very new to the Dropbox SDK, I am trying to programmatically create a link for sharing a file and...
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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found