rastating / DroidBeard

An Android app for managing SickBeard.
GNU General Public License v3.0
15 stars 2 forks source link

Error Report: Value <html><head><meta of type java.lang.String cannot be converted to JSONObject #520

Closed rastating closed 8 years ago

rastating commented 8 years ago

Configuration Information

Version: 1.5.0 HTTPS Enabled: false Trust All Certificates: true

Stack Trace

org.json.JSONException: Value <html><head><meta of type java.lang.String cannot be converted to JSONObject
    at org.json.JSON.typeMismatch(JSON.java:111)
    at org.json.JSONObject.<init>(JSONObject.java:160)
    at org.json.JSONObject.<init>(JSONObject.java:173)
    at com.rastating.droidbeard.net.FetchShowSummariesTask.doInBackground(FetchShowSummariesTask.java:51)
    at com.rastating.droidbeard.net.FetchShowSummariesTask.doInBackground(FetchShowSummariesTask.java:38)
    at android.os.AsyncTask$2.call(AsyncTask.java:292)
    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    at java.lang.Thread.run(Thread.java:818)

Data

<html><head><meta http-equiv="refresh" content="0;url=http://search.frontier.com/search/?q=http://http/localhost:8081:8081/api/81bd96abc8d0d4a4b1f9f91335579d03/&t=0"/></head><body><script>window.location="http://search.frontier.com/search/?q="+escape(window.location)+"&r="+escape(document.referrer)+"&t=0";</script></body></html>