27 Nov, 2017

8 commits


25 Nov, 2017

3 commits


23 Nov, 2017

1 commit


22 Nov, 2017

3 commits


13 Nov, 2017

1 commit


19 Sep, 2017

1 commit


22 Jun, 2017

6 commits


15 Jun, 2017

1 commit

  • …ocolType.Tls11 | SecurityProtocolType.Tls;
    
    EDIT Answer2: If the server you are connecting to has disabled SSL, TLS 1.0, and 1.1 and you are still running .NET framework 4.5(or below) you need to make a choice
    
    Upgrade to .Net 4.6+ (Supports TLS 1.2 by default)
    Add registry changes to instruct 4.5 to connect over TLS1.2 ( See: salesforce writeup for compat and keys to change OR checkout IISCrypto see Ronald Ramos answer comments)
    Add application code to manually configure .NET to connect over TLS1.2 (see Ronald Ramos answer)
    Valera V.Harseko
     

08 Jun, 2017

1 commit

  • 0000005412d87990 00007fff751514e8 (MethodDesc 00007fff7502f6d0 +0x118 ru.org.openam.sdk.session.Request..ctor(ru.org.openam.sdk.Session))
    0000005412d87a60 00007fff75151fc7 (MethodDesc 00007fff7502e240 +0x27 ru.org.openam.sdk.identity.Request.getCookieContainer()), calling (MethodDesc 00007fff7502f6d0 +0 ru.org.openam.sdk.session.Request..ctor(ru.org.openam.sdk.Session))
    0000005412d87aa0 00007fff74f87a04 (MethodDesc 00007fff7502df38 +0xc4 ru.org.openam.sdk.pll.Request.getHttpWebRequest())
    0000005412d87af0 00007fff74f87272 (MethodDesc 00007fff7502df68 +0x32 ru.org.openam.sdk.pll.Request.getResponse()), calling (MethodDesc 00007fff7502df38 +0 ru.org.openam.sdk.pll.Request.getHttpWebRequest())
    0000005412d87b70 00007fff74f860ba (MethodDesc 00007fff7502b6f8 +0x13a ru.org.openam.sdk.Agent.GetConfig()), calling (MethodDesc 00007fff7502df68 +0 ru.org.openam.sdk.pll.Request.getResponse())
    0000005412d87b80 00007fffcc4142d0 (MethodDesc 00007fffcc22c4a8 +0x20 System.Uri.get_Host()), calling (MethodDesc 00007fffcc22cb00 +0 System.Uri.GetComponents(System.UriComponents, System.UriFormat))
    0000005412d87bd0 00007fff74f85ae4 (MethodDesc 00007fff7502b708 +0x14 ru.org.openam.sdk.Agent.GetSingle(System.String)), calling (MethodDesc 00007fff7502b6f8 +0 ru.org.openam.sdk.Agent.GetConfig())
    0000005412d87be0 00007fff74f858c9 (MethodDesc 00007fff7502b6b8 +0x19 ru.org.openam.sdk.Agent.get_Instance()), calling clr!JIT_GetSharedNonGCStaticBase_InlineGetAppDomain
    0000005412d87c10 00007fff74f87a53 (MethodDesc 00007fff7502df38 +0x113 ru.org.openam.sdk.pll.Request.getHttpWebRequest())
    0000005412d87c60 00007fff74f87272 (MethodDesc 00007fff7502df68 +0x32 ru.org.openam.sdk.pll.Request.getResponse()), calling (MethodDesc 00007fff7502df38 +0 ru.org.openam.sdk.pll.Request.getHttpWebRequest())
    0000005412d87ce0 00007fff74f860ba (MethodDesc 00007fff7502b6f8 +0x13a ru.org.openam.sdk.Agent.GetConfig()), calling (MethodDesc 00007fff7502df68 +0 ru.org.openam.sdk.pll.Request.getResponse())
    0000005412d87cf0 00007fffcc4142d0 (MethodDesc 00007fffcc22c4a8 +0x20 System.Uri.get_Host()), calling (MethodDesc 00007fffcc22cb00 +0 System.Uri.GetComponents(System.UriComponents, System.UriFormat))
    0000005412d87d40 00007fff74f85ae4 (MethodDesc 00007fff7502b708 +0x14 ru.org.openam.sdk.Agent.GetSingle(System.String)), calling (MethodDesc 00007fff7502b6f8 +0 ru.org.openam.sdk.Agent.GetConfig())
    0000005412d87d50 00007fff74f858c9 (MethodDesc 00007fff7502b6b8 +0x19 ru.org.openam.sdk.Agent.get_Instance()), calling clr!JIT_GetSharedNonGCStaticBase_InlineGetAppDomain
    0000005412d87d80 00007fff74f87a53 (MethodDesc 00007fff7502df38 +0x113 ru.org.openam.sdk.pll.Request.getHttpWebRequest())
    0000005412d87dd0 00007fff74f87272 (MethodDesc 00007fff7502df68 +0x32 ru.org.openam.sdk.pll.Request.getResponse()), calling (MethodDesc 00007fff7502df38 +0 ru.org.openam.sdk.pll.Request.getHttpWebRequest())
    0000005412d87e50 00007fff74f860ba (MethodDesc 00007fff7502b6f8 +0x13a ru.org.openam.sdk.Agent.GetConfig()), calling (MethodDesc 00007fff7502df68 +0 ru.org.openam.sdk.pll.Request.getResponse())
    0000005412d87e60 00007fffcc4142d0 (MethodDesc 00007fffcc22c4a8 +0x20 System.Uri.get_Host()), calling (MethodDesc 00007fffcc22cb00 +0 System.Uri.GetComponents(System.UriComponents, System.UriFormat))
    0000005412d87eb0 00007fff74f85ae4 (MethodDesc 00007fff7502b708 +0x14 ru.org.openam.sdk.Agent.GetSingle(System.String)), calling (MethodDesc 00007fff7502b6f8 +0 ru.org.openam.sdk.Agent.GetConfig())
    0000005412d87ec0 00007fff74f858c9 (MethodDesc 00007fff7502b6b8 +0x19 ru.org.openam.sdk.Agent.get_Instance()), calling clr!JIT_GetSharedNonGCStaticBase_InlineGetAppDomain
    0000005412d87ef0 00007fff74f87a53 (MethodDesc 00007fff7502df38 +0x113 ru.org.openam.sdk.pll.Request.getHttpWebRequest())
    0000005412d87f40 00007fff74f87272 (MethodDesc 00007fff7502df68 +0x32 ru.org.openam.sdk.pll.Request.getResponse()), calling (MethodDesc 00007fff7502df38 +0 ru.org.openam.sdk.pll.Request.getHttpWebRequest())
    0000005412d87fc0 00007fff74f860ba (MethodDesc 00007fff7502b6f8 +0x13a ru.org.openam.sdk.Agent.GetConfig()), calling (MethodDesc 00007fff7502df68 +0 ru.org.openam.sdk.pll.Request.getResponse())
    0000005412d87fd0 00007fffcc4142d0 (MethodDesc 00007fffcc22c4a8 +0x20 System.Uri.get_Host()), calling (MethodDesc 00007fffcc22cb00 +0 System.Uri.GetComponents(System.UriComponents, System.UriFormat))
    0000005412d88020 00007fff74f85ae4 (MethodDesc 00007fff7502b708 +0x14 ru.org.openam.sdk.Agent.GetSingle(System.String)), calling (MethodDesc 00007fff7502b6f8 +0 ru.org.openam.sdk.Agent.GetConfig())
    0000005412d88030 00007fff74f858c9 (MethodDesc 00007fff7502b6b8 +0x19 ru.org.openam.sdk.Agent.get_Instance()), calling clr!JIT_GetSharedNonGCStaticBase_InlineGetAppDomain
    0000005412d88060 00007fff74f87a53 (MethodDesc 00007fff7502df38 +0x113 ru.org.openam.sdk.pll.Request.getHttpWebRequest())
    0000005412d880b0 00007fff74f87272 (MethodDesc 00007fff7502df68 +0x32 ru.org.openam.sdk.pll.Request.getResponse()), calling (MethodDesc 00007fff7502df38 +0 ru.org.openam.sdk.pll.Request.getHttpWebRequest())
    0000005412d88130 00007fff74f860ba (MethodDesc 00007fff7502b6f8 +0x13a ru.org.openam.sdk.Agent.GetConfig()), calling (MethodDesc 00007fff7502df68 +0 ru.org.openam.sdk.pll.Request.getResponse())
    0000005412d88140 00007fffcc4142d0 (MethodDesc 00007fffcc22c4a8 +0x20 System.Uri.get_Host()), calling (MethodDesc 00007fffcc22cb00 +0 System.Uri.GetComponents(System.UriComponents, System.UriFormat))
    0000005412d88190 00007fff74f85ae4 (MethodDesc 00007fff7502b708 +0x14 ru.org.openam.sdk.Agent.GetSingle(System.String)), calling (MethodDesc 00007fff7502b6f8 +0 ru.org.openam.sdk.Agent.GetConfig())
    0
    Valera V.Harseko
     

