Error map

IOException: unexpected end of stream on Connection java.io.IOException: unexpected end of stream on Connection{api.example.com:443}

Android · layer 1, On your device

Open the full error page →

Centre: this error. First ring: errors it is linked with (10). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

IOException: unexpected end of stream on Connection — java.io.IOException: unexpected end of stream on Connection{api.example.com:443} (Android)IOException…Cronet: net::ERR_QUIC_PROTOCOL_ERROR — CronetException: Exception in CronetUrlRequest: net::ERR_QUIC_PROTOCOL_ERROR, ErrorCode=10, InternalErrorCode=-356 (Android)Cronet: net::ERR_QU…OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 — fatal: unable to access: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 (Git)OpenSSL SSL_connect…Coil: ImageRequest failed / SuccessResult expected — coil.request.ErrorResult: java.net.UnknownHostException (Android)Coil: ImageRequest …StreamResetException: stream was reset: CANCEL / PROTOCOL_ERROR — okhttp3.internal.http2.StreamResetException: stream was reset: CANCEL (Android)StreamResetExceptio…fatal: unable to access: OpenSSL SSL_read: Connection was reset — fatal: unable to access 'https://github.com/org/repo.git/': OpenSSL SSL_read: Connection was reset, errno 10054 (Git)fatal: unable to ac…IOException: Canceled / Socket closed — java.io.IOException: Canceled (Android)IOException: Cancel…SSLPeerUnverifiedException: Hostname not verified — javax.net.ssl.SSLPeerUnverifiedException: Hostname api.example.com not verified: certificate: sha256/AAAA DN: CN=other.example.com (Android)SSLPeerUnverifiedEx…Connection closed by remote host / Connection reset by peer on git push — Connection closed by 140.82.112.4 port 22 (Git)Connection closed b…BLE: onConnectionStateChange status 133 (GATT_ERROR) — BluetoothGatt: onClientConnectionState() - status=133 clientIf=5 device=AA:BB:CC:DD:EE:FF (Android)BLE: onConnectionSt…UnknownHostException: Unable to resolve host — java.net.UnknownHostException: Unable to resolve host "api.example.com": No address associated with hostname (Android)UnknownHostExceptio…RPC failed — error: RPC failed; HTTP 400 curl 22 / curl 92 HTTP/2 stream was not closed cleanly — the remote end hung up unexpectedly (Git)RPC failedCould not resolve host — fatal: unable to access 'https://github.com/…': Could not resolve host: github.com (Git)Could not resolve h…port 22 timed out — ssh: connect to host github.com port 22: Connection timed out (Git)port 22 timed outAuthentication failed — fatal: Authentication failed for 'https://github.com/x/y.git/' (Git)Authentication fail…password auth removed — remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. (Git)password auth remov…Git SSL certificate problem — fatal: unable to access 'https://…': SSL certificate problem: unable to get local issuer certificate (Git)Git SSL certificate…kex_exchange_identification — kex_exchange_identification: Connection closed by remote host (Git)kex_exchange_identi…early EOF — fatal: early EOF — fatal: index-pack failed (Git)early EOFConnectException — java.net.ConnectException: Connection refused (Java)ConnectExceptionFirestore: Could not reach Cloud Firestore backend — W/Firestore: (25.0.0) [WebChannelConnection]: Could not reach Cloud Firestore backend. Connection failed 1 times. Most recent error: UNAVAILABLE (Android)Firestore: Could no…SEC_ERROR_EXPIRED_CERTIFICATE — Firefox: Peer's Certificate has expired. Error code: SEC_ERROR_EXPIRED_CERTIFICATE (SSL / TLS)SEC_ERROR_EXPIRED_C…SSL_ERROR_BAD_CERT_DOMAIN — Firefox: Websites prove their identity via certificates — the certificate is only valid for other names. Error code: SSL_ERROR_BAD_CERT_DOMAIN (SSL / TLS)SSL_ERROR_BAD_CERT_…unable to get local issuer certificate — OpenSSL: error:num=20:unable to get local issuer certificate / SSL: CERTIFICATE_VERIFY_FAILED (SSL / TLS)unable to get local…android:attr/lStar not found — AAPT: error: resource android:attr/lStar not found (Android)android:attr/lStar …Android resource linking failed — AAPT: error: resource x (aka y) not found — Android resource linking failed (Android)Android resource li…NET::ERR_CERT_COMMON_NAME_INVALID — NET::ERR_CERT_COMMON_NAME_INVALID: Your connection is not private (certificate is for a different domain) (SSL / TLS)NET::ERR_CERT_COMMO…ssh port 22 Connection refused — ssh: connect to host x port 22: Connection refused (Linux)ssh port 22 Connect…ssh port 22 Connection timed out — ssh: connect to host x port 22: Connection timed out (Linux)ssh port 22 Connect…No route to host — connect: No route to host (EHOSTUNREACH) (Linux)No route to hostno devices/emulators found — adb: no devices/emulators found / error: device not found (Android)no devices/emulator…NSURLErrorCannotConnectToHost (-1004) — Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." (iOS)NSURLErrorCannotCon…CLEARTEXT — CLEARTEXT communication to host not permitted by network security policy (Android)CLEARTEXTUnknownHostException — java.net.UnknownHostException: api.example.com (Java)UnknownHostExceptionSocketException reset — java.net.SocketException: Connection reset (Java)SocketException res…

Directly related (10)

Cronet: net::ERR_QUIC_PROTOCOL_ERRORAndroid

CronetException: Exception in CronetUrlRequest: net::ERR_QUIC_PROTOCOL_ERROR, ErrorCode=10, InternalErrorCode=-356

Cronet's QUIC connection failed.

OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443Git

fatal: unable to access: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

The TLS connection was dropped during the handshake.

Coil: ImageRequest failed / SuccessResult expectedAndroid

coil.request.ErrorResult: java.net.UnknownHostException

Coil couldn't load an image.

StreamResetException: stream was reset: CANCEL / PROTOCOL_ERRORAndroid

okhttp3.internal.http2.StreamResetException: stream was reset: CANCEL

An HTTP/2 stream was closed by the server or by a cancel.

fatal: unable to access: OpenSSL SSL_read: Connection was resetGit

fatal: unable to access 'https://github.com/org/repo.git/': OpenSSL SSL_read: Connection was reset, errno 10054

The TLS connection to the Git host was dropped mid-transfer.

IOException: Canceled / Socket closedAndroid

java.io.IOException: Canceled

An OkHttp call was cancelled.

SSLPeerUnverifiedException: Hostname not verifiedAndroid

javax.net.ssl.SSLPeerUnverifiedException: Hostname api.example.com not verified: certificate: sha256/AAAA DN: CN=other.example.com

The certificate presented doesn't match the host you called.

Connection closed by remote host / Connection reset by peer on git pushGit

Connection closed by 140.82.112.4 port 22

The Git server closed the SSH connection.

BLE: onConnectionStateChange status 133 (GATT_ERROR)Android

BluetoothGatt: onClientConnectionState() - status=133 clientIf=5 device=AA:BB:CC:DD:EE:FF

A generic Bluetooth LE connection failure, very common on Android.

UnknownHostException: Unable to resolve hostAndroid

java.net.UnknownHostException: Unable to resolve host "api.example.com": No address associated with hostname

The device couldn't turn the host name into an IP address.

Two steps away (24)

RPC failedGit

error: RPC failed; HTTP 400 curl 22 / curl 92 HTTP/2 stream was not closed cleanly — the remote end hung up unexpectedly

A large HTTPS push/clone broke mid-transfer — size limits, proxies or flaky HTTP/2.

Could not resolve hostGit

fatal: unable to access 'https://github.com/…': Could not resolve host: github.com

DNS lookup for the Git host failed from this machine.

port 22 timed outGit

ssh: connect to host github.com port 22: Connection timed out

