添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am loading url: https://bioconuat.cluster1.traform.io/TravoSSOAuthenticator?domain=biocon and getting error on android devices only, but it is loading on ios perfectly.
error is : E/chromium: [ERROR:ssl_client_socket_impl.cc(946)] handshake failed; returned -1, SSL error code 1, net_error -202

To Reproduce:

Expected behavior:

Screenshots/Videos:

Environment:

  • OS: Android
  • OS version: All OS level
  • react-native version: 0.61.0
  • react-native-webview version: ^7.5.1
  • GabrielePrestifilippo, whitesnow9291, fengpu-ischool, imGurpreetSK, taxon-hub, csv8674xn, mcguier, and marsel-mo reacted with thumbs up emoji wellington1993 reacted with eyes emoji All reactions

    I have similar error when i want to load a website where in local area network.
    The error log is :
    chromium: [ERROR:ssl_client_socket_impl.cc(959)] handshake failed; returned -1, SSL error code 1, net_error -201

    I find around the network to resolve this problem, but i didn't find anything that is useful.

    And i can't load https://bioconuat.cluster1.traform.io/TravoSSOAuthenticator?domain=biocon on webview too, but load on firefox(PC Ubuntu18.04) is success.

    When i try to load it, error log change to :
    chromium: [ERROR:ssl_client_socket_impl.cc(959)] handshake failed; returned -1, SSL error code 1, net_error -202

    And i can load https://www.brrmedia.co.uk on webview.

    Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically

    [0129/105428.590:ERROR:ssl_client_socket_impl.cc(960)] handshake failed; returned -1, SSL error code 1, net_error -202
    I have the same error with md5RSA certificate.

    E/chromium: [ERROR:ssl_client_socket_impl.cc(962)] handshake failed; returned -1, SSL error code 1, net_error -202

    This is a lets encryt cert.

    --Finally worked for me by using this :
    //html code in
    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">

    ================================

    //flutter code in webview():
    bool get wantKeepAlive => true;

    //webview function [start]

      @override
      WebViewExampleState createState() => WebViewExampleState();
    class WebViewExampleState extends State<WebViewLoad> {
      WebViewController _webViewController;
      @override
      bool get wantKeepAlive => true;
      @override
      void initState() {
        super.initState();
        // Enable hybrid composition.
        if (Platform.isAndroid) WebView.platform = SurfaceAndroidWebView();
      @override
      Widget build(BuildContext context) {
        return WebView(
          initialUrl: 'https://ayatee.eu5.org/',
          javascriptMode: JavascriptMode.unrestricted,
          onWebViewCreated: (controller) {_webViewController = controller;},
    //webview function [end]