<?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 Re: Moved behind NGINX now Request.Form keys missing in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Moved-behind-NGINX-now-Request-Form-keys-missing/m-p/60871#M35381</link>
    <description>&lt;P&gt;Can we have some more information regarding the request that is confirmed to be hitting the page handling the call back? You could try capturing the request and logging it.&lt;/P&gt;&lt;P&gt;Something that might be helpful:&lt;/P&gt;&lt;P&gt;&lt;A href="http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_http_version" target="_blank"&gt;http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_http_version&lt;/A&gt;&lt;/P&gt;&lt;P&gt;recommend setting the proxy_http_version as 1.1 for keep-alive connections.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Dec 2017 03:24:43 GMT</pubDate>
    <dc:creator>akagarwa</dc:creator>
    <dc:date>2017-12-15T03:24:43Z</dc:date>
    <item>
      <title>Moved behind NGINX now Request.Form keys missing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Moved-behind-NGINX-now-Request-Form-keys-missing/m-p/60843#M35354</link>
      <description>&lt;P&gt;We have an application using the Authorize.net dll and has been working fine untill we moved servers behind NGINX reverse proxy.&amp;nbsp; The form keys comming back to the application's handler appears to now be removed.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I valadated the call back is hitting the page handling the call back.&amp;nbsp; I am not an expert with NGINX, the Devops says it should work just fine.&amp;nbsp; The following are the location settings:&lt;/P&gt;&lt;PRE&gt; proxy_pass $legacy_upstream;
   proxy_set_header Host $http_host;
   proxy_set_header Connection keep-alive;
   proxy_set_header Upgrade $http_upgrade;
   proxy_set_header X-Real-IP $remote_addr;
   proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
   proxy_set_header X-Forwarded-Proto $scheme;
   proxy_set_header X-Forwarded-Host $host;

   # support huge file responses
     client_max_body_size 0;
     client_body_in_file_only clean;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 14:25:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Moved-behind-NGINX-now-Request-Form-keys-missing/m-p/60843#M35354</guid>
      <dc:creator>atyler</dc:creator>
      <dc:date>2017-12-13T14:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Moved behind NGINX now Request.Form keys missing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Moved-behind-NGINX-now-Request-Form-keys-missing/m-p/60871#M35381</link>
      <description>&lt;P&gt;Can we have some more information regarding the request that is confirmed to be hitting the page handling the call back? You could try capturing the request and logging it.&lt;/P&gt;&lt;P&gt;Something that might be helpful:&lt;/P&gt;&lt;P&gt;&lt;A href="http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_http_version" target="_blank"&gt;http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_http_version&lt;/A&gt;&lt;/P&gt;&lt;P&gt;recommend setting the proxy_http_version as 1.1 for keep-alive connections.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 03:24:43 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Moved-behind-NGINX-now-Request-Form-keys-missing/m-p/60871#M35381</guid>
      <dc:creator>akagarwa</dc:creator>
      <dc:date>2017-12-15T03:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Moved behind NGINX now Request.Form keys missing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Moved-behind-NGINX-now-Request-Form-keys-missing/m-p/60929#M35438</link>
      <description>&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We know it is hitting the hadler page because we have code writing to the database.&amp;nbsp; We tried forcing the relay page to be an HTTPS to ensure we were not sending on HTTP and we get the same result.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We will review the document to see if we missed anything.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2017 18:34:51 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Moved-behind-NGINX-now-Request-Form-keys-missing/m-p/60929#M35438</guid>
      <dc:creator>atyler</dc:creator>
      <dc:date>2017-12-20T18:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Moved behind NGINX now Request.Form keys missing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Moved-behind-NGINX-now-Request-Form-keys-missing/m-p/60948#M35457</link>
      <description>&lt;P&gt;Interesting that the headers are not passed by NGINX.&amp;nbsp; We placed a page to gather header information coing into the site.&amp;nbsp; The code for sending the relay page was basing the sting off the server protocal - Since we changed the server to be HTTP, this was picking up http://blah/blah... which was being redirected, and appears to be stripping header info on the redirect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We st the relay to a prefix of "https://".&amp;nbsp; This now appears to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for th information and recommendation...&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 11:48:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Moved-behind-NGINX-now-Request-Form-keys-missing/m-p/60948#M35457</guid>
      <dc:creator>atyler</dc:creator>
      <dc:date>2017-12-21T11:48:00Z</dc:date>
    </item>
  </channel>
</rss>

