Try to search your question here, if you can't find : Ask Any Question Now ?

Android webview return 403 error unauthorized

HomeCategory: stackoverflowAndroid webview return 403 error unauthorized
Avatarkundan asked 5 months ago

I have a problem when I load a webview in Android

this is my code, is very basic

    webView.setWebViewClient(new WebViewController());
    WebSettings webSettings = webView.getSettings();

and this is the URL

As can you see, I can access without problems from chrome or any browser, but in my Android webview returns

HTTP 403 – Forbidden

I have two environments

with the second

the webview loads without problems.

But the most strange is that in another app project, the first webview loads fine

I can’t find the problem 🙁 I’m desperate.

Thanks for your help

The ssl isn’t the problem. Webview loads fine un another app and never pass through onReceivedSslError only by onreceivedErrorHttp

1 Answers
Best Answer
AvatarAmit answered 5 months ago
Your Answer

19 + 14 =

Popular Tags

WP Facebook Auto Publish Powered By :