Skip to content
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

android-distance.json database not found #136

Open
bakboem opened this issue Mar 22, 2024 · 2 comments
Open

android-distance.json database not found #136

bakboem opened this issue Mar 22, 2024 · 2 comments

Comments

@bakboem
Copy link

bakboem commented Mar 22, 2024

I'm not sure if it's related to AltBeacon/android-beacon-library#967
this warning is really annoying..

W/DistanceConfigFetcher(14241): error reading beacon data
W/DistanceConfigFetcher(14241): java.io.FileNotFoundException: https://s3.amazonaws.com/android-beacon-library/android-distance.json
W/DistanceConfigFetcher(14241): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:255)
W/DistanceConfigFetcher(14241): at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:211)
W/DistanceConfigFetcher(14241): at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:30)
W/DistanceConfigFetcher(14241): at org.altbeacon.beacon.distance.DistanceConfigFetcher.request(DistanceConfigFetcher.java:94)
W/DistanceConfigFetcher(14241): at org.altbeacon.beacon.distance.ModelSpecificDistanceUpdater.doInBackground(ModelSpecificDistanceUpdater.java:28)
W/DistanceConfigFetcher(14241): at org.altbeacon.beacon.distance.ModelSpecificDistanceUpdater.doInBackground(ModelSpecificDistanceUpdater.java:16)
W/DistanceConfigFetcher(14241): at android.os.AsyncTask$3.call(AsyncTask.java:394)
W/DistanceConfigFetcher(14241): at java.util.concurrent.FutureTask.run(FutureTask.java:264)
W/DistanceConfigFetcher(14241): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
W/DistanceConfigFetcher(14241): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
W/DistanceConfigFetcher(14241): at java.lang.Thread.run(Thread.java:1012)
W/ModelSpecificDistanceCalculator(14241): Cannot updated distance models from online database at java.io.FileNotFoundException: https://s3.amazonaws.com/android-beacon-library/android-distance.json

@PlayCulture
Copy link

I've been working with this library for the last year or so and this feature has never worked. I assume the database it's trying to reach is not available anymore, however I've found the default settings to work just fine

@bakboem
Copy link
Author

bakboem commented Apr 13, 2024

Yes. It's annoying. But it does not affect obtaining beacon signals

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants