<?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: App Volume agent show Manager error code 502 in App Volumes</title>
    <link>https://communities.vmware.com/t5/App-Volumes/App-Volume-agent-show-Manager-error-code-502/m-p/2858927#M8557</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I think that can be a problem related to the load balancer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error display a 502 - the server did not respond.. as if it couldn't find its way back...&amp;nbsp;but it is my thought due to the information here&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You'd&amp;nbsp; must analyze app volume manager logs and Nginx logs and do some troubleshooting on the hop of packets... from source to destination and find where the hop is interrupt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to create a Test VDI with the app volume agent pointing on one app volume manager (without LB) and verify that is all ok with VDI...&lt;/P&gt;&lt;P&gt;take a proof verify on FW (if the VLAN is different) from source to destination and reverse...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jul 2021 07:53:20 GMT</pubDate>
    <dc:creator>kenobi79</dc:creator>
    <dc:date>2021-07-23T07:53:20Z</dc:date>
    <item>
      <title>App Volume agent show Manager error code 502</title>
      <link>https://communities.vmware.com/t5/App-Volumes/App-Volume-agent-show-Manager-error-code-502/m-p/2858560#M8547</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;When I connect to VDI,&amp;nbsp;some time App volume agent show me an error&amp;nbsp;code 502&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;My installation is &lt;SPAN&gt;APP VOLUMES 4, VERSION 2103 (4.4.1.4)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;App Volumes Agent: version &lt;SPAN&gt;4.4.1.4&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Horizon Agent:&amp;nbsp;&lt;SPAN&gt;VMware-Horizon-Agent-x86_64-2106-8.3.0-18287218&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Thanksgoditsfri_0-1626869705251.png" style="width: 400px;"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/90197i3DB2C6BDB5B84219/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Thanksgoditsfri_0-1626869705251.png" alt="Thanksgoditsfri_0-1626869705251.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also&amp;nbsp;if I browse the manager the same thing happens randomly: "&lt;SPAN&gt;Server Unavailable (502)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;The server did not respond.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Bad Gateway" and "This request is taking too long.&amp;nbsp;Check that your services are running and retry."&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Thanksgoditsfri_1-1626869812803.png" style="width: 400px;"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/90198iAD67D09EED5E15E0/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Thanksgoditsfri_1-1626869812803.png" alt="Thanksgoditsfri_1-1626869812803.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Thanksgoditsfri_0-1626870656706.png" style="width: 400px;"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/90199i22AD707B1EF45474/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Thanksgoditsfri_0-1626870656706.png" alt="Thanksgoditsfri_0-1626870656706.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Has anyone fixed the problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 12:31:06 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/App-Volumes/App-Volume-agent-show-Manager-error-code-502/m-p/2858560#M8547</guid>
      <dc:creator>Thanksgoditsfri</dc:creator>
      <dc:date>2021-07-21T12:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: App Volume agent show Manager error code 502</title>
      <link>https://communities.vmware.com/t5/App-Volumes/App-Volume-agent-show-Manager-error-code-502/m-p/2858720#M8551</link>
      <description>&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;did you see this KB?&lt;/P&gt;&lt;P&gt;&lt;A href="https://kb.vmware.com/s/article/2114670" target="_blank" rel="noopener"&gt;https://kb.vmware.com/s/article/2114670&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 13:06:03 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/App-Volumes/App-Volume-agent-show-Manager-error-code-502/m-p/2858720#M8551</guid>
      <dc:creator>kenobi79</dc:creator>
      <dc:date>2021-07-22T13:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: App Volume agent show Manager error code 502</title>
      <link>https://communities.vmware.com/t5/App-Volumes/App-Volume-agent-show-Manager-error-code-502/m-p/2858765#M8552</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Riccardo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have checked the KB and I have it set to 443&lt;BR /&gt;I attach a screenshot where it can be verified.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Thanksgoditsfri_0-1626956791924.png" style="width: 400px;"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/90219i8EDBB1780C67917F/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Thanksgoditsfri_0-1626956791924.png" alt="Thanksgoditsfri_0-1626956791924.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally from the Desktop, I have verified that via browser I get to https: //FQDN:443 that I have configured and it shows me the App Volumes Manager's login page&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 12:28:32 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/App-Volumes/App-Volume-agent-show-Manager-error-code-502/m-p/2858765#M8552</guid>
      <dc:creator>Thanksgoditsfri</dc:creator>
      <dc:date>2021-07-22T12:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: App Volume agent show Manager error code 502</title>
      <link>https://communities.vmware.com/t5/App-Volumes/App-Volume-agent-show-Manager-error-code-502/m-p/2858766#M8553</link>
      <description>&lt;P&gt;did you verify the FW Rules From VDI and App Volume manager server?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a LB for the Appvolume manager (or a Proxy) ??? if yes verify the request timeout&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 13:05:47 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/App-Volumes/App-Volume-agent-show-Manager-error-code-502/m-p/2858766#M8553</guid>
      <dc:creator>kenobi79</dc:creator>
      <dc:date>2021-07-22T13:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: App Volume agent show Manager error code 502</title>
      <link>https://communities.vmware.com/t5/App-Volumes/App-Volume-agent-show-Manager-error-code-502/m-p/2858918#M8555</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Riccardo&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Yes there is a LB proxy between VDI and App Volumes Managers, but the error is obtained when navigating directly in the manager and when the VDI connects through the balancer&amp;nbsp;randomly.&lt;/P&gt;&lt;P&gt;The problem can come from the times configured by default in nginx?&lt;/P&gt;&lt;P&gt;Not seeing anything on the internet about changing this setting I have not touched any of this...&amp;nbsp;Will investige&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 06:44:29 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/App-Volumes/App-Volume-agent-show-Manager-error-code-502/m-p/2858918#M8555</guid>
      <dc:creator>Thanksgoditsfri</dc:creator>
      <dc:date>2021-07-23T06:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: App Volume agent show Manager error code 502</title>
      <link>https://communities.vmware.com/t5/App-Volumes/App-Volume-agent-show-Manager-error-code-502/m-p/2858927#M8557</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I think that can be a problem related to the load balancer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error display a 502 - the server did not respond.. as if it couldn't find its way back...&amp;nbsp;but it is my thought due to the information here&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You'd&amp;nbsp; must analyze app volume manager logs and Nginx logs and do some troubleshooting on the hop of packets... from source to destination and find where the hop is interrupt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to create a Test VDI with the app volume agent pointing on one app volume manager (without LB) and verify that is all ok with VDI...&lt;/P&gt;&lt;P&gt;take a proof verify on FW (if the VLAN is different) from source to destination and reverse...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 07:53:20 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/App-Volumes/App-Volume-agent-show-Manager-error-code-502/m-p/2858927#M8557</guid>
      <dc:creator>kenobi79</dc:creator>
      <dc:date>2021-07-23T07:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: App Volume agent show Manager error code 502</title>
      <link>https://communities.vmware.com/t5/App-Volumes/App-Volume-agent-show-Manager-error-code-502/m-p/2859626#M8561</link>
      <description>&lt;P&gt;Hello Riccardo&lt;/P&gt;&lt;P&gt;The problem is due to the LSB health check. This sampled the servers every 5 seconds and not every 30.&lt;/P&gt;&lt;P&gt;Regards and thank for your help!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 10:09:06 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/App-Volumes/App-Volume-agent-show-Manager-error-code-502/m-p/2859626#M8561</guid>
      <dc:creator>Thanksgoditsfri</dc:creator>
      <dc:date>2021-07-28T10:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: App Volume agent show Manager error code 502</title>
      <link>https://communities.vmware.com/t5/App-Volumes/App-Volume-agent-show-Manager-error-code-502/m-p/2916321#M8940</link>
      <description>&lt;P&gt;we have the same issue: 2 managers balanced with F5 but the problem is due to server number 2 only. If we access directly each server via browser only server two returns the 502 bad gateway error. We also noticed a strange odbc error on the production log of server two, error that appears after we restart the appvolume service, service that stays "idle" for about five minutes and then actually starts. This is the error:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2022-06-28 09:11:21 UTC] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;P1028 ERROR Failed to query database during application server initialization: ODBC::Error: 40001 (1205) [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Transaction (Process ID 86) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.: ALTER DATABASE "XXXXXXXX(name hidden)" SET READ_COMMITTED_SNAPSHOT ON&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;the situation is similar to this one:&amp;nbsp;&lt;A href="https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/App-Volumes-4-Managers-2-and-3-hung-install/td-p/1834535" target="_blank"&gt;https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/App-Volumes-4-Managers-2-and-3-hung-install/td-p/1834535&lt;/A&gt;&amp;nbsp;At the end on that post is said that "&lt;SPAN&gt;this can be resolved by configuring the database with&amp;nbsp; “READ_COMMITTED_SNAPSHOT” parameter" but our dba has some doubts about the safety of this operation. Any idea?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 11:52:17 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/App-Volumes/App-Volume-agent-show-Manager-error-code-502/m-p/2916321#M8940</guid>
      <dc:creator>doninside</dc:creator>
      <dc:date>2022-06-28T11:52:17Z</dc:date>
    </item>
  </channel>
</rss>

