AdamMoses-GitHub / MMM-DCMetroTrainTimes

A module for the Magic Mirror to display DC metro train arrival times for the various stations as well as any reported incidents.
MIT License
16 stars 11 forks source link

'Error: Too Many REST Failures' after module operation for extended period #2

Open kyle-kelly opened 6 years ago

kyle-kelly commented 6 years ago

I continue to move into a state (perhaps after anywhere from 1 to 7 days) where the module only displays 'Error: Too Many REST Failures' and then never recovers without a MM restart. However, after the restart the module always and immediately begins to work.

I attempted to get around this by commenting out this line. However, the error persists.

This tells me that I am continuing to receive errors from the WMATA API calls, and therefore the module will continue to display the error message.

BUT, going into my WMATA account, I can see that in the past 90 days I have made 324,169 successful calls and only 2 failed calls. Now I am not sure if an error is only considered a fail or if errors can be contained in a successful call. My graph or error calls appears to flat and at 0.

Any ideas on why this may be happening?

johnstep93 commented 3 years ago

I've been having this issue as well, any luck in figuring out a workaround? I'm currently using scheduled restarts of my mirror so it's working in the mornings.

kyle-kelly commented 3 years ago

@johnstep93 I'm pretty sure this repo is not maintained. I forked it and maintain my own. I’ve also added bus times. You can see it here: https://github.com/kyle-kelly/MMM-DCMetroTimes

johnstep93 commented 3 years ago

@kyle-kelly Thanks for letting me know! I'll try switching over!