🌐 Networking Errors

45 error notes

networkingbeginner

Fixing Nginx Error: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)

nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginxlinuxdevopstroubleshooting
networkingbeginner

Fixing the PostgreSQL 'no pg_hba.conf entry for host' Error

FATAL: no pg_hba.conf entry for host "1.2.3.4", user "admin", database "prod_db", SSL off
postgresqldatabase-administrationnetworkingdevops
networkingintermediate

Fixing CORS Error: Response to preflight request doesn't pass access control check

Access to XMLHttpRequest at '...' from origin '...' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
corsaxiospreflighthttp-options
networkingintermediate

Fixing the Git Error: SSL certificate problem: self signed certificate

fatal: unable to access 'https://github.com/...': SSL certificate problem: self signed certificate in certificate chain
gitssldevopstroubleshooting
networkingbeginner

Fixing the SSH 'Broken pipe' Error: How to Keep Your Sessions Alive

packet_write_wait: Connection to 192.168.1.100 port 22: Broken pipe
sshnetworkinglinuxdevops
networkingintermediate

Fixing net::ERR_EMPTY_RESPONSE: When the Server Hangs Up Without a Word

net::ERR_EMPTY_RESPONSE
nginxhttpnetworkingtroubleshooting
networkingintermediate

Fixing MaxRetryError and Connection Refused in Python urllib3

urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='...', port=80): Max retries exceeded with url: /api/endpoint (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object>: Failed to establish a new connection: [Errno 111] Connection refused'))
pythonrequestsurllib3networking
networkingintermediate

Fixing requests.exceptions.ReadTimeout in Python: Stop Your Scripts from Hanging

requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.example.com', port=443): Read timed out. (read timeout=30)
pythonrequeststimeoutapi-integration
networkingintermediate

Fix "Permission denied (publickey)" When Connecting via SSH

Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
sshlinuxdevopssecurity
networkingbeginner

Fixing the ERR_NETWORK_CHANGED Error: 5 Ways to Stabilize Your Connection

ERR_NETWORK_CHANGED
browsernetworkchromedns
networkingintermediate

Fix DEPTH_ZERO_SELF_SIGNED_CERT Error in Node.js When Calling Internal HTTPS APIs

Error: self signed certificate (code: 'DEPTH_ZERO_SELF_SIGNED_CERT')
nodejshttpssslcertificate
networkingintermediate

Fix Nginx "upstream sent too big header" 502 Bad Gateway Error

502 Bad Gateway - [error] upstream sent too big header while reading response header from upstream
nginxnetworkingproxybackend
networkingintermediate

Fixing 'Error: connect EADDRNOTAVAIL' – How to Solve Ephemeral Port Exhaustion on Linux

Error: connect EADDRNOTAVAIL
networkingtcplinux-performancedevops
networkingintermediate

Fixing Nginx WebSocket 400 Errors: A Practical Reverse Proxy Guide

WebSocket connection to 'wss://example.com/ws' failed: Error during WebSocket handshake: Unexpected response code: 400
websocketnginxproxywss
networkingintermediate

Fixing 504 Gateway Time-out: How to Resolve Nginx Upstream Timeouts

504 Gateway Time-out
nginxgateway-timeoutnetworkingproxy
networkingbeginner

Fixing Error: listen EADDRINUSE (Port Already in Use)

Error: listen EADDRINUSE: address already in use :::8080
networkingweb-developmentnode-jsdevops
networkingintermediate

How to Fix the ERR_TOO_MANY_REDIRECTS Error (and Why It Happens)

ERR_TOO_MANY_REDIRECTS
networkinghttptroubleshootingweb-development
networkingintermediate

Fixing 'Error: read ECONNRESET' in Node.js - Troubleshooting Abrupt Connection Resets

Error: read ECONNRESET
nodejseconnresethttptcp
networkingintermediate

Fix NET::ERR_CERT_DATE_INVALID: Why Let’s Encrypt Failed to Auto-Renew

NET::ERR_CERT_DATE_INVALID
sslletsencryptcertbotnginx
networkingintermediate

Fix net::ERR_HTTP2_PROTOCOL_ERROR - Troubleshooting Browser Resource Loading

net::ERR_HTTP2_PROTOCOL_ERROR
http2networkingbrowsernginx
networkingintermediate

Fixing ERR_SSL_VERSION_OR_CIPHER_MISMATCH: Solving SSL/TLS Incompatibility

ERR_SSL_VERSION_OR_CIPHER_MISMATCH
ssltlshttpsnetworking
networkingbeginner

Fixing the 'Temporary failure in name resolution' Error on Linux

Temporary failure in name resolution
dnsresolv.conflinuxnetworking
networkingintermediate

Fixing Node.js 'getaddrinfo ENOTFOUND' Errors: A Practical Guide

Error: getaddrinfo ENOTFOUND api.example.com
nodejsdnsnetworkinggetaddrinfo
networkingintermediate

Fixing 'Error: socket hang up' in Node.js HTTP/HTTPS Requests

Error: socket hang up
nodejshttpsocketnetworking
networkingbeginner

Fix curl: (6) Could not resolve host When Calling APIs from Terminal or Scripts

curl: (6) Could not resolve host: api.example.com
curldnslinuxnetworking
networkingintermediate

Fix 502 Bad Gateway: When Your Proxy Can't Get a Valid Response

502 Bad Gateway
networkinghttpnginxgateway
networkingbeginner

Fixing Nginx SSL_ERROR_RX_RECORD_TOO_LONG: The Complete Guide

SSL_ERROR_RX_RECORD_TOO_LONG
sslnginxhttpsport
networkingintermediate

Fixing the 'connect: Network is unreachable' Error on Linux

connect: Network is unreachable
networkinglinuxgatewayrouting
networkingintermediate

Solving MTU Mismatch: Fixing the 'Frag needed and DF set' Error

Frag needed and DF set (mtu = 1500)
networkingmtufragmentationpacket-loss
networkingintermediate

Fix "connect ECONNREFUSED 127.0.0.1:5432" β€” Server or Database Connection Refused

Error: connect ECONNREFUSED 127.0.0.1:5432
networkingeconnrefusedbackenddatabase
networkingintermediate

How to Fix the [SSL: CERTIFICATE_VERIFY_FAILED] Error in Python

[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate
sslpythonapinetworking
networkingbeginner

Fixing net::ERR_PROXY_CONNECTION_FAILED in Chrome and Other Browsers

net::ERR_PROXY_CONNECTION_FAILED
networkingproxybrowser-errorchrome
networkingintermediate

Fix "Too many open files" (EMFILE) Error on High-Traffic Servers

Error: accept(2) failed: Too many open files (EMFILE)
linuxnetworkingulimitsocket
networkingintermediate

Fixing the 'No Access-Control-Allow-Origin' Header Error: A Practical Guide

Access to fetch at 'http://api.domain.com' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
corsweb-securityjavascriptbackend
networkingbeginner

Fixing SSH Error: Host key verification failed - Remote Host Identification Has Changed

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Host key verification failed.
sshlinuxsysadminsecurity
networkingintermediate

Fix "Connection Refused" When Port Forwarding Isn't Working on Your Router

Connection refused (port forwarding not working)
networkingport-forwardingrouternat
networkingintermediate

Fix 'Neighbour table overflow: ARP table full' Causing Network Drops in Large Networks

Neighbour table overflow: ARP table full
networkingarptableoverflow
networkingintermediate

Fixing the 'Request timed out' Error: A Practical Networking Guide

Request timed out.
networkingtroubleshootingicmpsysadmin
networkingintermediate

Fixing ERR_NAME_NOT_RESOLVED: Domain Name Resolution Failure

This site can't be reached. ERR_NAME_NOT_RESOLVED
networkingdnsname-resolutionbrowser
networkingintermediate

Fix "connect: No route to host" When Connecting to a Remote Server

connect: No route to host
networkingroutingfirewalliptables
networkingintermediate

Fix ERR_SSL_PROTOCOL_ERROR: This site can't provide a secure connection

This site can't provide a secure connection. ERR_SSL_PROTOCOL_ERROR
networkingsslhttpsprotocol
networkingbeginner

Fix "DHCP lease acquisition failed. No IP address could be obtained." Error

DHCP lease acquisition failed. No IP address could be obtained.
networkingdhcpip-addresslease
networkingintermediate

Fix ERR_CONNECTION_TIMED_OUT When Connecting to a Server

This site can't be reached. ERR_CONNECTION_TIMED_OUT
networkingtimeoutconnectionfirewall
networkingbeginner

Fix DNS_PROBE_FINISHED_NXDOMAIN β€” This Site Can't Be Reached

This site can't be reached. DNS_PROBE_FINISHED_NXDOMAIN
networkingdnsnxdomainbrowser
networkingintermediate

Fix ERR_CONNECTION_RESET: This site can't be reached, connection was reset

This site can't be reached. The connection was reset. ERR_CONNECTION_RESET
networkingconnectionresettcp