<?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: Problem and How to configure haproxy für TPP? in Network Security Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/network-security-discussions/problem-and-how-to-configure-haproxy-f%C3%BCr-tpp/m-p/1424215#M1039</link>
    <description>&lt;P&gt;While, I haven't deployed this with Haproxy, typically getting a login screen after having already logged in suggest a persistence problem (you're sent to the wrong server). &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://www.haproxy.com/documentation/haproxy-configuration-tutorials/proxying-essentials/session-persistence/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at the haproxy documentation, you may to have some options missing in the backend ssl_443 configuration:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cookie SERVERID insert indirect nocache&lt;/P&gt;&lt;P&gt;server web1 server1.domain.de cookie web1 ssl verify none&lt;/P&gt;&lt;P&gt;server web2 server2.domain.de cookie web2 ssl verify none&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Key here is the 'cookie web1' parameter for each of the servers. Alternatively, you can use source IP address persistence.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Jan 2026 21:04:29 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2026-01-14T21:04:29Z</dc:date>
    <item>
      <title>Problem and How to configure haproxy für TPP?</title>
      <link>https://live.paloaltonetworks.com/t5/network-security-discussions/problem-and-how-to-configure-haproxy-f%C3%BCr-tpp/m-p/1424214#M1038</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I habe problems to configure haproxy with two TPP-Server.&lt;/P&gt;&lt;P&gt;After configure the haproxy and the dns, I can see the loginpage. I try to login and I get back to the login page. I have analyse the login with developer tools of chrome and found this failure reponse.&lt;/P&gt;&lt;CODE&gt;"response": {
          "status": 401,
          "statusText": "Unauthorized",
          "httpVersion": "http/2.0",
          "headers": [
            {
              "name": "cache-control",
              "value": "no-cache,no-store, no-cache, max-age=0, must-revalidate"
            },
            {
              "name": "content-length",
              "value": "54"
            },
            {
              "name": "content-security-policy",
              "value": "default-src 'self' https://data.analytics.venafi.com https://app.pendo.io https://cdn.analytics.venafi.com;object-src none;script-src 'sha256-H3SVZBYrbqBt3ncrT/nNmOb6nwCjC12cPQzh5jnW4Y0=' 'self' https://data.analytics.venafi.com https://app.pendo.io https://cdn.analytics.venafi.com ;style-src 'self' https://cdn.analytics.venafi.com"
            },
            {
              "name": "content-type",
              "value": "application/json; charset=utf-8"
            },
            {
              "name": "date",
              "value": "Fri, 05 Dec 2025 06:44:07 GMT"
            },
            {
              "name": "expires",
              "value": "-1,0"
            },
            {
              "name": "pragma",
              "value": "no-cache,no-cache"
            },
            {
              "name": "referrer-policy",
              "value": "same-origin"
            },
            {
              "name": "server",
              "value": ""
            },
            {
              "name": "strict-transport-security",
              "value": "max-age=31536000"
            },
            {
              "name": "x-content-type-options",
              "value": "nosniff"
            },
            {
              "name": "x-frame-options",
              "value": "SAMEORIGIN"
            },
            {
              "name": "x-ua-compatible",
              "value": "IE=Edge"
            },
            {
              "name": "x-xss-protection",
              "value": "1; mode=block"
            }
          ],
          "cookies": [],
          "content": {
            "size": 54,
            "mimeType": "application/json"
          },
          "redirectURL": "",
          "headersSize": -1,
          "bodySize": -1,
          "_transferSize": 899,
          "_error": null,
          "_fetchedViaServiceWorker": false
        },
        "serverIPAddress": "SERVERIP",
        "startedDateTime": "2025-12-05T06:44:07.458Z",
        "time": 165.60200000003533,
        "timings": {
          "blocked": 2.6259999998392884,
          "dns": -1,
          "ssl": -1,
          "connect": -1,
          "send": 112.83099999999999,
          "wait": 49.527999999593774,
          "receive": 0.6170000006022747,
          "_blocked_queueing": 0.6039999998392886,
          "_workerStart": -1,
          "_workerReady": -1,
          "_workerFetchStart": -1,
          "_workerRespondWithSettled": -1
        }
      },&lt;/CODE&gt;&lt;P&gt;This response is not the first. The first response is my credentials and I get an API key back and some good response with code 200. But if the system is open "&lt;A alt="https://cyberarktpp.de/platformsetting" href="https://cyberarktpp.de/platformsetting" target="_blank"&gt;https://cyberarktpp.de/platformsetting&lt;/A&gt;?" I got this response back.&lt;/P&gt;&lt;P&gt;In the TPP Logs I found 1 entries:&lt;/P&gt;&lt;P&gt;A Mismatch with Loadbalancing. The IP of the client is not sending.&lt;/P&gt;&lt;P&gt;But with the option "option forwardfor header X-Real-IP" in haproxy it has to send, but it's not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my config for HAProxy:&lt;/P&gt;&lt;CODE&gt;defaults
  log     global
  mode    http
  balance roundrobin
  option  httplog
  option  log-health-checks
  option  log-separate-errors
  option  dontlog-normal
  option  dontlognull
  option  socket-stats
  retries 3
  maxconn 10000
  timeout connect     5s
  timeout client     50s
  timeout server    450s
