deleting.user
deleting.user
RRailway
Created by deleting.user on 8/11/2024 in #✋|help
cant connect to pg locally
so im trying to connect to my postgres server locally from a python script using asyncpg.create_pool this has always worked for me in the past but its not working this time for some reason.
async with asyncpg.create_pool(database=os.environ.get('PGDATABASE'),
host=os.environ.get('PGHOST'),
user=os.environ.get('PGUSER'),
password=os.environ.get('PGPASSWORD'),
port=os.environ.get('PGPORT')) as psql:
async with asyncpg.create_pool(database=os.environ.get('PGDATABASE'),
host=os.environ.get('PGHOST'),
user=os.environ.get('PGUSER'),
password=os.environ.get('PGPASSWORD'),
port=os.environ.get('PGPORT')) as psql:
the env variables are all present. i get socket.gaierror: [Errno 11001] getaddrinfo failed. if you want me to send full traceback i can do that ig. it works fine on railway idk it just doesnt work on my computer. the env variables for the project on railway are variable references, and ive copied those to the local env file project id: 1dfc4bb8-37ce-4e09-9723-387fa3324724
43 replies
RRailway
Created by deleting.user on 8/2/2024 in #✋|help
domain not available
so i bought a domain imady.pro i created an empty deploy on railway and set up on the custom domain on it, it was working so i removed it then i created a subdomain donut.imady.pro setup another empty deploy and added the domain to it. i then removed all the custom domain from railway and deleted the project. i also deleted the cname from namecheap. now ive created my actual deploy and im only able to use imady.pro but not donut.imady.pro. railway just says domain not available. should i wait? or did i fk somethign up?
18 replies