I have to refresh the site when I open a new page

Just a annoyance that I have run into lately, when I pull up a new page on Trakt I intermittently have to refresh the page to get everything(mostly images) to load. Clickable items on the page do not work as well. I am running Firefox 96.0.2 (64-bit). Is anyone else having this issue? :thinking: I would appreciate any help that would be offered.

3 Likes

Similar issue here for about a week. Happens on Chrome and Edge browsers. When I Sign In on a new session the Dashboard does not load properly and I have to refresh the page.

1 Like

One thing to check is the browser console. I’m curious if there are any error there. It looks like the JavaScript isn’t loading for some reason.

I just tested and it does this on Chrome in Android as well. Here are some screenshots of the browser console on firefox.



trakt.tv-1643134461138.log (issue copied from Chrome console on PC):

application-89907c3f36b606dd8bfff6d781b7e8de11cc0969d4b15c8e51d0f235fbb95dba.js:78 ServiceWorker registration successful with scope: https://trakt.tv/
application-89907c3f36b606dd8bfff6d781b7e8de11cc0969d4b15c8e51d0f235fbb95dba.js:126 Uncaught TypeError: Cannot read properties of null (reading 'user')
    at traktSignedIn (application-89907c3f36b606dd8bfff6d781b7e8de11cc0969d4b15c8e51d0f235fbb95dba.js:126:79)
    at hucksterInit (application-89907c3f36b606dd8bfff6d781b7e8de11cc0969d4b15c8e51d0f235fbb95dba.js:1690:170)
    at application-89907c3f36b606dd8bfff6d781b7e8de11cc0969d4b15c8e51d0f235fbb95dba.js:1144:1
    at HTMLDocument.<anonymous> (libs-e7c702c2393768ed92990d2ea22ec4b5766b034c7a338f0ef92e63356d24d44b.js:2:53)
    at HTMLDocument.dispatch (jquery.min.js:3:7537)
    at HTMLDocument.r.handle (jquery.min.js:3:5620)
    at Object.trigger (jquery.min.js:4:4818)
    at HTMLDocument.<anonymous> (jquery.min.js:4:5328)
    at Function.each (jquery.min.js:2:2861)
    at n.fn.init.each (jquery.min.js:2:845)
dashboard:1 The resource https://trakt.tv/assets/trakt-57309740df6aa745c2e984195dd070ddc2ff8756a35229054f7c179a3dcca5be.woff?qzj7z6 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
dashboard:1 The resource https://trakt.tv/assets/logos-c2e74e1e9287cae0f70cc987f7ac27208cf70e7b3a3802e53a292627564e2e9e.woff?i7nupw was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.

1 Like

@Duff_Daily Thanks, this gives me a place to start looking.

@arcreactor those errors are all from browser extensions, I don’t see anything related to Trakt.

2 Likes

I just pushed a potential fix for this issue. Please let me know if it works any better now. I was able to test it using Firefox on Mac. Before the fix, I’d go to the website, sign in, and could see the error same error as @Duff_Daily. With the new fix, the sign in worked and I didn’t get the error.

2 Likes

Issue seems to be resolved, for me anyway. Sign in did not need a refresh. Thanks!

application-4da96cd02e4e8171ec0c6ae3bdac7aaa4fc995ab9a5d836e438f226d4ef8178b.js:78 ServiceWorker registration successful with scope: https://trakt.tv/
application-4da96cd02e4e8171ec0c6ae3bdac7aaa4fc995ab9a5d836e438f226d4ef8178b.js:3200 loading: emojis
application-4da96cd02e4e8171ec0c6ae3bdac7aaa4fc995ab9a5d836e438f226d4ef8178b.js:2876 loading: stats
application-4da96cd02e4e8171ec0c6ae3bdac7aaa4fc995ab9a5d836e438f226d4ef8178b.js:2892 loading: up next
application-4da96cd02e4e8171ec0c6ae3bdac7aaa4fc995ab9a5d836e438f226d4ef8178b.js:2929 loading: upcoming schedule
application-4da96cd02e4e8171ec0c6ae3bdac7aaa4fc995ab9a5d836e438f226d4ef8178b.js:2987 loading: minutes
application-4da96cd02e4e8171ec0c6ae3bdac7aaa4fc995ab9a5d836e438f226d4ef8178b.js:2967 loading: genres
application-4da96cd02e4e8171ec0c6ae3bdac7aaa4fc995ab9a5d836e438f226d4ef8178b.js:2906 loading: recently watched
dashboard:1 The resource https://trakt.tv/assets/trakt-57309740df6aa745c2e984195dd070ddc2ff8756a35229054f7c179a3dcca5be.woff?qzj7z6 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
dashboard:1 The resource https://trakt.tv/assets/logos-c2e74e1e9287cae0f70cc987f7ac27208cf70e7b3a3802e53a292627564e2e9e.woff?i7nupw was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.

:man_facepalming: That would be because I loaded the console after loading the page. Sorry, it’s a rookie mistake, I never needed to use the console before. :laughing:

Anyway it is loading properly for me now. Thank you!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.