Open yerzhant opened 2 months ago
One must not that this can be reset by switching on and off flight mode.
The issue also disappears if the other (advertising) party switches flight mode on. If the advertising party switches flight mode off the issue arises again.
On trying to discover a second time one can see in logs these errors:
2024-06-30 19:56:52.776 15057-7489 NearbyMediums com.google.android.gms.persistent E MEDIUM_ERROR [SYSTEM][WIFI_LAN][CONNECT][ESTABLISH_CONNECTION_FAILED][UNKNOWN], service-id=com.example.nbs
2024-06-30 19:56:52.797 15057-7489 NearbyMediums com.google.android.gms.persistent E MEDIUM_ERROR [SYSTEM][WIFI_LAN][CONNECT][ESTABLISH_CONNECTION_FAILED][UNKNOWN], service-id=com.example.nbs
2024-06-30 19:56:52.807 15057-7489 NearbyMediums com.google.android.gms.persistent E MEDIUM_ERROR [SYSTEM][WIFI_LAN][CONNECT][ESTABLISH_CONNECTION_FAILED][UNKNOWN], service-id=com.example.nbs
Project
Nearby Connections
Language
Other
OS Platform
Linux
What happened?
With this code:
First run is fine but the second and further ones return this error:
What did you expect to happen?
Request connection should succeed.
How can we reproduce it (as minimally and precisely as possible)?
Try to discover like this:
How often does this bug happen?
Often
Standalone code to reproduce the issue
No response
Relevant log output
No response
Anything else we need to know?
No response