Jump to content
HAIRWEBSHOP

net::ERR_CONNECTION_RESET in Google Chrome

Recommended Posts

Hello, 

 

Recently, a lot of image, fonts, javscripts etc... are randomly failing to load in Google Chrome, I think some of our customer orders are failing because of this. It says "net::ERR_CONNECTION_RESET" I made sure to delete all cache, including browser and varnish cache from my webhost, our SSL certificate is still valid and all HTTP connections are properly redirected to HTTPS. There are no errors in the PHP error log.

 

I contacted our webhost, they told me everything is up and running and they didn't experience the problem, but in Google Chrome. Can someone please help me figure out a solution to this problem. I'm using the latest Prestashop Version 1.6.1.11

 

Thank you in advance!

Edited by HAIRWEBSHOP (see edit history)

Share this post


Link to post
Share on other sites
On 1/30/2017 at 7:00 PM, HAIRWEBSHOP said:

Hello, 

 

Recently, a lot of image, fonts, javscripts etc... are randomly failing to load in Google Chrome, I think some of our customer orders are failing because of this. It says "net::ERR_CONNECTION_RESET" I made sure to delete all cache, including browser and varnish cache from my webhost, our SSL certificate is still valid and all HTTP connections are properly redirected to HTTPS. There are no errors in the PHP error log.

 

I contacted our webhost, they told me everything is up and running and they didn't experience the problem, but in Google Chrome. Can someone please help me figure out a solution to this problem. I'm using the latest Prestashop Version 1.6.1.11

 

Thank you in advance!

Hi, did you solved the problem?

Share this post


Link to post
Share on other sites
21 hours ago, tantan199 said:

Hi,

Is working fine on firefox ? is there any chrome plugins ?

Best regards.

 

Works well with Firefox most of time, Sometimes Firefox will slow down unexpectedly with 30+secs TTFB,

When I switched to Chrome it has become worst, normally the problem started with CSS, JS, IMAGES connection error on any files randomly, after that browser request will fail with connection reset error.  Both frontend and back office unable to access at the same time when the problem occurs.

 

Sometimes Prestashop may work perfectly fast and smooth for few hours.

 

I had tried :

- Clear browser cache

- Clear Prestashop cache

- Disable all cache on Prestashop

- Disable most Chrome extensions

- 4 PC, 2 ISP

 

None of above solved this problem.

Do you have any ideas?

screenshot2.jpg

Screenshot.jpg

Extension.jpg

Share this post


Link to post
Share on other sites

It seems there is javascript error occurred, as I can't access your backoffice, so I can't get any solutions.

Share this post


Link to post
Share on other sites

The error you are having is indicated by local (browser) firewall. It detects that the script on your server is trying an XSS-attack (cross-site-attack). Seems you are using an insecure YouTube module.

There are two possibilities for to manage this error:

You add your page as secure on your local firewall for to access /shopadmin OR better you identify the script and debug or eliminate it.

The error in your browser is saying that your local machine has discontinued/aborted the internet connection. In most of the cases you also loose your cookie session and you need to login again to your back-office. For to debug the error on browser click on link I added one line before. As the both errors are related, perhaps if you fix the script on your server, the error on browser will also gone.

 

Share this post


Link to post
Share on other sites
46 minutes ago, tantan199 said:

It seems there is javascript error occurred, as I can't access your backoffice, so I can't get any solutions.

 

The javascript error is because null returned. Error disappear when there is no connection reset issue. Please refer to normal screenshot below.

 

36 minutes ago, selectshop.at said:

The error you are having is indicated by local (browser) firewall. It detects that the script on your server is trying an XSS-attack (cross-site-attack). Seems you are using an insecure YouTube module.

The error in your browser is saying that your local machine has discontinued/aborted the internet connection. In most of this case you also loose your cookie session and you need to login again to your back-office.

There are two possibilities for to manage this error:

You add your page as secure on your local firewall for to access /shopadmin OR better you identify the script and debug or eliminate it.

 

 

I disabled Youtube module to check if it helps.

Btw, I'm still able to continue cookie session after connection reset.

 

screeshot4.jpg

Share this post


Link to post
Share on other sites

Well, we are now mixing here two different problems.

@HAIRWEBSHOP - Prestashop never run with varnish cache. You should disable it.

@KentChang -  1) You added your site to whitelist on local firewall ? Alternative is to disable xss-messaging for your browser, if they are false.

2) You cleared also the cache after module disabling ?

3) As module disabling does not taking effect, you should deinstall the module.

4) Disable the browser plugin Avira. Better you use a local firewall instead. Take for ex. Anti-Malwarebytes on where the false/positives are better recognized.

5) Second error is coming from an extra module you are using on product page. Deinstall all overrides and non native modules. Reinstall one by one by checking when exactly the error is again appearing. This module should be debuged.

Share this post


Link to post
Share on other sites

It was good until today.  I noticed the problem always started with single CSS file connection error, when I refresh, I got the screenshot below. The files with connection error are different every time the problem occurs. It'll back to normal after some times.

I removed Avira extension and uninstalled youtube plugin.

 

I'm using subdomain, could it be an issue?

To be more specific, I'm using Prestashop v1.7.3, my server was built with serverpilot. I have another 4 years old Magento site but never seen this error before.

Screenshot.thumb.jpg.1fb16f9a15c154cda648e541cc68f9c4.jpg

Share this post


Link to post
Share on other sites

All token errors seems to be a firewall problem on your server. Contact your provider and ask him to set to whitelist Prestashop's IP's. There are several services Prestashop use on back-office. If they are blocked, you will get this problems.

Your provider should check which IP's are running into blacklist on the server logs.

For the css-errors, check the permissions on your server. Each folder and sub-folder should have 0755 at least, all files should have chmod 0644.

Yes, sub-domains could be a problem with PS 1.7.3 - see here: https://www.prestashop.com/forums/topic/687248-prestashop-1730-cdn-sub-domain-error/

Share this post


Link to post
Share on other sites

The error this site can't be reached problem is usually generated mostly if you don't have a connection to the Internet or a misconfigured network. It can also be triggered by a dead DNS server response or a firewall blocking the Google Chrome from locating the network.  DNS is that network address that translates the website name to its internet address.  Another reason could be the firewall preventing Google Chrome to load the webpage. In order to fix this “connection” error, there are a few simple steps that you could apply, such as:

  • Clear your browser cache.
  • Reset your IP address & flush the DNS cache.
  • Check proxy settings.
  • Disable your firewall.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More