-
Notifications
You must be signed in to change notification settings - Fork 4
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
Factsheets can't connect to DB #48
Comments
Originally it was the Combo section, if the Factsheet section isn't working now as well we'd really need someone to look into the source code to see what it tries to connect to. |
This particular issue is a result of the URL needing to be HTTPS. Changed the DrugNameAsyncTask.java line from: private static final String ALL_DRUGS_URL = "http://tripbot.tripsit.me/api/tripsit/getAllDrugNames"; To: private static final String ALL_DRUGS_URL = "https://tripbot.tripsit.me/api/tripsit/getAllDrugNames"; |
Can we apply the same solution to #49 ? |
I don't believe so, but i will take a look |
Pushed my branch up, commit for this fix is here: aa6f3a4 |
Yeah it turned out to be the same issue. Why it would crash in combos but not factsheets is weird but okay, pushed up my commit here: d051eea |
When opening factsheets an error appears:
"Could not retrieve drug names from tripbot interface. Search may still work but autocomplete suggestions will not be present"
The text was updated successfully, but these errors were encountered: