Skip to content

no transmission - java.io.EOFException - connection lost #18

Description

@Radoom

Hi there,
can't get this to work on two different phones (one old S4 with LineageOS19=Android12, and one pixel7pro running latest grapheneOS/Android17)

Did set my mqtt settings correctly. Used the same settings for verification in another app "lab log" (also from fdroid) and can successfully transmit a test entry from that app into my mqtt server from both phones. So it is not the basic mqtt settings for sure.

Using same server settings I see SensorSpot connecting to the mqtt server (mqtt adapter on ioBroker), but the connection somehow fails.

Error details are sparse in the app, it only says Connection Error under Status on the Publish screen. Details are giving Cause:java.io.EOFException and Message:connection lost.

The log on my server (in "silly" mode) gives me:

2026-08-29 12:19:35.573	info	Client [63ce87cd-3434-455b-b784-90d0be04f6f5] connected with secret 1787998775260_2422
2026-08-29 12:19:35.575	info	Client [63ce87cd-3434-455b-b784-90d0be04f6f5] connection closed: closed
2026-08-29 12:19:35.583	debug	stateChange mqtt.0.info.connection: {"val":"63ce87cd-3434-455b-b784-90d0be04f6f5","ack":true,"ts":1787998775579,"q":0,"from":"system.adapter.mqtt.0","user":"system.user.admin","lc":1787998775579}
2026-08-29 12:19:35.623	debug	stateChange mqtt.0.info.connection: {"val":"","ack":true,"ts":1787998775620,"q":0,"from":"system.adapter.mqtt.0","user":"system.user.admin","lc":1787998775620}

Edit: Does not make a difference whether I use "web sockets" or not. Log gives slightly different output, but connection fails all the same.
Edit 2: Does not make a difference whether I set the server (and app) to use no authentication (user/password). For LabLog, it works either way; for SensorSpot, never.

What am I doing wrong?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions