nhl-led-scoreboard icon indicating copy to clipboard operation
nhl-led-scoreboard copied to clipboard

Unable to connect to EC

Open pjockey opened this issue 3 years ago • 8 comments

Describe the bug The scoreboard starts, but then stops, matrix has nothing on it.

Logs Unable to connect to EC, try running again in a few minutes

Your config file "weather": { "enabled": true, "view": "full", "units": "metric", "duration": 60, "data_feed": "EC", "owm_apikey": "", "update_freq": 5, "show_on_clock": true, "forecast_enabled":false, "forecast_days": 3, "forecast_update": 1 }, "wxalert": { "alert_feed": "EC", "update_freq": 5, "show_alerts": false, "nws_show_expire": false, "alert_title": true, "scroll_alert": true, "alert_duration": 5, "show_on_clock": true } Hardware you are using

  • Raspberry pi model 3B+
  • The Matrix driver (Adafruit Bonnet or Adafruit HAT): Bonnet
  • Anti-flicker mod or not? : YES

Software

  • Which version of the software are you on? : 1.6.10

pjockey avatar Oct 05 '22 01:10 pjockey

There was an issue with the EC Data Mart. It was extremely slow, even on a browser (taking 7 to 10 seconds to download the xml file). It looks like this has now cleared up. I'll look at adding something to bypass if this happens in the future and allow the board to run ion start rather than stopping.

falkyre avatar Oct 05 '22 01:10 falkyre

This will be fixed in next release so if on start and it can't connect, the EC thread won't stop the board from running.

falkyre avatar Oct 15 '22 18:10 falkyre

I have the same issue even though I have owm weather selected instead of ec. The board will not start. I ran the setup again and selected no to the weather data feed and weather alerts. It works fine now.

"2022-11-03 08:15:48 ERROR Unable to connect to EC, try running again in a few minutes"

abec427 avatar Nov 03 '22 12:11 abec427

Do you have the weather alerts for EC selected? If so, eventhough you are using OWM, EC will be used to get the alerts. Easiest fix until the new version comes out is to disable the weather alerts in your config.json.

falkyre avatar Nov 03 '22 19:11 falkyre

I disabled the weather boards in config.json. It works well like that.

abec427 avatar Nov 19 '22 22:11 abec427

Verified again today there is an issue connecting to EC

VegasPrinted avatar Nov 28 '22 22:11 VegasPrinted

Is this still not working? Or can I re-enable it? Thanks Scott

pjockey avatar Dec 22 '22 03:12 pjockey

If you aren't using the beta branch, this issue is still there. The code under beta will remove the sys.exit(0) from line 103. If you want a quick fix, you can comment or remove that line out and this will fix the looping on start if your board is unable to reach EC or if they are having data mart issues.

falkyre avatar Dec 24 '22 17:12 falkyre