Dashticz / dashticz_v2

Alternative dashboard for Domoticz
107 stars 59 forks source link

Some items keep loading (in Windows, iOS) #284

Closed HansieNL closed 6 years ago

HansieNL commented 6 years ago

Google agenda, publictransport and tv guide keeps loading in my Dashticz dashboard. I did a clean install of the latest beta and used the default config.js. Even then I have problems with loading the items publictransport and tvguide. The strange thing is I don't have problems when running in Ubuntu Linux. My old version from august (was running fine for months) but has same loading problems now.

Tontze commented 6 years ago

I have same issue with my calendar.

DewGew commented 6 years ago

@robgeerts and @aiolos you are needed

aiolos commented 6 years ago

What exactly keeps loading? And do the developer tools give any insight? (like failing requests) It sounds more like something has changed with these calendars or the loading of external data. (given that an old version suddenly stops working)

Which browsers do have this problem? Does a change of the browser solve the problem?

Tontze commented 6 years ago

Calendar, it worked before just fine. chrome and IE, same thing, just loading. In console of chrome: jquery.min.js:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.

Tontze commented 6 years ago

Oh, and if i click calendar(where reads only loading...) it actually downloads correct calendar .ics

robgeerts commented 6 years ago

Weird, just tested on my windows pc on chrome. Works fine.. The error you mention you get in console has nothing to do with this ;) Could you check the network tab for any red-colored requests?

Timme001 commented 6 years ago

Same issue as reported by Tontze. Network tab does not show any red colored requests. When filtering on ical in network tab I see request to https://wedevise.nl/dashticz/ical/?time=1521500050665&url=https://calendar.google.com/calendar/ical/ti........................

The Ical URL itself works as it download an .ics file

Tontze commented 6 years ago

In beta it worked, but today chrome console :

dashticz.nl/ical/?time=1522692868423&url=https://www.hobbydeed.com/api/v2/public/calendar-share/fi/user/-s5895b91c4e2be4.56780603/file/all.ics Failed to load resource: the server responded with a status of 404 (Not Found) (index):1 Failed to load http://dashticz.nl/ical/?time=1522692868423&url=https://www.hobbydeed.com/api/v2/public/calendar-share/fi/user/-s5895b91c4e2be4.56780603/file/all.ics: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://192.168.8.150:8080' is therefore not allowed access. The response had HTTP status code 404.

And again. clicking loading text downloads correct .ics

Tontze commented 6 years ago

Works again :)