Failed to load a resource: The network connection was lost - browser

The Safari 7 is unable to load our secure page. The developer tool shows the status code 200 but blank page is displayed. When we disabled the Java Script in browser then page loads properly. So we believe that there must be some problem in handling javascript in Safari 7. The console only displays:
"Failed to load a resource: The network connection was lost."
All other browsers are displaying the page properly.

Finally we found a root cause of this issue.
The culprit was "Transfer-Encoding" response header. We disabled Chunking (Glassfish - Network config - click on http-listener - http tab) in Glassfish and it worked properly.
Hope this helps.

Related

Internet Explorer blocks request to https://localhost

My application runs on localhost (both front-end and back-end, but on different ports). FE runs on http, but BE is on https.
All modern browsers allow adding exception so that https://localhost is accessible.
Except IE and Edge.
I've tried every option I have came across but none worked. I've added both http and https versions of localhost to Trusted Servers under "internet options". Did not work. I've checked host file, cleared cache, checked security options ...
What baffles me is that the request should be POST, but somehow the IE network panel shows it as GET. Other browsers send OPTIONS followed by POST, but IE fires GET and blocks it. It never hits the server.
What should I do to fix this?
And yes, unfortunately I DO HAVE TO support old IE, damn!
Whoa, solved by accident.
There is also Swagger running on my BE localhost. When I've tried to access it in IE, it showed warning about the invalid certificate. And only then was I able to install that certificate to IE, so that even IE would accept it.
So now when IE finally has the certificate, the request passed.
No usefull error message has been shown at all, so it took me considerable time to solve it. Damned IE.

Blocked autofocusing on a form control in a cross-origin subframe

Using Chrome, when I'm trying to change values of an input located in an IFrame of another app on our server, I get an error in Chrome:
"Blocked autofocusing on a form control in a cross-origin subframe."
On production (when the two apps are hosted on the same domain) it's working, but on localhost development I can't make it to work.
I've already tried starting Chrome with the following:
--disable-web-security
--ignore-certificate-errors
--disable-site-isolation-trials
--allow-external-pages
--disable-site-isolation-for-policy
but none worked.
Has anyone has an idea how to make it work?
If any change on server side needed, it's also an option.
For me the issue was a chrome extension ( Dashlane ). I disabled it on that site an it worked. I don't know if this helps you in any way but I had the same issue and this worked for me.
edit: I also had the issue on localhost however haven't tried it yet on server.
Go to chrome://flags
Disable SameSite by default cookies
Relaunch chrome

How to debug Failed to load resource: net::ERR_BLOCKED_BY_CLIENT

I am running Chrome 67 and I have a website broken -- but working when in anonymous mode. Obviously it's an extension. But which. I have the website whitelisted in ublock origin and yet Console says https://www.example.com/static/js/omniture/s_code_prod.js Failed to load resource: net::ERR_BLOCKED_BY_CLIENT Of course omniture is ad-like but I even tried to disable uBlock origin and restarting the browser. Still not working. Is there a way to figure out which extension blocks it?

xPages issue in Domino

I am editing and saving a xPages/custom control in Lotus Notes/Domino it works fine in web browser.
But then suddenly when refreshing the web browser I get the error as seen below.
After that I am stuck and the URL get some kind of locked with the error as seen below. The code seems to be corrupt and database can not be opened via web browser anymore.
Error 403
HTTP Web Server: You are forbidden to perform this operation

Strage DNS behavior in Chrome vs Firefox

When I try to visit http://www.taobao.com/ in Chrome I get taken to an ISP error page (http://hndnserror4.wo.com.cn:8080/issueunziped/hn20150626/index.htm?sf=&UserUrl=www.taobao.com). This doesn't happen in Firefox. I've trying clearing the DNS cache both system-wide and in Chrome.
How I can diagnose the issue?
Edit: I've simplified the question for the bounty. This problem happens on Arch Linux. I've tried using DNSCrypt. I've changed /etc/resolv.conf to use various DNS servers such as Google's. I've tried clearing the host cache from chrome://net-internals/#dns. I've disabled using a web service to help resolve navigation errors in Chrome's settings. Nothing works and every time I try to open taobao.com in Chrome I get the ISP error page. It opens the error page instantly without a redirect or waiting for the hostname to resolve. When I enter "taobao.com" into the address bar and hit enter with the Network tab open I see the first request is recorded as having a request URL of http://hndnserror4.wo.com.cn:8080/issueunziped/hn20150626/index.htm?sf=&UserUrl=www.taobao.com. How is "taobao.com" getting transformed into that between hitting enter and the page loading?
I've submitted a bug: https://code.google.com/p/chromium/issues/detail?id=510680&thanks=510680&ts=1437020912
I resolved the issue by clearing the browser data. Strange, but it worked. I went to Settings -> History -> Clear browsing data. With the defaults checked (clear following items from the past hour) it allowed me to visit http://taobao.com again. Creating a new profile didn't help. Nor did clearing the DNS cache from chrome://net-internals. I don't know if it's a bug in Chromium but I'm content to have resolved the issue.

Resources