Outbound SSH on port 22 is blocked (firewall, corporate or public Wi-Fi).

Authentication failedGit

fatal: Authentication failed for 'https://github.com/x/y.git/'

HTTPS authentication to the Git host failed — wrong or expired credentials, or a password used where a token is required.

password auth removedGit

remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

GitHub no longer accepts account passwords for Git over HTTPS.

Git SSL certificate problemGit

fatal: unable to access 'https://…': SSL certificate problem: unable to get local issuer certificate

Git doesn’t trust the HTTPS server’s certificate — corporate proxy, self-hosted Git with an internal CA, or outdated CA bundle.

kex_exchange_identificationGit

kex_exchange_identification: Connection closed by remote host

The SSH connection was closed before the handshake — server overload, rate limiting, or a proxy/firewall interfering.

early EOFGit

fatal: early EOF — fatal: index-pack failed

A clone or fetch was cut off mid-transfer.

ConnectExceptionJava

java.net.ConnectException: Connection refused

Nothing is listening at the host:port the Java client connected to.

Firestore: Could not reach Cloud Firestore backendAndroid

W/Firestore: (25.0.0) [WebChannelConnection]: Could not reach Cloud Firestore backend. Connection failed 1 times. Most recent error: UNAVAILABLE

The device couldn't connect to Firestore.

SEC_ERROR_EXPIRED_CERTIFICATESSL / TLS

Firefox: Peer's Certificate has expired. Error code: SEC_ERROR_EXPIRED_CERTIFICATE

Firefox found an expired certificate in the chain presented by the server.

SSL_ERROR_BAD_CERT_DOMAINSSL / TLS

Firefox: Websites prove their identity via certificates — the certificate is only valid for other names. Error code: SSL_ERROR_BAD_CERT_DOMAIN

The certificate does not include the hostname you typed.

unable to get local issuer certificateSSL / TLS

OpenSSL: error:num=20:unable to get local issuer certificate / SSL: CERTIFICATE_VERIFY_FAILED

The client could not build a chain from the server's certificate to a CA it trusts — the issuer is missing locally or the server…

android:attr/lStar not foundAndroid

AAPT: error: resource android:attr/lStar not found

A dependency (androidx.core 1.7+) uses an attribute from Android 12 (API 31), but your module compiles against an older compileSd…

Android resource linking failedAndroid

AAPT: error: resource x (aka y) not found — Android resource linking failed

A layout, manifest or style references a resource (drawable, string, style, attribute) that doesn’t exist in the module or its de…

NET::ERR_CERT_COMMON_NAME_INVALIDSSL / TLS

NET::ERR_CERT_COMMON_NAME_INVALID: Your connection is not private (certificate is for a different domain)

The certificate presented doesn’t include the hostname you visited — e.g. visiting www.example.com with a certificate only for ex…

ssh port 22 Connection refusedLinux

ssh: connect to host x port 22: Connection refused

The server answered, but nothing is listening on the SSH port — sshd isn’t running, it uses another port, or a firewall actively…

ssh port 22 Connection timed outLinux

ssh: connect to host x port 22: Connection timed out

SSH packets get no reply — a firewall/security group drops them, the server is off, or the IP is wrong.

No route to hostLinux

connect: No route to host (EHOSTUNREACH)

The destination host isn’t reachable — it’s down, on another subnet without routing, or a firewall rejects with “host unreachable…

no devices/emulators foundAndroid

adb: no devices/emulators found / error: device not found

adb can’t see any connected device or running emulator.

NSURLErrorCannotConnectToHost (-1004)iOS

Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server."

The device reached the network but not the server.

CLEARTEXTAndroid

CLEARTEXT communication to host not permitted by network security policy

Android 9+ blocks plain `http://` requests by default; the app tried to call a non-HTTPS URL.

UnknownHostExceptionJava

java.net.UnknownHostException: api.example.com

DNS resolution failed for the hostname.

SocketException resetJava

java.net.SocketException: Connection reset

The remote side closed the TCP connection abruptly while Java was reading or writing.