Jump to content

credomane

Members
  • Posts

    13
  • Joined

Posts posted by credomane

  1. Steam login for web interface seems to be broken.

     

    Tried it with the default webpermissions file and a fully setup one. Just removed all the comments and set 'web.map' to permissions 2000. So players don't need to login to view.

     

    Steps to reproduce:

    • Click the log in to steam.
    • Sent to '/session/login' and immediately redirected to steamcommunity site.
    • I login to steamcommunnity and get sent back to my server url at '/session/verify?all the open id stuffs here'
    • Only a 100% empty html page is loaded.

     

    The console then has this error

    2018-01-10T14:45:46 4072.662 INF Error in Web.HandleRequest(): System.Net.WebException: The remote server returned an error: (404) Not Found.

    at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] in <filename unknown>:0

    at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] in <filename unknown>:0

     

     

    [edit]

    Upon browsing the source code I located

    static OpenID () {

    ServicePointManager.ServerCertificateValidationCallback = (srvPoint, certificate, chain, errors) => {

    if (errors == SslPolicyErrors.None)

    return true;

     

    Log.Out ("Steam certificate error: {0}", errors);

     

    return true;

    };

     

    }

     

    Searching through the log reveals: "Steam certificate error: RemoteCertificateNameMismatch, RemoteCertificateChainErrors" several lines remove from the other.

     

    Seems that for some reason the ssl connection is failing. Anyone have clues as to why that would be? wget/curl have no issues connecting over ssl from the server.

×
×
  • Create New...