PgAdmin4 failed to retrieve data from the server

Questions and answers regarding general SQL and backend databases

PgAdmin4 failed to retrieve data from the server

Postby ProRM » Mon Oct 30, 2023 4:31 pm

Hi,

I hope some PostgreSQL guru can help me with this: I use PgAdmin Desktop under Windows to administer PostgreSQL Databases.

Last weed I first received an error trying to connecto to a remote Linux server with a problem on the port and since that moment I can not connect to that Server. It says: Failed to retrieve data from the server, string indices must be integers.
It works fine with localhost.

Any idea?

Regards,
User avatar
ProRM
 
Posts: 107
Joined: Thu Sep 18, 2008 10:24 pm
Location: Uruguay

Re: PgAdmin4 failed to retrieve data from the server

Postby swingman » Mon Oct 30, 2023 4:58 pm

Hi, it looks like there is some issue specific to your browser and PGAdmin4. PgAdmin Desktop may be some kind of Electron-based app. Try changing browser or use another database tool.
Have looked at this?

https://dba.stackexchange.com/questions ... e-integers
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1472
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Re: PgAdmin4 failed to retrieve data from the server

Postby ProRM » Mon Oct 30, 2023 5:40 pm

Hi Christian,

Yes, I saw that, but as I mentioned I use PgAdmin4 Desktop on Windows, I do not use the web interfase.

I tried upgrading from v9.2.24 to v13 but I had problems so I stay with v9.

Regards,
Attachments
CapturaPgadmin4.JPG
CapturaPgadmin4.JPG (50.43 KiB) Viewed 1525 times
User avatar
ProRM
 
Posts: 107
Joined: Thu Sep 18, 2008 10:24 pm
Location: Uruguay

Re: PgAdmin4 failed to retrieve data from the server

Postby ProRM » Mon Oct 30, 2023 6:01 pm

I am now using HeidiSQL to access but I prefer to use PgAdmin
User avatar
ProRM
 
Posts: 107
Joined: Thu Sep 18, 2008 10:24 pm
Location: Uruguay

Re: PgAdmin4 failed to retrieve data from the server

Postby swingman » Mon Oct 30, 2023 9:06 pm

I'm a DataGrip user...
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1472
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Re: PgAdmin4 failed to retrieve data from the server

Postby vik.lamp.vl » Tue Oct 31, 2023 10:53 am

Hi Juan,

i´ve experienced the same problem with the newest versions of pgAdmin.
My database is hosted on a server. Sometimes when i run a query or just browse data, i get the "string must be XX" error and no data is shown.
(Same db on localhost i never get these kind of errors.)

But in my case its not persistens, i just run the query again or refresh the browse and after a few tries it works again.

Greetings
Vik
vik.lamp.vl
 
Posts: 25
Joined: Wed May 26, 2021 3:37 pm
Location: Germany

Re: PgAdmin4 failed to retrieve data from the server

Postby ProRM » Tue Oct 31, 2023 8:39 pm

Hi Vik,

Do you use the web based PgAdmin? I use the desktop version on Windows. What do you need to install to run the web based PgAdmin?

Regards,
User avatar
ProRM
 
Posts: 107
Joined: Thu Sep 18, 2008 10:24 pm
Location: Uruguay

Re: PgAdmin4 failed to retrieve data from the server

Postby vik.lamp.vl » Thu Nov 02, 2023 10:28 am

Hi Juan,

currently we use the electron (we think its electron or some kind of) client of pgAdmin, so its the desktop version.
The version we use is: 7.8.

I had some more connection errors to my server yesterday, but just like every time. I just refresh/F5 and after a few tries it works again.

Greetings,
Vik
vik.lamp.vl
 
Posts: 25
Joined: Wed May 26, 2021 3:37 pm
Location: Germany


Return to SQL Databases

Who is online

Users browsing this forum: No registered users and 19 guests

cron