Re: pgAdmin4 7.6 Server "Does not have clipboard access" - Solved

From: Andreas Laggner <Andreas(dot)Laggner(at)thuenen(dot)de>
To: Yogesh Mahajan <yogesh(dot)mahajan(at)enterprisedb(dot)com>
Cc: "pgadmin-support lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: pgAdmin4 7.6 Server "Does not have clipboard access" - Solved
Date: 2023-11-06 09:55:50
Message-ID: 839222cb-c105-4fb1-9243-d204a51ec924@thuenen.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Moin Yogesh.

Thank you Yogesh, it works now. This is the solution if you connect with
http (and not https) to pgAdmin Server:

1. set insecure orirgins treated as secure for the address

2. set the clipboard to allowed.

1.Type*chrome://flags/#unsafely-treat-insecure-origin-as-secure*in the
address bar.
Add the origin which you need to treat as secure as shown in the below
image.

2.On your computer, open Chrome.
Navigate to chrome*Settings*.
Click*Privacy and security* > *Site settings*.
Select the setting you want to update.
In *Permissions* section, click on *Additional Permissions*.
Open *Clipboard* settings.
Click on the Add button beside Allowed to see your clipboard section and
add your pgAdmin 4 url.

works for Chrome and also for Opera (did not try it with Firefox)

hasta luego        Andreas

Am 06.11.2023 um 05:31 schrieb Yogesh Mahajan:

> Hi,
>
> You can try the following steps -
>
> 1.Type*chrome://flags/#unsafely-treat-insecure-origin-as-secure*in the
> address bar.
> 2.Add the origin which you need to treat as secure as shown in the
> below image.
>
>
> Screenshot 2023-11-06 at 9.59.59 AM.png
>
>
>
> Thanks,
> Yogesh Mahajan
> EnterpriseDB
>
>
> On Wed, Nov 1, 2023 at 6:20 PM Andreas Laggner
> <Andreas(dot)Laggner(at)thuenen(dot)de> wrote:
>
> Moin Yogesh,
>
> thanks a lot, good idea, clipboard is blocked there!
>
> BUT unfortunately i cannot change the setting because the adress
> from pgadmin is a http and chrome tells me "the site must bei save
> for clipboard access". This is stupid, because it is a internal
> connection (intranet) to apache webserver (there is nothing saver
> than that), but how can tell chrome??
>
> If i just write the IP from the server (without the http) chrome
> accepts the input but still blocks the clipboard.
>
> hasta luego        Andreas
>
>
> Am 20.10.2023 um 12:36 schrieb Yogesh Mahajan:
>> Hi Andreas,
>>
>> 1.On your computer, open Chrome.
>> 2.Navigate to chrome*Settings*.
>> 3.Click*Privacy and security* > *Site settings*.
>> 4.Select the setting you want to update.
>> 5.In *Permissions* section, click on *Additional Permissions*.
>> 6.Open *Clipboard* settings.
>> 7.Click on the Add button beside Allowed to see your clipboard
>> section and add your pgAdmin 4 url.
>>
>> Screenshot 2023-10-20 at 4.06.09 PM.png
>>
>>
>> Thanks,
>> Yogesh Mahajan
>> EnterpriseDB
>>
>>
>> On Thu, Oct 19, 2023 at 2:55 PM Andreas Laggner
>> <Andreas(dot)Laggner(at)thuenen(dot)de> wrote:
>>
>> Hi Yogesh,
>>
>> what are site settings? I looked at the settings from pgadmin
>> that i sent in the attachment but found nothing ...
>>
>> A screenshot of the error is difficult because the error
>> message only pops up shortly in the lower right corner from
>> pgadmin if trying to copy something to the clipboard.
>>
>> hasta luego        Andreas
>>
>>
>>
>> Am 16.10.2023 um 05:08 schrieb Yogesh Mahajan:
>>> Hi,
>>>
>>> Have you allowed clipboard access from the site setting?
>>> Can you please provide screenshot of the error?
>>>
>>> Thanks,
>>> Yogesh Mahajan
>>> EnterpriseDB
>>>
>>>
>>> On Fri, Oct 13, 2023 at 4:35 PM Andreas Laggner
>>> <Andreas(dot)Laggner(at)thuenen(dot)de> wrote:
>>>
>>> Hello list,
>>>
>>> unfortunately all users on this server cannot use the
>>> clipboard to copy
>>> things from the pgAdmin4. I attached the Server
>>> Configuration as
>>> hardcopies because the copy button is not working too.
>>>
>>> The Browser is not the problem, tried chrome and firefox
>>> and opera, it
>>> seems to be a problem with the installation on the
>>> ubuntu 20.04 server.
>>>
>>> Any ideas how to solve this?
>>>
>>> Thanks in advice    Andreas
>>>
>>> --
>>> Dipl. Geoök. Andreas Laggner
>>>
>>> Thünen-Institut für Agrarklimaschutz/
>>> Thünen Institute of Climate-Smart Agriculture
>>>
>>> Bundesallee 65
>>> D-38116 Braunschweig, Germany
>>>
>>> Tel.: ++49 531 596 2636
>>> Fax:  ++49 531 596 2699
>>> Email: andreas(dot)laggner(at)thuenen(dot)de
>>>
>>> Arbeitsgruppe "Emissionsberichterstattung"/
>>> Working group "Emission Inventories"
>>> Email: emissionsinventare(at)thuenen(dot)de
>>>
>>> Das Johann Heinrich von Thünen-Institut,
>>> Bundesforschungsinstitut für Ländliche Räume,
>>> Wald und Fischerei – kurz: Thünen-Institut –
>>> besteht aus 15 Fachinstituten, die in den
>>> Bereichen Ökonomie, Ökologie und Technologie
>>> forschen und die Politik beraten.
>>>
>>> The Johann Heinrich von Thünen Institute,
>>> Federal Research Institute for Rural Areas,
>>> Forestry and Fisheries – Thünen Institute in brief –
>>> consists of 15 specialized institutes that
>>> carry out research and provide policy advice
>>> in the fields of economy, ecology and technology.
>>>
>> --
>> Dipl. Geoök. Andreas Laggner
>>
>> Thünen-Institut für Agrarklimaschutz/
>> Thünen Institute of Climate-Smart Agriculture
>>
>> Bundesallee 65
>> D-38116 Braunschweig, Germany
>>
>> Tel.: ++49 531 596 2636
>> Fax: ++49 531 596 2699
>> Email:andreas(dot)laggner(at)thuenen(dot)de
>>
>> Arbeitsgruppe "Emissionsberichterstattung"/
>> Working group "Emission Inventories"
>> Email:emissionsinventare(at)thuenen(dot)de
>>
>> Das Johann Heinrich von Thünen-Institut,
>> Bundesforschungsinstitut für Ländliche Räume,
>> Wald und Fischerei – kurz: Thünen-Institut –
>> besteht aus 15 Fachinstituten, die in den
>> Bereichen Ökonomie, Ökologie und Technologie
>> forschen und die Politik beraten.
>>
>> The Johann Heinrich von Thünen Institute,
>> Federal Research Institute for Rural Areas,
>> Forestry and Fisheries – Thünen Institute in brief –
>> consists of 15 specialized institutes that
>> carry out research and provide policy advice
>> in the fields of economy, ecology and technology.
>>
> --
> Dipl. Geoök. Andreas Laggner
>
> Thünen-Institut für Agrarklimaschutz/
> Thünen Institute of Climate-Smart Agriculture
>
> Bundesallee 65
> D-38116 Braunschweig, Germany
>
> Tel.: ++49 531 596 2636
> Fax: ++49 531 596 2699
> Email:andreas(dot)laggner(at)thuenen(dot)de
>
> Arbeitsgruppe "Emissionsberichterstattung"/
> Working group "Emission Inventories"
> Email:emissionsinventare(at)thuenen(dot)de
>
> Das Johann Heinrich von Thünen-Institut,
> Bundesforschungsinstitut für Ländliche Räume,
> Wald und Fischerei – kurz: Thünen-Institut –
> besteht aus 15 Fachinstituten, die in den
> Bereichen Ökonomie, Ökologie und Technologie
> forschen und die Politik beraten.
>
> The Johann Heinrich von Thünen Institute,
> Federal Research Institute for Rural Areas,
> Forestry and Fisheries – Thünen Institute in brief –
> consists of 15 specialized institutes that
> carry out research and provide policy advice
> in the fields of economy, ecology and technology.
>
--
Dipl. Geoök. Andreas Laggner

Thünen-Institut für Agrarklimaschutz/
Thünen Institute of Climate-Smart Agriculture

Bundesallee 65
D-38116 Braunschweig, Germany

Tel.: ++49 531 596 2636
Fax: ++49 531 596 2699
Email:andreas(dot)laggner(at)thuenen(dot)de

Arbeitsgruppe "Emissionsberichterstattung"/
Working group "Emission Inventories"
Email:emissionsinventare(at)thuenen(dot)de

Das Johann Heinrich von Thünen-Institut,
Bundesforschungsinstitut für Ländliche Räume,
Wald und Fischerei – kurz: Thünen-Institut –
besteht aus 15 Fachinstituten, die in den
Bereichen Ökonomie, Ökologie und Technologie
forschen und die Politik beraten.

The Johann Heinrich von Thünen Institute,
Federal Research Institute for Rural Areas,
Forestry and Fisheries – Thünen Institute in brief –
consists of 15 specialized institutes that
carry out research and provide policy advice
in the fields of economy, ecology and technology.

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Karl O. Pinc 2023-11-06 15:16:55 Re: pgadmin for ubuntu 23.10 (mantic)
Previous Message Khushboo Vashi 2023-11-06 05:06:53 Re: Why do I need PGADMIN_DEFAULT_EMAIL for ldap?