&amp;nbsp;
frontend ssl_443
  bind :80
  bind :443 ssl crt /etc/haproxy/SERVERCERT.pem
  http-request redirect scheme https code 301 unless { ssl_fc }
  mode http
  http-request set-header X-Forwarded-For %[src]
  option http-use-proxy-header
  option http-keep-alive
  default_backend ssl_443
&amp;nbsp;
backend ssl_443
  mode http
  balance roundrobin
  option forwardfor header X-Real-IP
  http-request set-header X-Forwarded-For %[src]
  cookie SERVERID insert indirect nocache
  server web1 server1.domain.de ssl verify none
  server web2 server2.domain.de ssl verify none&lt;/CODE&gt;&lt;P&gt; What does I unseen? Does I need some other options for haproxy?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2026 07:36:41 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/network-security-discussions/problem-and-how-to-configure-haproxy-f%C3%BCr-tpp/m-p/1424214#M1038</guid>
      <dc:creator>RKnappe</dc:creator>
      <dc:date>2026-01-02T07:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem and How to configure haproxy für TPP?</title>
      <link>https://live.paloaltonetworks.com/t5/network-security-discussions/problem-and-how-to-configure-haproxy-f%C3%BCr-tpp/m-p/1424215#M1039</link>
      <description>&lt;P&gt;While, I haven't deployed this with Haproxy, typically getting a login screen after having already logged in suggest a persistence problem (you're sent to the wrong server). &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://www.haproxy.com/documentation/haproxy-configuration-tutorials/proxying-essentials/session-persistence/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at the haproxy documentation, you may to have some options missing in the backend ssl_443 configuration:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cookie SERVERID insert indirect nocache&lt;/P&gt;&lt;P&gt;server web1 server1.domain.de cookie web1 ssl verify none&lt;/P&gt;&lt;P&gt;server web2 server2.domain.de cookie web2 ssl verify none&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Key here is the 'cookie web1' parameter for each of the servers. Alternatively, you can use source IP address persistence.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jan 2026 21:04:29 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/network-security-discussions/problem-and-how-to-configure-haproxy-f%C3%BCr-tpp/m-p/1424215#M1039</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2026-01-14T21:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem and How to configure haproxy für TPP?</title>
      <link>https://live.paloaltonetworks.com/t5/network-security-discussions/problem-and-how-to-configure-haproxy-f%C3%BCr-tpp/m-p/1424216#M1040</link>
      <description>&lt;P&gt;Hi @Robert Knappe​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I noticed you received a suggestion regarding your question. Could you kindly let us know if this solution worked for you?&lt;/P&gt;&lt;P&gt;If so, please mark the answer as ‘Best Answer’ to assist other community members with similar questions.&lt;/P&gt;&lt;P&gt;Thank you, Omri&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2026 14:20:34 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/network-security-discussions/problem-and-how-to-configure-haproxy-f%C3%BCr-tpp/m-p/1424216#M1040</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2026-01-19T14:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem and How to configure haproxy für TPP?</title>
      <link>https://live.paloaltonetworks.com/t5/network-security-discussions/problem-and-how-to-configure-haproxy-f%C3%BCr-tpp/m-p/1424217#M1041</link>
      <description>&lt;P&gt;@Omri Bar Natan​&amp;nbsp;Thank you for your reminder.&lt;/P&gt;&lt;P&gt;Yes, it works. LB is now working.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2026 05:39:24 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/network-security-discussions/problem-and-how-to-configure-haproxy-f%C3%BCr-tpp/m-p/1424217#M1041</guid>
      <dc:creator>RKnappe</dc:creator>
      <dc:date>2026-01-20T05:39:24Z</dc:date>
    </item>
  </channel>
</rss>

