Chrome Fail Error Codes - google-chrome

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.

Related

Event Subscription not working with error interrupted system call

I am trying to establish an event subscription via zmq from my locally running sawtooth network. As soon as I start my event-subscriber container, I get the error "interrupted system call".
I am following the example from here https://github.com/danintel/sawtooth-cookiejar/tree/master/events/go
I have tried using validatorUrl as tcp://localhost:4004 tcp://validator-0:4004
note: validator-0 is my local container name for the validator
Also, have tried with the direct IP of the validator container tcp://<IP>:4004
zmqConnection.RecvMsgWithId() is throwing the error.
The error I am getting is exactly at this line https://github.com/danintel/sawtooth-cookiejar/blob/master/events/go/src/events_client.go#L105
Can someone please help for the probable reasons or the way I can debug this one?
I do not know, but one possible cause is this example was recently updated to a new version of Go, 1.11 (from 1.9) after your posting:
https://github.com/danintel/sawtooth-cookiejar/pull/9
Because of this error:
Loading input failed: unsupported version of go: exit status 2: flag provided but not defined: -compiled
The issue was related to inter-pod communication. So the issue was, my event subscriber client was in a completely different pod than the pod where the validator container was running. In that case, we need to used the FQDN of that pod. Refer to the link below.
https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-hostname-and-subdomain-fields

Browser doesn't show expected certificate error

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.

Google push notifications - DOMException: Registration failed - push service error

I am trying to enable push notifications on my website using VAPID keys.
When i include the gcm_sender_id and remove the applicationServerKey from the pushManager.subscribe method, it runs fine.
Only when i enable VAPID keys and remove the gcm_sender_id from manifest.json file. i get the foloowing error.
DOMException: Registration failed - push service error
I am using Chrome browser.
I encountered this error in Brave browser. By default, Google Services for push messaging are disabled in Brave. To enable this, open the following URL in brave:
brave://settings/privacy
After this, enable the flag "Use Google services for push messaging":
Source:
https://github.com/firebase/firebase-js-sdk/issues/3195#issuecomment-848036637
The applicationServerKey that i was using in the pushManager.subscribe method was somehow incorrect.
It worked when i regenerated the keys in node using the following module.
const webpush = require('web-push');
const vapidKeys = webpush.generateVAPIDKeys()
In my case,I was trying to run firebase messaging on a flutter web.
My Browser was BRAVE.
It always failed with an exception of firebase fcm registration push servic error.
I followed #Nicodemuz answer, but it didn't solve the issue. I get the same error.
The only solution was setting Google chrome as my executable.
Anyhow the issue is not with firebase or flutter, it's with the brave browser itself.

JsFiddle.net - MooShellEditor is not defined

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.

Got "you are using unsupported command-line flag: --disable-web-security. Stability and security will suffer" error

I got this below error while using Selenium RC for Google Chrome
you are using unsupported command-line flag: --disable-web-security. Stability and security will suffer.
I don't know whats the issue with chrome.
Reference code for flag --disable-web-security
// Don't enforce the same-origin policy. (Used by people testing their
sites.)
const char kDisableWebSecurity[] = "disable-web-security";
It disallows cross scripting code, what are you doing on selenium RC?
In feb 2013, someone (expert user/dev "PhistucK"; 1498 Posts as of 01/2014) said on the chrome-discuss gougle-group:
No, it [the notification] cannot be switched off. You can compile Chromium by yourself and remove the code that shows it.