Android Question HTTP blocking in Android System WebView

mortenplaya

Member
Licensed User
Longtime User
Hi!
I have discovered that the new release Android System WebView (version 55.028883.91) is blocking http calls that return a service table of plain text.

Below is an example displaying the service information of NTRIP-protocoll in a webview.
( https://en.wikipedia.org/wiki/Networked_Transport_of_RTCM_via_Internet_Protocol)

B4X:
Dim webNTRIPService As WebView
..
webNTRIPService.LoadUrl("http://" &IP& ":" &Port )

Calling the NTRIP service http://46.234.104.137:2101 gives this result:

SOURCETABLE 200 OK
Server: TopNET-V 10.0p4/1.0
Content-Type: text/plain
Content-Length: 889
......

However with the new Android System WebView (version 55.028883.91) installed on my phone I get this error message:

ERR_INVALID_HTTP_RESPONSE

Is socket programming the only work around and solution to this problem?
 

techknight

Well-Known Member
Licensed User
Longtime User
Chrome does it too. So I am wondering if its not "text/plain" and its categorized under something else.

Internet Explorer works, so that tells me Google has stepped up security in this area somewhere.
 
Upvote 0

mortenplaya

Member
Licensed User
Longtime User
Chrome does it too. So I am wondering if its not "text/plain" and its categorized under something else.

Internet Explorer works, so that tells me Google has stepped up security in this area somewhere.
Thanks for the reply!
You're right. Chrome Version 55 is not working either so I probably have to download the information using sockets and async streams.
 
Upvote 0

techknight

Well-Known Member
Licensed User
Longtime User
Chrome, and Google in general is getting really tight with security on alot of things. For example, our domain email server is through register.com, and our MX and A records were updated to point to this. Just because of a domain discrepancy, the gmail app blocks access because of the "certificate issue/domain issue" here.

So yep, Its expected with them.
 
Upvote 0
Top