<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic User-ID XML API Response Time-out in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/user-id-xml-api-response-time-out/m-p/37455#M27463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working with the new LDAP User-ID XML API and things are going fairly well except for getting the response back from the agent after I make my updates.&amp;nbsp; Looking in the "Monitor" section of the agent and the Palo Alto itself, it is clear that my updates are working properly.&amp;nbsp; I just don't get the response message back across the HTTPS connection immediately after my update - it seems to take 10 minutes (the timeout for no data coming in) before I see the &amp;lt;uid-response&amp;gt; message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried in .NET code with the standard HttpWebRequest and HttpWebResponse classes.&amp;nbsp; My authentication program sync program is actually written in .NET and pulls the login/logout infromation that is in a SQL database populated by an enterprise-wide login script in our AD.&amp;nbsp; Then I broken down and started sending various web requests with Fiddler so I could try different tweaks to the request to see if anything would make the request come back immediately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried using "PUT", "POST", specifying the "Connection: Close" header, HTTP versions 1, 1.1, and 0.9.&amp;nbsp; I tried some other headers like "Content-type: text/xml", etc., and appending a "\r\n\r\n" to my data and it didn't have any effect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I even tried the exact XML message from DOC-1348 just to make sure it wasn't something I had overlooked in the way I was formatting the message.&amp;nbsp; The 3 login IDs are now on my agent, but I still didn't get the reply back immediately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is what is the trick?&amp;nbsp; Are you guys able to use Fiddler to send a request and get the response message back immediately?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 May 2010 16:13:57 GMT</pubDate>
    <dc:creator>Greg_Brooks</dc:creator>
    <dc:date>2010-05-12T16:13:57Z</dc:date>
    <item>
      <title>User-ID XML API Response Time-out</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/user-id-xml-api-response-time-out/m-p/37455#M27463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working with the new LDAP User-ID XML API and things are going fairly well except for getting the response back from the agent after I make my updates.&amp;nbsp; Looking in the "Monitor" section of the agent and the Palo Alto itself, it is clear that my updates are working properly.&amp;nbsp; I just don't get the response message back across the HTTPS connection immediately after my update - it seems to take 10 minutes (the timeout for no data coming in) before I see the &amp;lt;uid-response&amp;gt; message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried in .NET code with the standard HttpWebRequest and HttpWebResponse classes.&amp;nbsp; My authentication program sync program is actually written in .NET and pulls the login/logout infromation that is in a SQL database populated by an enterprise-wide login script in our AD.&amp;nbsp; Then I broken down and started sending various web requests with Fiddler so I could try different tweaks to the request to see if anything would make the request come back immediately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried using "PUT", "POST", specifying the "Connection: Close" header, HTTP versions 1, 1.1, and 0.9.&amp;nbsp; I tried some other headers like "Content-type: text/xml", etc., and appending a "\r\n\r\n" to my data and it didn't have any effect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I even tried the exact XML message from DOC-1348 just to make sure it wasn't something I had overlooked in the way I was formatting the message.&amp;nbsp; The 3 login IDs are now on my agent, but I still didn't get the reply back immediately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is what is the trick?&amp;nbsp; Are you guys able to use Fiddler to send a request and get the response message back immediately?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 16:13:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/user-id-xml-api-response-time-out/m-p/37455#M27463</guid>
      <dc:creator>Greg_Brooks</dc:creator>
      <dc:date>2010-05-12T16:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: User-ID XML API Response Time-out</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/user-id-xml-api-response-time-out/m-p/37456#M27464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our LDAP User-ID engineer explains the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Consolas;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;"The User-ID API will send the response immediately after it receives a complete &amp;lt;uid-message&amp;gt;....&amp;lt;/uid-message&amp;gt;; however, the User-ID API uses the simple SSL connection, not the https protocol; if using the https, you may wait for the https response and timeout. &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;If you use .NET, you can use the SSlStream class to implement the ssl connection."&lt;/SPAN&gt;&lt;SPAN style="font-color: #000000; font-family: Consolas; "&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoPlainText"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 23:38:15 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/user-id-xml-api-response-time-out/m-p/37456#M27464</guid>
      <dc:creator>nrice</dc:creator>
      <dc:date>2010-05-12T23:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: User-ID XML API Response Time-out</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/user-id-xml-api-response-time-out/m-p/37457#M27465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response.&amp;nbsp; I'll use an SSLStream and see if that gets me what I need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 06:24:06 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/user-id-xml-api-response-time-out/m-p/37457#M27465</guid>
      <dc:creator>Greg_Brooks</dc:creator>
      <dc:date>2010-05-14T06:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: User-ID XML API Response Time-out</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/user-id-xml-api-response-time-out/m-p/37458#M27466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep.&amp;nbsp; SSLStream works great and I'm getting the response back immediately now.&amp;nbsp; My application is humming along now.&amp;nbsp; Thank you guys for providing this API to supply our own user data - it's exactly what we needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 May 2010 20:46:28 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/user-id-xml-api-response-time-out/m-p/37458#M27466</guid>
      <dc:creator>Greg_Brooks</dc:creator>
      <dc:date>2010-05-18T20:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: User-ID XML API Response Time-out</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/user-id-xml-api-response-time-out/m-p/37459#M27467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm posting this c# code because I've been looking all over for it and couldn't find a good example.&amp;nbsp; This post lead me to the right SslStream concept to get this working.&amp;nbsp; Anyhow, here it is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 14:35:47 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/user-id-xml-api-response-time-out/m-p/37459#M27467</guid>
      <dc:creator>khaldeman</dc:creator>
      <dc:date>2012-05-22T14:35:47Z</dc:date>
    </item>
  </channel>
</rss>

