NetBare-Android icon indicating copy to clipboard operation
NetBare-Android copied to clipboard

Possible false positive error being reported?

Open wilos opened this issue 5 years ago • 1 comments

Device: Android 8.1 Latest version of NetBare Sample

On many different pages an error is sometimes reported in logcat, e.g.:

2019-02-18 11:16:33.998 10376-10444/com.github.megatronking.netbare.sample E/NetBare: [TCP][62.210.94.130:443]Http2 TYPE_GOAWAY error code: NO_ERROR last stream: 3

The number for last stream varies, but the error ode NO_ERROR seems to indicate that no problem has occurred.

Should the code be changed to not report this as an ERROR in the case where errorCode == "NO_ERROR" ? Something like:

if (errorCode == "NO_ERROR") mLog.i("Http2 TYPE_GOAWAY error code: " + errorCode + " last stream: " + lastStreamId); else mLog.e("Http2 TYPE_GOAWAY error code: " + errorCode + " last stream: " + lastStreamId);

The page still loaded fine in Chrome, there were no visible signs of a problem.

wilos avatar Feb 18 '19 13:02 wilos

same as #15

MegatronKing avatar Feb 19 '19 02:02 MegatronKing