21 May, 2017

1 commit


13 Mar, 2017

2 commits

  • …e06) POST https://login.mts.ru/amserver/namingservice
    Content-Type: text/xml; encoding='utf-8'
    User-Agent: openam.org.ru (.Net 1.0.63/master-8dd43c4 money.mts.ru EKSITEWEB01/10.72.229.1)
    Host: login.mts.ru
    Cookie: track=6d3e37ef-6133-4f07-af7a-2e420d757a7c
    Content-Length: 322
    Connection: Keep-Alive
    
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <RequestSet vers="1.0" svcid="com.iplanet.am.naming" reqid="1">
      <Request><![CDATA[<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <NamingRequest vers="3.0" reqid="1">
      <GetNamingProfile></GetNamingProfile>
    </NamingRequest>]]></Request>
    </RequestSet>
    
    2017-03-11 02:34:25.0999 Fatal (web request id: 4cc1784d-bb11-440e-b0f2-86fc95b4ce06) System.TypeInitializationException: The type initializer for 'ru.org.openam.sdk.Bootstrap' threw an exception. ---> System.Net.WebException: The remote server returned an error: (502) Bad Gateway.
       at System.Net.HttpWebRequest.GetResponse()
       at ru.org.openam.sdk.pll.Request.getResponse()
       at ru.org.openam.sdk.Naming.Get(Request request)
       at ru.org.openam.sdk.Bootstrap..cctor()
       --- End of inner exception stack trace ---
       at ru.org.openam.sdk.pll.Request.GetNaming()
       at ru.org.openam.sdk.auth.Request.getUrl()
       at ru.org.openam.sdk.pll.Request.getHttpWebRequest()
       at ru.org.openam.sdk.pll.Request.getResponse()
       at ru.org.openam.sdk.Auth.login(String realm, indexType indexType, String IndexName, Callback[] callbacks)
       at ru.org.openam.sdk.Agent.getSession()
       at ru.org.openam.sdk.Agent.GetConfig()
       at ru.org.openam.sdk.Agent.GetSingle(String name)
       at ru.org.openam.iis.OpenAMHttpModule.GetUserIp(HttpRequestBase request)
       at ru.org.openam.iis.OpenAMHttpModule.OnBeginRequest(HttpContextBase context)
    2017-03-11 02:34:25.3499 Fatal (web request id: d221df10-d6e0-4744-bce6-20bd07218494) System.TypeInitializationException: The type initializer for 'ru.org.openam.sdk.Bootstrap' threw an exception. ---> System.Net.WebException: The remote server returned an error: (502) Bad Gateway.
       at System.Net.HttpWebRequest.GetResponse()
       at ru.org.openam.sdk.pll.Request.getResponse()
       at ru.org.openam.sdk.Naming.Get(Request request)
       at ru.org.openam.sdk.Bootstrap..cctor()
       --- End of inner exception stack trace ---
       at ru.org.openam.sdk.pll.Request.GetNaming()
       at ru.org.openam.sdk.auth.Request.getUrl()
       at ru.org.openam.sdk.pll.Request.getHttpWebRequest()
       at ru.org.openam.sdk.pll.Request.getResponse()
       at ru.org.openam.sdk.Auth.login(String realm, indexType indexType, String IndexName, Callback[] callbacks)
       at ru.org.openam.sdk.Agent.getSession()
       at ru.org.openam.sdk.Agent.GetConfig()
       at ru.org.openam.sdk.Agent.GetSingle(String name)
       at ru.org.openam.iis.OpenAMHttpModule.GetUserIp(HttpRequestBase request)
       at ru.org.openam.iis.OpenAMHttpModule.OnBeginRequest(HttpContextBase context)
    Valera V.Harseko
     
  • …5ac5) System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.
       at ru.org.openam.sdk.pll.Request.getResponse() in D:\GIT\ru.org.openam.dotnet\ru.org.openam.sdk\pll\Request.cs:line 138
       at ru.org.openam.sdk.Session.getSession(Agent agent, HttpCookieCollection cookies) in D:\GIT\ru.org.openam.dotnet\ru.org.openam.sdk\Session.cs:line 72
       at ru.org.openam.iis.OpenAMHttpModule.OnAuthentication(HttpContextBase context) in D:\GIT\ru.org.openam.dotnet\ru.org.openam.iis.httpmodule\OpenAMHttpModule.cs:line 132
    2017-03-07 00:12:09.1450 Error (web request id: 2c292c3d-5d25-47aa-84a2-c699a7d74e1f) Message received (uuid: fa2bf6b7-0169-4069-bec1-55d5c96617b6)
    Transfer-Encoding: chunked
    Connection: keep-alive
    Keep-Alive: timeout=30
    X-ru.org.openam.XForwardedFilter: 1
    X-node: 02b02,d100
    Date: Mon, 06 Mar 2017 21:12:08 GMT
    Server: nginx/1.10.1
    
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <ResponseSet vers="1.0" svcid="session" reqid="74190">
    <Response><![CDATA[null]]></Response>
    </ResponseSet>
    Valera V.Harseko
     

27 Feb, 2017

9 commits


22 Feb, 2017

3 commits