Open gabrielmc9 opened 2 years ago
I was getting the same error but for NBA scores. What I did to fix the issue was open the ESPN.js file inside of the MMM-MyScoreboard directory at around line 395 var url = "https://site.api.espn.com/apis/site/v2/sports/" you want to change the URL from https to http. Now I get NBA scores. Odd you have to remove https. So just remove the s from https Hope this helps people who are having this issue.
Thanks, @01ZerosOnes01 - That did the trick. Appreciate the tip! Earlier I thought maybe the issue might have been related to expired certs on my instance of Buster. I haven't updated RaspiOS in a while. Updates made no difference. I wonder why more people aren't having the same issue...
Thanks again!
Hi - I've not been able to get scores for a number of leagues since the last update. Error from the log as follows:
[22.10.2022` 18:18.17.181] [LOG] [MMM-MyScoreboard] 22-Oct-22 18:18 ** ERROR ** Couldn't retrieve ESP_LALIGA data for provider ESPN: Error: certificate has expired
[22.10.2022 18:18.17.182] [LOG] [MMM-MyScoreboard] https://site.api.espn.com/apis/site/v2/sports/soccer/esp.1/scoreboard?dates=20221022&limit=200
[22.10.2022 18:18.17.189] [LOG] [MMM-MyScoreboard] 22-Oct-22 18:18 ** ERROR ** Couldn't retrieve NCAAF data for provider ESPN: Error: certificate has expired
[22.10.2022 18:18.17.191] [LOG] [MMM-MyScoreboard] https://site.api.espn.com/apis/site/v2/sports/football/college-football/scoreboard?dates=20221022&limit=200&groups=80
[22.10.2022 18:18.17.201] [LOG] [MMM-MyScoreboard] 22-Oct-22 18:18 ** ERROR ** Couldn't retrieve NCAAM data for provider ESPN: Error: certificate has expired
[22.10.2022 18:18.17.204] [LOG] [MMM-MyScoreboard] https://site.api.espn.com/apis/site/v2/sports/basketball/mens-college-basketball/scoreboard?dates=20221022&limit=200&groups=50
Config is as follows:
{` module: "MMM-MyScoreboard", position: "top_center", classes: "default everyone", header: "My Scoreboard", config: { showLeagueSeparators: true, colored: true, rolloverHours: 6, viewStyle: "oneLineWithLogos", sports: [ { league: "ESP_LALIGA", label: "Spain La Liga", teams: ["BAR", "VAL", "MAD"], }, { league: "NFL", label: "NFL", // teams: ["SEA", "GB", "NYG", "NYJ"], }, { league: "MLB", label: "MLB", teams: ["NYY"], },
{ league: "NCAAF", label: "College Football", teams: ["WISC"], },
{ league: "NCAAM", label: "College Basketball", teams: ["WISC", "WIS"], }, // { // league: "NCAAM_MM", // label: "March Madness", // teams: ["WISC"], // },
] } }
MLB and NFL scores post correctly. I tried WISC and WIS for Wisconsin. Neither work.
Thanks.