You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.
I'm using version 1.6.0 of ForecastIOLib, linked as
Dependencies{
implementation 'com.github.dvdme:ForecastIOLib:1.6.0'
}
I'm seeing error messages in my Android logs but I can't debug them further using what ForecastIO is logging.
I see:
05-07 18:05:47.151 6447 6780 W System.err: Bad Response:
I believe this is printed at ForecastIO.java:781,
System.err.println("Bad Response: " + response + "\n");
It seems that the library is only printing the last line of the error stream, and that error stream seems to be an HTML page.
If you could return a response code or the response stream to the application, it could decide whether or not to retry or let the end user address the issue in some way.
The text was updated successfully, but these errors were encountered:
As an aside,
I suspect the underlying failure was due to either invalid construction of latitude/longitude due to localization or inclusion of spaces in the exclude url in some app installs.
I'm using version 1.6.0 of ForecastIOLib, linked as
Dependencies{
implementation 'com.github.dvdme:ForecastIOLib:1.6.0'
}
I'm seeing error messages in my Android logs but I can't debug them further using what ForecastIO is logging.
I see:
05-07 18:05:47.151 6447 6780 W System.err: Bad Response:
I believe this is printed at ForecastIO.java:781,
System.err.println("Bad Response: " + response + "\n");
It seems that the library is only printing the last line of the error stream, and that error stream seems to be an HTML page.
If you could return a response code or the response stream to the application, it could decide whether or not to retry or let the end user address the issue in some way.
The text was updated successfully, but these errors were encountered: