<?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: Unable to connect to PostgreSQL via DBeaver (custom connector issue) in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/unable-to-connect-to-postgresql-via-dbeaver-custom-connector/m-p/1413757#M85790</link>
    <description>&lt;P&gt;Hello Malhar, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you see my recent update on the issue, where I stated a new issue that I am facing right now? &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason why I ask, is because I am confused if your suggestion refers to that post or the original post. Also, could you please tell me, how do I put the Applocker in Audit mode?&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2024 11:04:52 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2024-11-18T11:04:52Z</dc:date>
    <item>
      <title>Unable to connect to PostgreSQL via DBeaver (custom connector issue)</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/unable-to-connect-to-postgresql-via-dbeaver-custom-connector/m-p/1413754#M85787</link>
      <description>&lt;P&gt;Hello, CyberArk community!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have developed my own custom PSM connector for connecting to PostgreSQL via the DBeaver as I was instructed in one of my past questions that I asked in the portal: https://community.cyberark.com/s/question/0D7Ht000008jAZfKAM/detail&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shortly, my problem right now is that when I click on connect, CyberArk establishes the session and starts the recording, but the clientApp itself doesn't open properly. On the first screenshot below I would like to show that instead of having one, I have two DBeaver app windows that are getting open once I click on connect. Second screenshot below shows what I have at the end, and no matter what I choose, the session gets aborted:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Ht00000WtHVKIA3.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/90673i3799A6FBF5D923BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Ht00000WtHVKIA3.png" alt="Field_Content_versions_oct20__068Ht00000WtHVKIA3.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Ht00000WtHVPIA3.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/90675i036868BB51CC30E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Ht00000WtHVPIA3.png" alt="Field_Content_versions_oct20__068Ht00000WtHVPIA3.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, here is my troubleshooting. I tested my AutoIT script with hardcoded credentials, it's running properly and establishes the connection with the database, everything is fine at that part. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, as per instructions from this article https://medium.com/@vamshivam144/create-psm-connectors-using-autoit-637fdd22830b I used the PSM dispatcher, copied, changed it accordingly. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* I wasn't able to test the connection as described in this article: https://community.cyberark.com/s/article/00004913  because I don't have a PSM shadow user and wasn't able to run the commands.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I jumped to integrating the connector with PVWA, and did everything as I was told in the guide.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The platform for the password management for PostgreSQL I downloaded from the marketplace and associated my created PSM connector with it. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally, I edited the PSMConfigureAppLocker.xml file by adding these two lines:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Ht00000WtHVtIAN.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/90677i2C7904892B956C1B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Ht00000WtHVtIAN.png" alt="Field_Content_versions_oct20__068Ht00000WtHVtIAN.png" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P&gt;I am not really sure about this one because I tried just allowing the dbeaver.exe, now PSM-DBeaver, and session is not getting launched and doesn't give any error. If I have only PSM-DBeaver in the Allowed applications, I have another error when I try to connect, I get "unable to launch dbeaver.exe". That's why I assume I need to have both of these lines there, but I might be wrong and this can be the reason why I am facing this issue that I have right now. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone please help me troubleshoot this problem? I will be happy to share any additional details that would help this process, for I have no ideas what else I can possibly check or try.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 13:32:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/unable-to-connect-to-postgresql-via-dbeaver-custom-connector/m-p/1413754#M85787</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-11-15T13:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to PostgreSQL via DBeaver (custom connector issue)</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/unable-to-connect-to-postgresql-via-dbeaver-custom-connector/m-p/1413755#M85788</link>
      <description>&lt;P&gt;UPDATE:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to handle one problem, which was the "Can't lock workspace". It was caused by my script, It had Dbeaver.exe in both the Client executable variable, and at the beginning of the Script, that's why it was causing the problem. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So now, when I am trying to connect, it launches the DBeaver and it says "Event loop exception":&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Ht00000WtIgGIAV.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/90687i752CC752EFB0A0CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Ht00000WtIgGIAV.png" alt="Field_Content_versions_oct20__068Ht00000WtIgGIAV.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and Then I get this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Ht00000WtIg1IAF.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/90685i92E64EA727A7A600/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Ht00000WtIg1IAF.png" alt="Field_Content_versions_oct20__068Ht00000WtIg1IAF.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 10:49:31 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/unable-to-connect-to-postgresql-via-dbeaver-custom-connector/m-p/1413755#M85788</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-11-18T10:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to PostgreSQL via DBeaver (custom connector issue)</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/unable-to-connect-to-postgresql-via-dbeaver-custom-connector/m-p/1413756#M85789</link>
      <description>&lt;P&gt;Hi @Almaz Akhmadullin​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To isolate the issue with AppLocker rule, you can put the Applocker in Audit mode 'temporarily' and do not enforce the rules&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that try to run the Connector again, if that is successfully getting established, some processes are still getting blocked by AppLocker. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 10:59:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/unable-to-connect-to-postgresql-via-dbeaver-custom-connector/m-p/1413756#M85789</guid>
      <dc:creator>M.Vora780263</dc:creator>
      <dc:date>2024-11-18T10:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to PostgreSQL via DBeaver (custom connector issue)</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/unable-to-connect-to-postgresql-via-dbeaver-custom-connector/m-p/1413757#M85790</link>
      <description>&lt;P&gt;Hello Malhar, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you see my recent update on the issue, where I stated a new issue that I am facing right now? &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason why I ask, is because I am confused if your suggestion refers to that post or the original post. Also, could you please tell me, how do I put the Applocker in Audit mode?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 11:04:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/unable-to-connect-to-postgresql-via-dbeaver-custom-connector/m-p/1413757#M85790</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-11-18T11:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to PostgreSQL via DBeaver (custom connector issue)</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/unable-to-connect-to-postgresql-via-dbeaver-custom-connector/m-p/1413758#M85791</link>
      <description>&lt;P&gt;Hi @Almaz Akhmadullin​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As the community has not yet provided an answer to this question for some time, could you kindly share if you were able to resolve the issue, and how? Your solution could help other community members who may face a similar issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the issue is still relevant, I would advise raising a ticket with our Support team for further assistance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, Liad&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 13:37:50 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/unable-to-connect-to-postgresql-via-dbeaver-custom-connector/m-p/1413758#M85791</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-11-28T13:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to PostgreSQL via DBeaver (custom connector issue)</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/unable-to-connect-to-postgresql-via-dbeaver-custom-connector/m-p/1413759#M85792</link>
      <description>&lt;P&gt;Hi @Liad Domb​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually I tried Malhar's suggestion to put the AppLocker in audit mode and it indeed worked! Turned out I had some dlls that were getting blocked by AppLocker that were preventing my DBeaver from starting! That was a really helpful suggestion and a useful trick for troubleshooting that I took in my arsenal. &lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 04:10:46 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/unable-to-connect-to-postgresql-via-dbeaver-custom-connector/m-p/1413759#M85792</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2024-11-29T04:10:46Z</dc:date>
    </item>
  </channel>
</rss>

