remote-android / redroid-doc

redroid (Remote-Android) is a multi-arch, GPU enabled, Android in Cloud solution. Track issues / docs here
4.25k stars 304 forks source link

Webview does'nt work #732

Closed CuiZhaoHui closed 1 month ago

CuiZhaoHui commented 2 months ago

Describe the bug 请详细描述问题(ZH_CN) Webview in redroid or in any other apps,does'nt work.Like the pic, it shows a blank page. I've tried pull redroid/redroid:latest or compile it by my self.

Collect debug logs redroid-debug.2J0aYXaT.zip

Screenshots webiew_blank

zhouziyang commented 2 months ago

Seems your network cannot probe Google links, and network is disabled.

16944 08-14 15:43:31.829  2090  5084 D NetworkMonitor/100: PROBE_FALLBACK http://www.google.com/gen_204 Probe failed with exception java.net.SocketTimeoutException: failed to connect to www.google.com/199.16.158.182 (port 80) from /172.17.0.35 (port 56922) after 10000ms
16945 08-14 15:43:31.829  2090  5084 D NetworkMonitor/100: isCaptivePortal: isSuccessful()=false isPortal()=false RedirectUrl=null isPartialConnectivity()=true Time=13011ms
16946 08-14 15:43:31.829   297  1835 D ConnectivityService: [100 ETHERNET] validation failed
CuiZhaoHui commented 2 months ago

Seems your network cannot probe Google links, and network is disabled.

16944 08-14 15:43:31.829  2090  5084 D NetworkMonitor/100: PROBE_FALLBACK http://www.google.com/gen_204 Probe failed with exception java.net.SocketTimeoutException: failed to connect to www.google.com/199.16.158.182 (port 80) from /172.17.0.35 (port 56922) after 10000ms
16945 08-14 15:43:31.829  2090  5084 D NetworkMonitor/100: isCaptivePortal: isSuccessful()=false isPortal()=false RedirectUrl=null isPartialConnectivity()=true Time=13011ms
16946 08-14 15:43:31.829   297  1835 D ConnectivityService: [100 ETHERNET] validation failed

I changed the url , and fix this error. failed to connect to www.google.com/199.16.158.182 But webview still not work.

webweb.log redroid-debug.X7LwGPZU.zip

BTW ,other apps work fine,except some games ,like 王牌竞速 , it only works when I set

# The proxy service's rule is Direct.
androidboot.redroid_net_proxy_type=static \
androidboot.redroid_net_proxy_host=xxx \
androidboot.redroid_net_proxy_port=7890 \

Part of this game's network is working, but it seems like the account part is not working. wpjs

I still don't know why…

CuiZhaoHui commented 2 months ago

Changed the ntp server & captive_portal_http_url ,the game works fine for me.

CuiZhaoHui commented 1 month ago

The problem of webview is caused by my wrong kernel config.Has resolved.