Gilbert Mendoza
Gilbert Mendoza

Reputation: 415

Chrome Fail Error Codes

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

enter image description here

Can someone give me a link?

Upvotes: 10

Views: 16968

Answers (3)

Alex
Alex

Reputation: 1

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.

Upvotes: -1

Rahul_Dange
Rahul_Dange

Reputation: 262

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)

Upvotes: 12

user1878974
user1878974

Reputation:

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

Upvotes: 15

Related Questions