Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web UI map shows no planes #82

Closed
courtarro opened this issue Feb 19, 2022 · 6 comments
Closed

Web UI map shows no planes #82

courtarro opened this issue Feb 19, 2022 · 6 comments
Assignees

Comments

@courtarro
Copy link

I tested with viewadsb and I get a lot of results, but for some reason the web map at :8080 shows no aircraft. I get the following error in the console:

Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at http://planepi:8080/script/readsb/pbf.js' failed to load at http://planepi:8080/script/readsb/backend/aircraftCollection.js/:2:6

The file is actually at http://planepi:8080/script/pbf.js, so apparently the extra slash in the URL of aircraftCollection.js is throwing off the reference to self.importScripts("../../pbf.js"); at the top. I don't know enough about the infrastructure of the web sources to debug why that URL is being built that way.

I'm using Linux Chrome if that makes any difference.

@OA72280
Copy link

OA72280 commented Feb 26, 2022

Able to go to my http://localhost:8080 and view the map but no data / aircraft shows. Also, is there a way to link this to flightaware account?

@rpatel3001
Copy link
Contributor

Also, is there a way to link this to flightaware account?

https://github.com/sdr-enthusiasts/docker-piaware

@mikenye
Copy link
Member

mikenye commented Feb 28, 2022

@OA72280 I know this sounds silly, but please try another browser. Also, the first time the page loads, it can take several minutes to start working.

@mikenye mikenye self-assigned this Feb 28, 2022
@xsaMNJfkltrwq5r3
Copy link

Thought I would add some info that may aid in the issue. I appear to have the same issue as the original person, no planes being shown, I also have n/a/s & n/a in the info tab for the various variables running firefox (97.0.1), but on my phone also running firefox (97.2.0) everything works as it should. Will try and see if I can figure out a setting issue etc. and come and report if I do.

@courtarro
Copy link
Author

I appear to have the same issue as the original person, no planes being shown, I also have n/a/s & n/a in the info tab for the various variables running firefox (97.0.1), but on my phone also running firefox (97.2.0) everything works as it should.

Indeed, inconsistency is something I've seen as well across different machines and different browsers. On some it works fine, on others not. Sometimes Ctrl-Shift-R works to fix a broken browser, other times not. Very weird!

@courtarro
Copy link
Author

I moved my bug discussion over to the other project since I'm assuming (though not 100% sure) it's not a problem with the Docker image itself.

@mikenye mikenye closed this as completed Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants