You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running Magento 2 (Adobe Commerce) in Docksal, static assets sometimes return net::ERR_FAILED rather than loading the asset. Opening the asset in a new tab, or refreshing the page will typically load fine. Refreshing the page sometimes has dozens of these, sometimes none, so it seems like it's happening in the infrastructure rather than a code issue. The same codebases work fine on other hosting environments, local docker based ones such as Den (Warden) or hosting env with apache or nginx.
Much of the time these are simple .gif files that do not impact usage of the site, but when they are js files then it causes numerous issues of course.
I tried both with the default stack as well as the platformsh stack to try nginx. Looking in the logs when I am getting a failure shows 200 response for the assets that are failing to load.
Also note that with Drupal 10 I see more network requests happening than with Magento, but they all succeed. Additionally, the Magento system for static assets routes them through a php process to handle asset versioning/cache busting and 404s, so possible that is the difference here?
Steps to reproduce the issue:
Set up a Magento 2 site with sample data and the "default" stack
Load a page, notably admin pages such as the customer grid
Look in the network tab, or console for various static assets giving a net::ERR_FAILED response instead of loading
Refresh, and observe less, or more, or different files doing the same thing
Describe the results you received:
Misc assets fail to load, differing on each page load.
I'm experiencing the same issue with Drupal 10.
This seems to be related to HTTPS protocol as I was not having this issue before setting up the URL redirect from HTTP to HTTPS.
I can confirm I have the same issue with Drupal 10, https and Chrome. Refreshing the page most of the time loads the resources however every other page refresh will fail which makes it very inconvenient.
Description
When running Magento 2 (Adobe Commerce) in Docksal, static assets sometimes return
net::ERR_FAILED
rather than loading the asset. Opening the asset in a new tab, or refreshing the page will typically load fine. Refreshing the page sometimes has dozens of these, sometimes none, so it seems like it's happening in the infrastructure rather than a code issue. The same codebases work fine on other hosting environments, local docker based ones such as Den (Warden) or hosting env with apache or nginx.Much of the time these are simple .gif files that do not impact usage of the site, but when they are js files then it causes numerous issues of course.
I tried both with the
default
stack as well as theplatformsh
stack to try nginx. Looking in the logs when I am getting a failure shows 200 response for the assets that are failing to load.Also note that with Drupal 10 I see more network requests happening than with Magento, but they all succeed. Additionally, the Magento system for static assets routes them through a php process to handle asset versioning/cache busting and 404s, so possible that is the difference here?
Steps to reproduce the issue:
net::ERR_FAILED
response instead of loadingDescribe the results you received:
Misc assets fail to load, differing on each page load.
Describe the results you expected:
All static assets load even time.
Output of
fin config
:fin config output
Output of
fin sysinfo
:fin sysinfo output
The text was updated successfully, but these errors were encountered: