llopisdon / skies-adsb

skies-adsb is a real-time 3D browser based web app for tracking aircraft using ADS-B data obtained from a RTL-SDR receiver.
MIT License
58 stars 1 forks source link

Nothing is showing? #4

Open Derek-K opened 5 months ago

Derek-K commented 5 months ago

I have followed the instructions here including the steps needed for Flask server.

But all I am getting is just a few circles and no flights.

In the .env file I have included

VITE_SKIES_ADSB_HOST_EXISTING=127.0.0.1:30003

Since I already have dump1090-mutability running locally on a headless server. I even tested by telnet to port 30003 from another computer and I can see the SBS1 formatted messages.

And somehow after running the run_existing.sh script, port 5000 and port 5173(??) are responding to web requests. Port 5000 just gives 404 no matter what I tried (e.g. http://ip:5000/ or http://ip:5000/skies-adsb/) Port 5173 responded, but just a plain of circles even when I zoomed out I still didn't see any flights

BTW I modified the last line of run_existing.sh to npx vite --host so I can use the web browser on my Windows machine.

 ./run_existing.sh
 * Debug mode: off
WebSocket server settings:
  - Listen on :30006
  - No SSL/TLS support (no cert file)
  - proxying from :30006 to 192.168.x.x:30003
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on all addresses (0.0.0.0)
 * Running on http://127.0.0.1:5000
 * Running on http://192.168.x.x5000
Press CTRL+C to quit

  VITE v5.1.5  ready in 1876 ms

  ➜  Local:   http://localhost:5173/
  ➜  Network: http://192.168.x.x:5173/
  ➜  press h + enter to show help
192.168.x.y - - [20/Mar/2024 13:14:26] "GET / HTTP/1.1" 404 -
192.168.x.y - - [20/Mar/2024 13:14:26] "GET /favicon.ico HTTP/1.1" 404 -
192.168.x.y - - [20/Mar/2024 13:14:57] "GET / HTTP/1.1" 404 -
192.168.x.y - - [20/Mar/2024 13:15:24] "GET /skies-adsb/ HTTP/1.1" 404 -

image image

llopisdon commented 2 months ago

hi @Derek-K

  1. Did you set your latitude and longitude in the .env file?

VITE_DEFAULT_ORIGIN_LATITUDE= VITE_DEFAULT_ORIGIN_LONGITUDE=

  1. Please open your browser developer tools and then refresh the skies-adsb screen. Let the app run for a few minutes. Verify that there is air traffic nearby with any other adsb tracker. Please post here a copy of the console log output. NOTE: Be sure to scrub out any sensitive data you wish to keep private -- the console output will have your LAT/LNG and IP addresses.
Derek-K commented 1 week ago

Sorry for the late reply

hi @Derek-K

  1. Did you set your latitude and longitude in the .env file?

VITE_DEFAULT_ORIGIN_LATITUDE= VITE_DEFAULT_ORIGIN_LONGITUDE=

Yes I did

  1. Please open your browser developer tools and then refresh the skies-adsb screen. Let the app run for a few minutes. Verify that there is air traffic nearby with any other adsb tracker. Please post here a copy of the console log output. NOTE: Be sure to scrub out any sensitive data you wish to keep private -- the console output will have your LAT/LNG and IP addresses.

And yes, I am sure there are planes nearby, see my second screenshot (I just blocked out the details of the planes)

Thanks

llopisdon commented 1 week ago

hi @Derek-K I need to see the console log output in order to debug the issue. Please post the console log output following the instructions below.

For Chrome:

  1. Launch the app in Chrome
  2. Let the app run for a few minutes.
  3. Press F12
  4. Click on the Console tab
  5. right-click any message in the console area and click "Save as..."

For Firefox

  1. Launch the app in Firefox
  2. Let the app run for a few minutes
  3. Press F12
  4. Click on the Console tab
  5. right-click any message in the console area and click "Save all Messages to File"

Please post the console output here and please be sure to remove any private data you do not wish to share.

Thanks!