OperationalError
sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to 
server at "dev.wiilink24.com" (127.0.0.1), port 5432 failed: FATAL: 
 password authentication failed for user "postgresql"

(Background on this error at: https://sqlalche.me/e/20/e3q8)

Traceback (most recent call last)
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\engine\base.py",
 
line 145, in __init__
self._dbapi_connection = engine.raw_connection()
                         ^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\engine\base.py",
 
line 3288, in raw_connection
return self.pool.connect()
       ^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\pool\base.py",
 
line 452, in connect
return _ConnectionFairy._checkout(self)
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\pool\base.py",
 
line 1267, in _checkout
fairy = _ConnectionRecord.checkout(pool)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\pool\base.py",
 
line 716, in checkout
rec = pool._do_get()
      ^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\pool\impl.py",
 
line 169, in _do_get
with util.safe_reraise():
^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\util\langhelpers.py",
 
line 147, in __exit__
raise exc_value.with_traceback(exc_tb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\pool\impl.py",
 
line 167, in _do_get
return self._create_connection()
       ^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\pool\base.py",
 
line 393, in _create_connection
return _ConnectionRecord(self)
       ^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\pool\base.py",
 
line 678, in __init__
self.__connect()
^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\pool\base.py",
 
line 902, in __connect
with util.safe_reraise():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\util\langhelpers.py",
 
line 147, in __exit__
raise exc_value.with_traceback(exc_tb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\pool\base.py",
 
line 898, in __connect
self.dbapi_connection = connection = pool._invoke_creator(self)
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\engine\create.py",
 
line 637, in connect
return dialect.connect(*cargs, **cparams)
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\engine\default.py",
 
line 615, in connect
return self.loaded_dbapi.connect(*cargs, **cparams)
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\psycopg2\__init__.py",
 
line 122, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The above exception was the direct cause of the following exception:
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py",
 
line 2552, in __call__
return self.wsgi_app(environ, start_response)
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py",
 
line 2532, in wsgi_app
response = self.handle_exception(e)
           ^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py",
 
line 2529, in wsgi_app
response = self.full_dispatch_request()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py",
 
line 1815, in full_dispatch_request
self.ensure_sync(func)()
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\[CENSORED]\OneDrive\Desktop\Wii\Development, 
developers\Development, developers\RedFire\Wii Room\Wii 
Room\room-server-master\room-server-master\room.py", line 43, in 
initialize_server
db.create_all()
^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask_sqlalchemy\extension.py",
 
line 887, in create_all
self._call_for_binds(bind_key, "create_all")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask_sqlalchemy\extension.py",
 
line 868, in _call_for_binds
getattr(metadata, op_name)(bind=engine)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\sql\schema.py",
 
line 5822, in create_all
bind._run_ddl_visitor(
^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\engine\base.py",
 
line 3238, in _run_ddl_visitor
with self.begin() as conn:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\contextlib.py",
 
line 137, in __enter__
return next(self.gen)
       ^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\engine\base.py",
 
line 3228, in begin
with self.connect() as conn:
     ^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\engine\base.py",
 
line 3264, in connect
return self._connection_cls(self)
       ^^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\engine\base.py",
 
line 147, in __init__
Connection._handle_dbapi_exception_noconnection(
^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\engine\base.py",
 
line 2426, in _handle_dbapi_exception_noconnection
raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\engine\base.py",
 
line 145, in __init__
self._dbapi_connection = engine.raw_connection()
                         ^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\engine\base.py",
 
line 3288, in raw_connection
return self.pool.connect()
       ^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\pool\base.py",
 
line 452, in connect
return _ConnectionFairy._checkout(self)
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\pool\base.py",
 
line 1267, in _checkout
fairy = _ConnectionRecord.checkout(pool)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\pool\base.py",
 
line 716, in checkout
rec = pool._do_get()
      ^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\pool\impl.py",
 
line 169, in _do_get
with util.safe_reraise():
^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\util\langhelpers.py",
 
line 147, in __exit__
raise exc_value.with_traceback(exc_tb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\pool\impl.py",
 
line 167, in _do_get
return self._create_connection()
       ^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\pool\base.py",
 
line 393, in _create_connection
return _ConnectionRecord(self)
       ^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\pool\base.py",
 
line 678, in __init__
self.__connect()
^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\pool\base.py",
 
line 902, in __connect
with util.safe_reraise():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\util\langhelpers.py",
 
line 147, in __exit__
raise exc_value.with_traceback(exc_tb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\pool\base.py",
 
line 898, in __connect
self.dbapi_connection = connection = pool._invoke_creator(self)
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\engine\create.py",
 
line 637, in connect
return dialect.connect(*cargs, **cparams)
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\sqlalchemy\engine\default.py",
 
line 615, in connect
return self.loaded_dbapi.connect(*cargs, **cparams)
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File 
"C:\Users\[CENSORED]\AppData\Local\Programs\Python\Python311\Lib\site-packages\psycopg2\__init__.py",
 
line 122, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to 
server at "dev.wiilink24.com" (127.0.0.1), port 5432 failed: FATAL: 
password authentication failed for user "postgresql"

(Background on this error at: https://sqlalche.me/e/20/e3q8)

------------------------------------------------------------------------------------
But um, that's the error I have. What did I do wrong anyways? Here's my 
config python file and a screenshot:



# If you're adding a new config option, please update 
WiiLink24/production-deployment's
# copy of config.py to match the new options once committed to master.

# Primary config for room-server
db_url = "postgresql://postgresql:robloxgu...@dev.wiilink24.com/ROOM_SERVER"

# Used as the base domain within first.bin.
# To resolve to 127.0.0.1, feel free to use "dev.wiilink24.com".
root_domain = "dev.wiilink24.com"
root_https_enabled = False
# If true, assumes url1, url2, url3 and shop subdomains (i.e. 
url1.dev.wiilink24.com).
# If false, assumes dev.wiilink24.com/url1. If you are not reverse 
proxying, keep this False.
root_separate_subdomain = False

# Used to secure the web panel.
secret_key = "please_change_thank_you"

# Sentry configuration for error logging.
use_sentry = False
sentry_dsn = "https://pub...@sentry.example.com/1"; 

Idk man, but this is my first time even posting in Google Groups and I'm 
trying to host a server for my own Wii no Ma/Wii Room channel.

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sqlalchemy/17500a22-8b92-4c07-b404-3e351547b912n%40googlegroups.com.

Reply via email to