-
-
Notifications
You must be signed in to change notification settings - Fork 476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trigger "t" (and others) cause Unknown message type on Android #1768
Comments
Can you elaborate on "will occasionally work with manual messages" ? Does it work or does it not? Also, what app (OS, version) is your friend using? What do their logs show? |
and are you both using MQTT? |
Thanks for the quick reply. Can you elaborate on "will occasionally work with manual messages" ? Does it work or does it not? I am using version 2.5, they are using the latest from the apple store (will check exact version tonight). Both are using MQTT. I am wondering if there is any additional setup I may be missing, such as TLS certs. At the moment I have TLS on with no cert and that seems to work for Android. Please let me know any more information you need. |
Quicksetup configured TLS for you with Let's Encrypt, unless you disabled that by not specifying an email address in Are you seeing the iOS device also work "intermittently"? @growse can you say what these log entries mean?
|
I added a mail address into the configuration.yaml for letsEncrypt. I have not turned off TLS. |
The IOS device also works intermittently, although I have not had the chance to check the logs and exact version today. |
It means the app received the message, but couldn't parse it. |
Intermttently is worrysome and should not be happening. Please check the following: Tail the Mosquitto logs ( If that isn't the case, it tastes a bit as though there are connectivity problems between the network location of your device(s) and the MQTT broker. |
I've checked the messages with mosquito _sub and they appear fine. Albeit different messages coming from the apple and Android devices. The logs show a clean message been published from both devices. |
Complete line is the following: |
You know what comes next, right? ;-) We're going to need a "broken" message, i.e. one which Android says it cannot parse, but which you see as ok with |
Will do! |
Emailed the exact output. I've noticed it works when the 'created_at' and 't' parts are not included. |
Thank you for the data! I can reproduce the error, and I'm a) marking this as a bug and b) moving the issue to our Android issue tracker. The problem arises when in the
What surprises me very greatly is that nobody's noticed this yet, so congratulations on that! :-) |
Great! Good to know I'm not going insane :P |
I can reproduce same behaviour here. |
Is there any work around to this that I could implement? Right now the app does not work at all with this bug. |
The app should be processing other triggers without a problem. If you wanted to work around this you could create a subscriber to your broker which replaced the trigger and re-published as, say, a different "friend". Not quite for the faint of heart, so if you have a bit of patience you could wait for an official fix. :)
|
Will be fixed in 2.5.1. Thanks for the bug! |
Thanks for this. Unfortunetly the 't' trigger seems to be for both 'move' and 'significant', I am rarely seeing positional updates for the people on my server, is there a way around this until the fix is released? |
@parkerrsv version 2.5.1 is now hitting the play stores, and we've confirmed the bug is resolved. |
Thanks for this jpmens! |
It's a staged rollout. We found some issues so halted, 2.5.2 shortly. |
I see it's already closed, but not rolled out yet. So a question related to this: I got the "MessageUnknown" also for trigger "v" and "C". This will be solved as well? These are sent from an iphone. |
Are you sure that'a a capital |
Yes, it is a capital C |
Yes there is a capital |
I think the apps should allow any |
So will you reopen this topic, or will take care of it in another way? |
I have just setup owntracks on an AWS VPS through lightsail.
All correct ports are allowed and everything appears to work on the frontend website (positions updated).
Unfortunately on the Android app, the published location of another user(friend) does not show up correctly.
The logs show the following:
I MessageProcessor: Received incoming message: MessageUnknown on owntracks/tim/iphone
W MessageProcessor: Unknown message type received
I assume everything is set up correctly on the VPS side, as it will occasionally work with manual messages. I've seen the friends location pop up if its manually shared on my android.
I am using all the default settings in the OTRC, generated by the frontend website.
The text was updated successfully, but these errors were encountered: