Before I submit a bug report I am just trying to confirm this is not just a issue with my local machine.
Wappler 5.8.0 / Mac OS / Docker / Node Js / Postgres
After upgrading to Wappler 5.8.0 my localhost seems barely able to ever load my pages It will start showing the loading bar as browsers do when loading and then at about 1/5 of the actual browsers loading bar it will just get stuck and the page isn’t been loaded.
If I disable Redis in server connect settings it seems to be loading my pages and not hanging on the load just cant workout if this is a bug on my end or not?
Edit converted into bug report as seems it could be a bug below has things we tried and a error in the web server logs
Might be an issue with the new caching middleware if you still have old caching data in your redis db. Clear db 0 of your local redis instance and see if the pages load properly. This will clear your sessions as well.
It looks like it doesn’t even get chance to populate network it just has what the previous page was first screen shot is loading before container was deployed but then from there I refreshed once it was ready and as you can see the loading bar it just stops there randomly:
I have been getting similar errors. If you are using Docker, try stopping and restarting the local Docker node server. If that doesn’t work, restart Wappler. There seems to be a timing issue with Redis not restarting when node server restarts after a page is saved.
Ok, so we also need to see your Docker dashboard, to see if the Redis container is running. If not using Docker Desktop, the docker ps command also works
P.S.: To clarify guptast’s post above, Redis never restarts after you save a page, that’s just NodeJS. What could be happening is NodeJS tries to use Redis stuff before it has a chance to connect to it (race condition). However, because we’re seeing a timeout in the NodeJS logs, this can’t be a race condition issue
Have you executed “deploy” on this target so that the new node modules get installed? Or at least “install node modules” command from the bottom publishing toolbar.