Search Unity

web request with untrusted connection

Discussion in 'Scripting' started by Kalidor, Jan 12, 2018.

  1. Kalidor

    Kalidor

    Joined:
    Sep 13, 2017
    Posts:
    14
    Hi!

    I want to do web requests (UnityWebRequest) with a https/SSL server.
    The requests only work on the local machine where the server is running and only with "localhost" in the URI.
    When i use an IP like "127.0.0.1" or the specific network ip, the connection failed with "Unknown Error" and response code 0.
    I think it's caused by the untrusted connection.

    Similar threads don't really help... Is there a way to get this work?

    Thanks!
     
  2. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,735
    Which Unity version is this and which platform?
    Normally UnityWebRequest should give error about secure connection failure, "Unkown Error" is very rare.