ERR_SOCKET_BAD_PORTERR_SOCKET_BAD_PORT
An invalid port number was specified for a network operation.
ECONNRESETThe remote server forcibly closed the connection.
The server unexpectedly dropped the TCP connection. This can happen when the server crashes, a load balancer or proxy kills idle connections, the server's connection pool is full, or a firewall drops the connection.
Implement retry logic with exponential backoff. Check the server for crashes or restarts. Adjust keep-alive timeout settings. Ensure your connection pool configuration matches the server's expectations.
ERR_SOCKET_BAD_PORTAn invalid port number was specified for a network operation.
TypeError: Cannot convert undefined or null to objectA built-in method that expects an object received null or undefined instead.
RangeError: precision is out of rangeA precision value passed to toFixed(), toPrecision(), or toExponential() is outside the allowed range.
SyntaxError: JSON.parse: bad parsingFirefox-specific error message for invalid JSON passed to JSON.parse().
DOMException: NetworkErrorA network operation failed, typically during a fetch request when the network is unreachable.
AggregateErrorAn error that wraps multiple errors, typically thrown when all promises in Promise.any() are rejected.