I am developing an e-commerce solution using NextJS and Shopify, and would like to host the site on Netlify.
You can find the site home page here.
Now, the issue is that Netlify returns a 502 error and times out. And the thing that really throws me for a loop is that if you click around in the site, then it works fine.
So, the link I provided above goes to the home page, which uses some server side rendering and will time out. However, if you go to the about page here. Then click on the home page (by clicking the top left "company logo"), then everything loads fine. That makes absolutely no sense...
What could I possibly be missing? I have the netlify nextjs plugin. Everything works fine locally. And as I said, it works fine once you're clicking around within the site.
Side note: I can't release the code for confidentiality. So let's assume the api calls and stuff are all fine (I was not having this issue two weeks ago and there are branch deploys where zero code changed in that period of time). Really, I want to know if anyone has run into something like this with SSR and Netlify.
Related
I have a site that I made updates to, however none of the changes show up when I log out. I can see all the changes on the pages when I am logged in, but I even went as far as to remove a link from the top menu and I still see the link when I log out.
It's almost like I'm seeing a different instance of WordPress when logged in, but I have no idea how that would happen. There's only one database so that can't be the case right?
The URL is https://CXForward.com
I tried removing the "Our Services" link from the top menu, and everything looks fine while I'm logged in, but as soon as I hit log out or view it from a different browser, the link is still there. I'm hosted on SiteGround. Has anybody experienced anything like this?
EDIT: I've found that I can upload a file that is visible in both the browser I'm logged in with as well as another browser that is not logged into the site: https://cxforward.com/wp-content/uploads/testing.txt
So it would appear that I am pointed to the same code base at the very least.
I figured it out. There's a SiteGround Optimizer plugin that apparently does caching for the site. It's bizarre. I deactivated the plugin, then reactivated it and all my changes appeared on the site when logged out. So weird.
I'm working on a project using WP's API along with VueJs + Nuxt for the front-end. Everything seemed to be working just fine, but since yesterday not all of my changes are fetched by the API.
It's really weird because, in the WP admin my changes are displayed as normal, but when looking at the response using postman, I can only see what was on my site prior to my changes, or only a few recent changes that don't even appear on the final render.
I am not using any type of extensions for cache as of now, but I've tried several extensions to empty it anyway, even if all of them signaled me that nothing is in the cache.
Could it be that the API got somehow "stuck" at some point and now no update is ever taken into account? Then is there anyway to "reset" this and force it to update?
Problem solved! I am using Gandi to host my site and I had no idea thye used Varnish as a caching solution. Disabled it and everything went back to normal. Thanks for your answers!
I am developing a website and I faced an issue today on my site, I will try to briefly explain the scenario hoping anyone could give a proper explanation for it.
My website is a WordPress website and I have the coming soon page activated so users will be redirected to it.
Two days ago I turned that plugin off by mistake and users were able to see my page. Today I turned it back on, and that's where the issue arises.
In full web (desktop) the coming soon page is visible and working fine, but when I hit the responsive view on my chrome browser the page is still available and the welcome page is not. In the sources tab, I can see the hosted directory being loaded so I went to the hosted directory (public_html) and I hid the folder that contains all the assets (renamed it to .foldername).
I hit refresh still loads the old page when I hit ctrl+shift+r I get the new version. On Firefox the scenario isn't reproducible it just happens on responsive view on Google Chrome browser.
Can anybody explain to me what's happening I assume it has something to do with Google caching my webpage and never updating it. But if like to hear a more professional explanation Thanks.
Have you tried clearing your Cache in Google Chrome? Also, Have you enqueued any Scripts or Styles in your functions.php file? If so, increase their version number. This will force the browser to download the Scripts and/or Styles again rather than loading any Cached copies.
Hope this helps to resolve your problem(s).
I'm trying to do the tutorial from the meteor site but the moving between pages is not working. For example the ToDo App tutorial, clicking on any of the sections 2 to 12 does not open the instructions for that section. It just stays on the first section. Thought the address bar changes. I've tried on multiple browsers but on one PC.
It's working now :) Eish we are so entitled, a free service stops working properly for a little and we go crazy.
I have the same problem on different WordPress based websites.
I developed some of them, while others are made by someone else.
They don't have that much in common: completely different websites, different themes/plugins and so on.
Recently in these websites, I've been experiencing this problem: WordPress is caching the backend in a really tough way and, after saving any edits, I have to force a refresh with ctrl+f5 to actually see the edits I made before.
After some digging I can assure that:
it doesn't seem to depend on the webserver (same problem on nginx and on apache)
it doesn't depend on varnish or wp caching plugins (it happens also on website without any cache solutions)
it happens just in some new wp releases, I'm not experiencing this problem on older websites
it doesn't depend on my pc/browser configuration because my colleagues are experiencing the exact same problem on their pc
Anyone who had the same problem and was able to find a solution?
EDIT: It actually happened also on a fresh WordPress installation. Once I created a page, I went back to the page list by clicking on the menu item and I couldn't see the page in the list. After forcing a page refresh the newly created page was there as it was supposed to be before.