Normally, most of the machines get error when opening url https://host:port/app/xx.do
IE: The security certificate presented by thi swebsite was issued for a different website's address
Chrome: Your connection is not private -- There are issues with the site's certificate chain (net::ERR_CERT_COMMON_NAME_INVALID)
After clicking "Continue"/"Process", it is expected to
IE: Load every dependency including the jar
Chrome: A popup error says: The xxx has not been initialized!
However, there is one machine, it doesn't get the certificate error in both browsers, nor the jar initialized error in Chrome.
When trying to test the web through IE, surely it failed without any warning messages.
So, how can we get the certificate warning back? And let the IE load that jar as normal.
Related
I have a local web server set up at 192.168.1.39 with domain www.server.local. DNS has been configured to resolve this properly on my router.
Everything worked just fine until recently. My browser started to report the following error if I access page like www.server.local/page.html that references external resources.
Access to CSS stylesheet at 'https://cdn.jsdelivr.net/npm/reveal.js#4.1.0/dist/reset.css' from origin 'http://www.server.local' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space `local`.
However, if http://192.168.1.39/page.html is used, the page opens properly.
But the error message really confuses me, because it suggests the css hosted at jsdelivr is in a private address space! Seriously?! Or did I miss something?
My Browser: Microsoft Edge 94.0.992.31 (Official build) (x86_64)
You can try this solution:
Open Edge and navigate to edge://flags/#block-insecure-private-network-requests
Disable the highlighted option Block insecure private network requests.
Restart Edge and test again.
For more details, you could refer to this blog: https://developer.chrome.com/blog/private-network-access-update/
I cannot view GitHub documentation (https://docs.github.com/*) in Chrome 79.0.3945.117
(MacOS 12.0.1): I see only a blank page.
In the Chrome console, I see the following errors:
DOMException: Failed to execute 'sendBeacon' on 'Navigator': sendBeacon() with a Blob whose type is not any of the CORS-safelisted values for the Content-Type request header is disabled temporarily. See http://crbug.com/490015 for details.
DOMException: Failed to execute 'sendBeacon' on 'Navigator': sendBeacon() with a Blob whose type is not any of the CORS-safelisted values for the Content-Type request header is disabled temporarily. See http://crbug.com/490015 for details.
A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred
Error rendering page: TypeError: Cannot read property 'cookies' of undefined
Failed to load resource: the server responded with a status of 404 ()
I have installed a newer version of Chrome (96.0.4664.55) and now I can see the GitHub Documentation Page (thanks #albert for the suggestion).
I was sure that Chrome Automatic Update was activated but clearly I was wrong.
Now I have to check from time to time whether Chrome Automatic Update works propertly.
I've been searching for a while now and I can't find the exact list of all fail to load error code/error description of google chrome.
I'm talking about this the highlighted text
Can someone give me a link?
I did some digging and I must admit, it's not easy to find a full exhaustive list of all (Chromium) networking error codes.
The full list of all Chromium error codes can be found in the file net_error_list.h:
https://cs.chromium.org/chromium/src/net/base/net_error_list.h
It looks like Google Chrome prepends ERR_ to all the codes listed in the above list.
However, error codes in XHR error responses are slightly different. These codes follow the format of the linux system file errno.h as defined by POSIX.1-2001, or C99:
http://man7.org/linux/man-pages/man3/errno.3.html
Finally, some common NodeJS errors have been listed at the NodeJS API Documentation:
https://nodejs.org/api/errors.html#errors_common_system_errors
I'd like to end this answer with a simple comparison example. The error of an operation timeout would be named as follows by the listed 'standards':
TIMED_OUT internally in Chromium.
ERR_TIMED_OUT displayed in Google Chrome.
ETIMEDOUT in the XHR error object (error.code).
Using your example:
CONNECTION_REFUSED -> internally in Chromium
ERR_CONNECTION_REFUSED -> displayed in Google Chrome
ECONNREFUSED -> in linux (POSIX.1) or network error stacks
By the way for only listing all error codes
USE :
chrome://network-errors/
It's about 220 in total as of now in chrome version (69.0.3497.100)
I have chromium Version 97.0.4692.71 (Official Build), snap (32 bit), on Description: Ubuntu 18.04.6 LTS. The problem was solved using the command in the terminal
chromium --no-sandbox
after that everything worked.
When I try to run the Polymer Shop locally, both the bundled and unbundled builds, using the SimpleHTTP2Server , on my local host using port 5000, the request for service-worker.js fails:
An SSL certificate error occurred when fetching the script.
https://localhost:5000/service-worker.js Failed to load resource: net::ERR_INSECURE_RESPONSE
(index):1 Uncaught (in promise) DOMException: Failed to register a ServiceWorker: An SSL certificate error occurred when fetching the script.
Is there an easy way to get this to work? I tried a number of start up flags, like:
chrome.exe --ignore-certificate-errors --incognito
--unsafely-treat-insecure-origin-as-secure --allow-insecure-localhost
but that didn't help, I still get:
(index):1 Uncaught (in promise) DOMException: Failed to register a ServiceWorker: An SSL certificate error occurred when fetching the script.
Following alesc's suggestion, I found instructions here:
These are instructions for Chrome 55 on Windows 10. It seems these steps may change frequently.
On the page with the untrusted certificate (https:// is crossed out in red), click the lock so a popup opens up.
Click the Details link under the information section at the top.
Click on the View Certificate button.
Click on the Details tab
Click on the Copy to File
Click Next
Export as PKCS #7
Open up Chrome Settings > Show advanced settings > HTTPS/SSL > Manage Certificates
Import the certificate created in step 7 to both the Intermediate Certificate Authorities tab as well as the Trusted Authorities Tab.
Restart Chrome and open your localhost site.
When I try to access jsfiddle.net from my machine, browser doesn't load the page correctly. I checked on console and it shows following errors:
Uncaught SyntaxError: Unexpected token ) jsfiddle.net/js/EditorCM.js?nojobofferinsidebar:290
Uncaught ReferenceError: MooShellEditor is not defined jsfiddle.net/:89
Uncaught TypeError: Cannot read property 'editor' of undefined jsfiddle.net/js/Actions.js?nojobofferinsidebar:151
I tried on Chrome, Firefox and IE but getting errors on all. Is there any specific browser settings? I can see it's working on different machine.
Posting reply after long time but hope it will be helpful to someone.
If you have Proxy server settings selected under LAN Settings of IE (Tools -> Internet Options -> Connections tab -> LAN settings) then the errors were shown on the console. If I select Automatatically Detect Settings then it worked fine.
If you start Fiddler on your machine then it will select proxy server settings. Probably, that was causing an issue for me.