slametps / MMM-PrayerTime

This an extension for the [MagicMirror](https://github.com/MichMich/MagicMirror). It will display prayer time (in local time).
MIT License
20 stars 10 forks source link

module stuck in 'loading' #30

Closed hrjmsh closed 4 years ago

hrjmsh commented 4 years ago

For the last few days, the module MMM-PrayerTime has been unable to load. I have tried npm install async but nothing seems to work. On the screen, it just says ‘loading’?

belfasti commented 4 years ago

Azan stopping halfway, please help

slametps commented 4 years ago

Azan stopping halfway, please help

Check the other thread.

slametps commented 4 years ago

For the last few days, the module MMM-PrayerTime has been unable to load. I have tried npm install async but nothing seems to work. On the screen, it just says ‘loading’?

Have you got this module loaded succesfully before? Or, from the first install, it is already not loaded as expected? Is your internet connection OK and able to access/connect to http://api.aladhan.com/timings/ ?

hrjmsh commented 4 years ago

It has been on my Magic Mirror since 2018. Has been fine throughout all the Magic Mirror and Raspbian upgrades. Only recently, it has started to have this problem.

masnizar commented 4 years ago

any solution ho to solved keep loading issue and how to check detail log image Thanks

hrjmsh commented 4 years ago

any solution ho to solved keep loading issue and how to check detail log image Thanks

I left it like that and it started working a few days later.

slametps commented 4 years ago

you have to ensure that your internet connection is ready before starting the module. If you want to update more regularly, you need to change value of updateInterval with less value (86400 means the update is once a day).

Zamy97 commented 2 years ago

I am having the same issue! It was working fine for the past few months but it randomly started showing loading only.

I ran the npm start dev and on the browser it is showing MMM-PrayterTime: got HTTP status -0 and then it is showing some error from api.aladhan.com/timing as well. Any help please?

Zamy97 commented 2 years ago

for those that might come here after me! the aladhan.com updated their api so lemme see if I can make a pr to fix it. i was able to fix it in my system.

slametps commented 2 years ago

for those that might come here after me! the aladhan.com updated their api so lemme see if I can make a pr to fix it. i was able to fix it in my system.

Pls feel free to send a PR.

hrjmsh commented 2 years ago

It has been stuck for the last couple of weeks. Please let me know how you fixed it as this module was the sole reason for me to make the Magic Mirror and I adore the sound of Adhan being heard in my house.

slametps commented 2 years ago

pls update your local copy for latest update (fix).

masnizar commented 2 years ago

Now i can hear Adzan again after updated to the latest update. Thanks,

hrjmsh commented 2 years ago

Working now! Thank you.