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
kundan asked 2 weeks 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();
    webSettings.setJavaScriptEnabled(true);
    webView.loadUrl(loadUrl);

and this is the URL

http://comercios.transferbeet.com:14616/TransferAppsWsUat/register/welcomeWallet

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

http://comercios.transferbeet.com:14616/TransferAppsWsMtto/register/welcomeWallet

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
Amit answered 2 weeks ago
Your Answer

6 + 17 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com