Problem fetching data from the server

Discussion in 'Feeding' started by ED98, Mar 12, 2021.

  1. ED98

    ED98 New Member

    Hello,

    I have an issue with the most recent version of the ADSBx custom image.
    After some (undefined) time I can't reach the 1090, 8hours, Grafana or graphs1090 page anymore.
    Even SSH access is not possible as port 22 times out.

    When trying to access the 1090 I get "Problem fetching data from the server!
    Seems the decoder / receiver / backend isn't working correctly!
    The displayed map data will be out of date."

    IP address is correct and I can see the raspberry is connect. Curiously feeding to ADSB Exchange and FR24 is working.

    After a hard shutdown and repowering the system is working again and all pages mentioned above are accessible until it stops at some point.

    Any ideas what might be wrong here?
     
  2. wiedehopf

    wiedehopf Administrator Staff Member

    Probably prometheus eating up the memory? (should be visible in graphs1090)
    Did you remove the weekly reboot the image should have built in?

    Could also be a DHCP issue with certain routers, you can run this command if you want as it should be a work-around for this known issue:
    Code:
    echo noarp | sudo tee -a /etc/dhcpcd.conf
    
    The feed continuing to work is strange and it somehow sounds like the IP address changed.
    If that happens does ping still work on that IP?
     
  3. ED98

    ED98 New Member

    Actually we talking more about hours than days until the system somehow stalls.
     
  4. wiedehopf

    wiedehopf Administrator Staff Member

    Yeah the DHCP issues seems more likely.
    Can you use the command i suggested and see if the issue persists?

    And if the issue reoccurs see if you can ping the IP address you're trying to access via ssh / http.
     
  5. ED98

    ED98 New Member

    Is there any limitation about the number of simultaneous connections to the server?
    While I can access all pages on my iPad (it was the first device I've used to connect) I can't access the server using my MacBook or iPhone.
    If I connect after reboot first with my MacBook this one is working and the iPad and iPhone don't. o_O
     
  6. wiedehopf

    wiedehopf Administrator Staff Member

    You're not talking about your image anymore or are you?
    Can you be more exact which URL is the issue?

    Are all your devices on the same WiFi network?
     
  7. ED98

    ED98 New Member

    I'm talking about the ADSBx image installed on a RPI3B in my local network.
    The URL is the IP address of the RPI. All devices are on the same network / Wifi.

    While I can access 1090, graphs1090, Grafana, etc. on device A (iPad); I can't on any other device.
    It seems that any additional connection is blocked.
     
  8. wiedehopf

    wiedehopf Administrator Staff Member

    That sounds like some sort of network fencing going on in your local network.
    Really can't imagine it being an issue with the image.
     
  9. ED98

    ED98 New Member

    Thank you for your help.
    I will investigate a little bit more and probably install a clean Debian with a manual ADSBx instance.
     
  10. wiedehopf

    wiedehopf Administrator Staff Member

  11. ED98

    ED98 New Member

    I think I‘ve found the cause of the problem. Somehow the RPI doesn‘t like the unifi wifi (anymore).
    All images I‘ve tested showed the same error pattern. Lastly I‘ve connected the RPI to the internal router wifi and the problem seems to be fixed.

    Thank you for your assistance.