Error load link webview android Cocos2dx - 3.8.1 c++..

  • tam241992
    Likes 0

    Problem Description

    Hi you. I load error webview link:

    Code UIWebview Cocos2dx version 3.8.1 c++

    https://www.xu188.club/thanhtoan/index.php

    When open webview on android then show this error.

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

    please help me this error.

    Thank you.


  • Sonar Systems admin
    Likes 1

    What language?


    This reply has been verified.
  • tam241992
    Likes 0

    Code Cocos2dx version 3.8.1 c++


  • Sonar Systems admin
    Likes 1

    On what device?


    This reply has been verified.
  • tam241992
    Likes 0

    Only all device on android error not load webview.

    I don’t know this error is config website or error config android ssl?

    iOS then load ok.


  • Sonar Systems admin
    Likes 0

    What device?


    This reply has been verified.
  • tam241992
    Likes 0

    device Android real and virtual.

    Or create virtual android on Android Studio.

    Use LDPlayer4 to test device.


  • Sonar Systems admin
    Likes 1

    Both are the same?

  • tam241992
    Likes 0

    Yeah, is same.

    Video this your.

    https://www.youtube.com/watch?v=QzKs04FDlC4&t=25s

    Try link and test android.


  • jesonzale
    Likes 0

    The error message you are encountering, "handshake failed; returned -1, SSL error code 1, net_error -202," indicates a failure in establishing a secure SSL/TLS connection. This could be due to a number of reasons, including:

    1. The website's SSL certificate is not trusted or has expired.
    2. The device is unable to connect to the website's server due to a network issue.
    3. The server is using a cipher suite that is not supported by the device's webview component.

    To resolve this issue, you can try the following steps:

    1. Check the website's SSL certificate: Make sure the SSL certificate is valid and trusted by your device. You can do this by visiting the gb website in a browser and checking for any warnings or errors regarding the certificate.

    2. Check your network connection: Ensure that your device is connected to the internet and is able to access the website's server.

    3. Modify the webview's cipher suite: You can try modifying the cipher suites used by the webview component to see if that resolves the issue. This can typically be done by setting the "ssl_version" property in the webview component's settings.

    If these steps do not resolve the issue, you may need to consult with your network administrator or the website's support team for further assistance.

  • Root 009
    Likes 0

    To resolve this issue, you can take the following steps:

    1. Check the SSL certificate of the website: Ensure that the SSL certificate is valid and trusted by checking the website in a browser for any certificate warnings or errors.

    2. Check the network connection: Ensure that your device is connected to the internet and can access the gbwadownload’s website's server.

    3. Modify the webview's cipher suite: Try changing the cipher suites used by the webview component by setting the "ssl_version" property in the webview settings.

    If these steps do not resolve the issue, you may need to seek further assistance from the website’s support team or your network administrator.

  • henrmy
    Likes 0

    It is important to note that modifying the cipher suite settings may require some technical expertise and should be done with caution. If you are not comfortable with making such changes, it is best to seek assistance from a qualified professional. Additionally, if the issue persists after trying the suggested steps as mentioned in gbwa, it may be helpful to clear the cache and cookies of your web browser or try accessing the website from a different device or network.

     

     

Login to reply