Game freezes in browser

G’day folks!

I do have this online game with multiple quests and after some time of usage it freezes(always), I get stuck on the screen and need to refresh the website and login again to keep playing(sometimes I lost the progress), do you guys have any idea what it might be?

cheers in advance!!

Cocos2d-x? Do you mean Cocos2d-js?

Yes!!! Sorry! It is cocos2d-js

it might be something related to this https://www.oauth.com/oauth2-servers/making-authenticated-requests/refreshing-an-access-token/ but i’m still trying to figure it out