WiGLE for Android 7.0 issues
Hey, I recently updated to Android 7.0 on my Huawei Honor 8 and I notice the app keeps hanging in the background if I turn off my screen.
New networks no longer discovered, but the notification stays there as if it's working.
It was working fine on 6.0, and I have checked that the app is given priority (not closed by 7.0's battery saving stuff), that "WiFi+" feature of Huawei is disabled (which disables wifi if outside range), and other such things.
Any ideas or anyone else on 7.0 having troubles? It seems like the "determine if wifi is stuck" setting doesn't resolve it either. Thanks!
New networks no longer discovered, but the notification stays there as if it's working.
It was working fine on 6.0, and I have checked that the app is given priority (not closed by 7.0's battery saving stuff), that "WiFi+" feature of Huawei is disabled (which disables wifi if outside range), and other such things.
Any ideas or anyone else on 7.0 having troubles? It seems like the "determine if wifi is stuck" setting doesn't resolve it either. Thanks!
Hi Harri,
You're the first to report it, but that doesn't mean you're alone. Do you happen to have aLogcat installed, so you can see whether there are any signs of trouble in the log when the process gets backgrounded/wifi gets disabled?
Thanks for the information, sorry for the difficulty.
You're the first to report it, but that doesn't mean you're alone. Do you happen to have aLogcat installed, so you can see whether there are any signs of trouble in the log when the process gets backgrounded/wifi gets disabled?
Thanks for the information, sorry for the difficulty.
Since I upgraded to Android 7.1.2, I can't upload to wigle.net (the cvs file creation fails)
The message is the following:
FAIL
Exception Error: ex problem: java.lang.UnsupportedOperationException
The message is the following:
FAIL
Exception Error: ex problem: java.lang.UnsupportedOperationException
- Attachments
-
- wigle.png (143.34 KiB) Viewed 34913 times
well, that's a new one - please send us the related error report if you can, this is gonna be a good one.
thanks, and sorry for the difficulty.
-Andy
PS> one thing to check - phone being out of storage seems to manifest in many different ways... maybe see if the device is quietly too-full to write the CSV file?
thanks, and sorry for the difficulty.
-Andy
PS> one thing to check - phone being out of storage seems to manifest in many different ways... maybe see if the device is quietly too-full to write the CSV file?
Is not a out of storage issue. I have more than 1GB free.
I found an errorstack file in wigle folder. I'm not sure if this errors corresponds to the same issue that I told you. I deleted this file and it was not generated again.
How I can get the related error report?
errorstack.txt content:
WigleWifi error log - Apr 27, 2017 1:22:16 PM
versionName: 2.18
baseError: EOFException: \n not found: size=0 content=...
detail: Has data connection: true
packageName: net.wigle.wigleandroid
MODEL: Nexus 5
RELEASE: 7.1.1
BOARD: hammerhead
BRAND: google
DEVICE: hammerhead
DISPLAY: lineage_hammerhead-userdebug 7.1.1 NOF26W c16dd0a420
FINGERPRINT: google/hammerhead/hammerhead:6.0.1/M4B30Z/3437181:user/release-keys
HOST: phenom.zifnab.net
ID: NOF26W
PRODUCT: hammerhead
TAGS: release-keys
TIME: 1488258759000
TYPE: user
USER: jenkins
Thread: Thread[ApiUL-Thread-5,5,main] throwable: java.io.IOException: unexpected end of stream on Connection{api.wigle.net:443, proxy=DIRECT hostAddress=54.70.85.50 cipherSuite=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 protocol=http/1.1} (recycle count=0)
java.io.IOException: unexpected end of stream on Connection{api.wigle.net:443, proxy=DIRECT hostAddress=54.70.85.50 cipherSuite=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 protocol=http/1.1} (recycle count=0)
at com.android.okhttp.internal.http.HttpConnection.readResponse(HttpConnection.java:210)
at com.android.okhttp.internal.http.HttpTransport.readResponseHeaders(HttpTransport.java:80)
at com.android.okhttp.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:907)
at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:783)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:463)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:405)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:521)
at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105)
at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java)
at net.wigle.wigleandroid.background.HttpFileUploader.upload(HttpFileUploader.java:146)
at net.wigle.wigleandroid.background.ObservationUploader.doUpload(ObservationUploader.java:239)
at net.wigle.wigleandroid.background.ObservationUploader.doRun(ObservationUploader.java:126)
at net.wigle.wigleandroid.background.ObservationUploader.subRun(ObservationUploader.java:98)
at net.wigle.wigleandroid.background.AbstractBackgroundTask.run(AbstractBackgroundTask.java:80)
Caused by: java.io.EOFException: \n not found: size=0 content=...
at com.android.okhttp.okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:200)
at com.android.okhttp.internal.http.HttpConnection.readResponse(HttpConnection.java:191)
... 13 more
I found an errorstack file in wigle folder. I'm not sure if this errors corresponds to the same issue that I told you. I deleted this file and it was not generated again.
How I can get the related error report?
errorstack.txt content:
WigleWifi error log - Apr 27, 2017 1:22:16 PM
versionName: 2.18
baseError: EOFException: \n not found: size=0 content=...
detail: Has data connection: true
packageName: net.wigle.wigleandroid
MODEL: Nexus 5
RELEASE: 7.1.1
BOARD: hammerhead
BRAND: google
DEVICE: hammerhead
DISPLAY: lineage_hammerhead-userdebug 7.1.1 NOF26W c16dd0a420
FINGERPRINT: google/hammerhead/hammerhead:6.0.1/M4B30Z/3437181:user/release-keys
HOST: phenom.zifnab.net
ID: NOF26W
PRODUCT: hammerhead
TAGS: release-keys
TIME: 1488258759000
TYPE: user
USER: jenkins
Thread: Thread[ApiUL-Thread-5,5,main] throwable: java.io.IOException: unexpected end of stream on Connection{api.wigle.net:443, proxy=DIRECT hostAddress=54.70.85.50 cipherSuite=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 protocol=http/1.1} (recycle count=0)
java.io.IOException: unexpected end of stream on Connection{api.wigle.net:443, proxy=DIRECT hostAddress=54.70.85.50 cipherSuite=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 protocol=http/1.1} (recycle count=0)
at com.android.okhttp.internal.http.HttpConnection.readResponse(HttpConnection.java:210)
at com.android.okhttp.internal.http.HttpTransport.readResponseHeaders(HttpTransport.java:80)
at com.android.okhttp.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:907)
at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:783)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:463)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:405)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:521)
at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105)
at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java)
at net.wigle.wigleandroid.background.HttpFileUploader.upload(HttpFileUploader.java:146)
at net.wigle.wigleandroid.background.ObservationUploader.doUpload(ObservationUploader.java:239)
at net.wigle.wigleandroid.background.ObservationUploader.doRun(ObservationUploader.java:126)
at net.wigle.wigleandroid.background.ObservationUploader.subRun(ObservationUploader.java:98)
at net.wigle.wigleandroid.background.AbstractBackgroundTask.run(AbstractBackgroundTask.java:80)
Caused by: java.io.EOFException: \n not found: size=0 content=...
at com.android.okhttp.okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:200)
at com.android.okhttp.internal.http.HttpConnection.readResponse(HttpConnection.java:191)
... 13 more
that one looks to be an older error - related to the v2.18 release encrypting credentials.
My guess here is that you've caught a corner case that the CSV encoder library doesn't handle well (double commas, or some weird quote-comma situation in a SSID?), but I wonder what it is. How many APs are in your DB / how many haven't been uploaded yet? (I'd love to get a look at this, but sending that all along might be a real PITA).
Cheers, and thanks for all the help!
My guess here is that you've caught a corner case that the CSV encoder library doesn't handle well (double commas, or some weird quote-comma situation in a SSID?), but I wonder what it is. How many APs are in your DB / how many haven't been uploaded yet? (I'd love to get a look at this, but sending that all along might be a real PITA).
Cheers, and thanks for all the help!
I edited wiglewifi.sqlite and remove all values in network and location tables less one value (to have data to upload).
It gives me the same issue when I try upload to wigle.net
What else can I do to prove it?
It gives me the same issue when I try upload to wigle.net
What else can I do to prove it?
hm, this is really tough.
One thought - is there a chance you denied local FS permissions ("Storage: allow WiGLE to access your photos, documents...") to WiGLE on first start after upgrade? You can check via Settings -> Apps -> WiGLE WiFi Wardriving -> Permissions - and make sure the "Storage" toggle is set to true?
Sorry this is such a difficult issue to debug!
One thought - is there a chance you denied local FS permissions ("Storage: allow WiGLE to access your photos, documents...") to WiGLE on first start after upgrade? You can check via Settings -> Apps -> WiGLE WiFi Wardriving -> Permissions - and make sure the "Storage" toggle is set to true?
Sorry this is such a difficult issue to debug!
ufff, location and storage were enabled
What else? any idea?
What else? any idea?
quite unusual.
Two more random ideas:
- If you try manually uploading the CSV file mentioned in the error message above (via the website), does it succeed?
- is your system date/time accurate?
Two more random ideas:
- If you try manually uploading the CSV file mentioned in the error message above (via the website), does it succeed?
- is your system date/time accurate?
finally I reinstalled Wigle and it works again
Thanks for your help
Thanks for your help
Return to “WiGLE Project Suggestions”
Who is online
Users browsing this forum: No registered users and 0 guests