Comments (11)
Ended up removing BackgroundWorkerFactory
altogether and replacing with HiltWorkerFactory
.
from android.
I updated to the 2.5.0 beta today (Android 13, TCL 40XL), and experienced the constant crashing. My wife (also on beta) had just experienced this and resolved it by clearing the app data, since clearing the app cache was not enough. We have Owntracks configured to access a mosquito server through a reverse proxy over web sockets, authenticating with self-signed client certificates. When I encountered the crashing after update, I:
- added my CA and client certs to Android (there was a notification for this),
- enabled Airplane mode (this prevented the app from crashing),
- exported Configuration management,
- cleared the app data,
- imported the config,
- disabled Airplane mode (the app was still not crashing),
- went into Preferences> Connection> Client certificate> and selected my cert
Hopefully, the CNFE fix will resolve the crashing issue, but I have not experienced the crashing issue since performing these steps. However, going back into Preferences> Connection, the UI shows Client certificate as Not Set, and Configuration management shows tlsClientCrt as an empty string. Owntracks still updates properly through MQTT, so this appears to just be a display issue, though the field is also empty in exports. This may deserve its own Issue, but I mention it here in case it is somehow related.
from android.
Ended up removing
BackgroundWorkerFactory
altogether and replacing withHiltWorkerFactory
.
Great. Let us know when you push out the fixed build! 🎉
from android.
beta2 published on the play store.
However, going back into Preferences> Connection, the UI shows Client certificate as Not Set, and Configuration management shows tlsClientCrt as an empty string. Owntracks still updates properly through MQTT, so this appears to just be a display issue, though the field is also empty in exports. This may deserve its own Issue, but I mention it here in case it is somehow related.
Might be a display issue, I'll look. But the configuration export now won't be able to include the certificates as they're part of the device config - OT doesn't even see them.
from android.
@growse this seems to be happening on the tip of master in HTTP mode as well if no URL is present. For example:
- Upgrade from previously configured version, works.
- Clear the data for the app, it crashes on each start.
- Modify URL to have a preloaded default:
Preferences::url -> "https://example.com"
, works fine.
I didn't dig further, but it looks like 2.5.0 adds a check to prevent a blank URL when editing the HTTP preferences, but maybe it's not handling an undefined one at startup?
from android.
from android.
Which device and android version?
Can you remove the app and reinstall from beta?
OnePlus 11, Android 14.0
Is there any difference between the v2.5.0 and the v2.5.0 beta?
from android.
I'm seeing this on the play store telemetry. Should have a fix and a beta-2 tomorrow.
Exception java.lang.ClassNotFoundException:
at java.lang.Class.classForName
at java.lang.Class.forName (Class.java:536)
at java.lang.Class.forName (Class.java:467)
at org.owntracks.android.services.worker.BackgroundWorkerFactory.createWorker (BackgroundWorkerFactory.kt)
at androidx.work.WorkerFactory.createWorkerWithDefaultFallback (WorkerFactory.java:1)
at androidx.work.impl.WorkerWrapper.runWorker (WorkerWrapper.java:430)
at androidx.work.impl.WorkerWrapper.run (WorkerWrapper.java:430)
at androidx.work.impl.utils.SerialExecutorImpl$Task.run (SerialExecutorImpl.java:5)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
at java.lang.Thread.run (Thread.java:1012)
Thanks for helping with the testing!
from android.
I'm seeing this on the play store telemetry. Should have a fix and a beta-2 tomorrow.
Exception java.lang.ClassNotFoundException: at java.lang.Class.classForName at java.lang.Class.forName (Class.java:536) at java.lang.Class.forName (Class.java:467) at org.owntracks.android.services.worker.BackgroundWorkerFactory.createWorker (BackgroundWorkerFactory.kt) at androidx.work.WorkerFactory.createWorkerWithDefaultFallback (WorkerFactory.java:1) at androidx.work.impl.WorkerWrapper.runWorker (WorkerWrapper.java:430) at androidx.work.impl.WorkerWrapper.run (WorkerWrapper.java:430) at androidx.work.impl.utils.SerialExecutorImpl$Task.run (SerialExecutorImpl.java:5) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644) at java.lang.Thread.run (Thread.java:1012)
Thanks for helping with the testing!
Thank you for the update. Appreciate it and cant wait to test 2.5.0 beta 2. Been looking forward to be able to push location updates to phones/endpoints.
from android.
Just wanted to check in @growse. Are you going to cut a new beta build for 2.5.0? It would be greatly appreciated, though I understand that life can be busy at times.
from android.
from android.
Related Issues (20)
- [Feature Request] Support multiple groups of friends using one MQTT server HOT 2
- Expanding the extended data field to contain settings that may be non-optimal for operation HOT 23
- Return blank location packet for ping/manual location even though there is no location or accuracy is poor HOT 6
- Connection to HiveMQ dropping with an error HOT 12
- MQTT Exception delivering message (32000) HOT 8
- pubExtendedData / extendedData config setting HOT 2
- Reverse-geo ratelimit pauses location publishes HOT 5
- Add ACCESS_BACKGROUND_LOCATION permission in order to give "Always" location permission
- [Feature Request] HOT 2
- OwnTracks reporting old location to server HOT 8
- Fix: sync iOS `rid` and Android `id` in the `waypoint` payload HOT 2
- Processed MessageCard message has no topic, preventing image cards from linking to Friends. HOT 10
- Transition messages fail to send until the device stops moving HOT 4
- App won't even start HOT 2
- [Feature Request] Switch mode based on charging or battery HOT 4
- Way point circles do not appear on the map HOT 5
- TLS connection doesn't work - SSLPeerUnverifiedException HOT 8
- No Datatransfer in Mobile Phone network HOT 17
- [Feature] Support for PoI HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android.