New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The pgAdmin 4 server could not be contacted #7447
Comments
Hi @deja94, from where did you install pgAdmin 4? The official site is https://www.pgadmin.org/download/ . |
@khushboovashi I am hitting the same issue, with a fresh download/install from the official page. |
Provide your log please. |
Here is the log:
|
@khushboovashi I managed to "solve" the issue by deleting the "C:\Users\User\AppData\Roaming\pgAdmin" directory. Since I have only one connection configured, this was acceptable in my case. But I would appreciate if you could still look into this issue. Since other (Windows?) users may also experience the same problem. |
Do you have other pgAdmin installations side by side? |
@khushboovashi Yes we had an old version installed (but not running), I removed it, reinstalled the new version still did not start. Only after deleting the folder it worked. |
Note I have access to a second windows machine that does not suffer this issue. |
I've tried everything but i still get the error and i'm on pgAdmin v8: pgAdmin Runtime EnvironmentPython Path: "C:\Users\USER\AppData\Local\Programs\pgAdmin 4\python\python.exe"
Total spawn time to start the pgAdmin4 server: 3.224 Sec |
Hi,
I have tried all of the available versions of the pgAdmin, and still get the following error when trying to start it (as administrator):
pgAdmin Runtime Environment
Python Path: "C:\Program Files\pgAdmin 4\python\python.exe"
Runtime Config File: "C:\Users\USERNAME\AppData\Roaming\pgadmin\runtime_config.json"
pgAdmin Config File: "C:\Program Files\pgAdmin 4\web\config.py"
Webapp Path: "C:\Program Files\pgAdmin 4\web\pgAdmin4.py"
pgAdmin Command: "C:\Program Files\pgAdmin 4\python\python.exe -s C:\Program Files\pgAdmin 4\web\pgAdmin4.py"
Environment:
Total spawn time to start the pgAdmin4 server: 0.009 Sec
Traceback (most recent call last):
File "C:\Program Files\pgAdmin 4\web\pgAdmin4.py", line 48, in
File "C:\Program Files\pgAdmin 4\web\config.py", line 33, in
from pgadmin.utils import env, IS_WIN, fs_short_path
File "C:\Program Files\pgAdmin 4\web\pgadmin_init_.py", line 25, in
from flask_socketio import SocketIO
File "C:\Program Files\pgAdmin 4\python\Lib\site-packages\flask_socketio_init_.py", line 9, in
from socketio import socketio_manage # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\pgAdmin 4\python\Lib\site-packages\socketio_init_.py", line 1, in
from .client import Client
File "C:\Program Files\pgAdmin 4\python\Lib\site-packages\socketio\client.py", line 3, in
import engineio
File "C:\Program Files\pgAdmin 4\python\Lib\site-packages\engineio_init_.py", line 1, in
File "C:\Program Files\pgAdmin 4\python\Lib\site-packages\engineio\client.py", line 11, in
import requests
File "C:\Program Files\pgAdmin 4\python\Lib\site-packages\requests_init_.py", line 147, in
File "C:\Program Files\pgAdmin 4\python\Lib\site-packages\requests\utils.py", line 24, in
from . import certs
File "C:\Program Files\pgAdmin 4\python\Lib\site-packages\requests\certs.py", line 14, in
from certifi import where
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "C:\Program Files\pgAdmin 4\python\Lib\site-packages\wrapt\importer.py", line 185, in _self_exec_module
File "C:\Program Files\pgAdmin 4\python\Lib\site-packages\wrapt\importer.py", line 118, in notify_module_loaded
hook(module)
File "C:\Program Files\pgAdmin 4\python\Lib\site-packages\certifi_win32\wrapt_certifi.py", line 27, in apply_patches
generate_pem()
File "C:\Program Files\pgAdmin 4\python\Lib\site-packages\certifi_win32\wincerts.py", line 121, in generate_pem
File "C:\Program Files\pgAdmin 4\python\Lib\site-packages\certifi_win32\wincerts.py", line 41, in get_pems
ssl_context = ssl.create_default_context()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "ssl.py", line 713, in create_default_context
File "ssl.py", line 534, in load_default_certs
File "ssl.py", line 526, in _load_windows_store_certs
ssl.SSLError: [ASN1] nested asn1 error (_ssl.c:4028)
Could you please help me in any way? Thanks in advance
The text was updated successfully, but these errors were encountered: