Hey all. I am having an issue calling my postgres database on the same machine as my arc app. I can connect to the db from the arc command line, but when it connects via the app, (pipe-to (system "psql -U user -d database") (prn "...") it times out, throwing: srv thread took too long for x.x.x.x
user break
context...:
/usr/share/racket/collects/racket/system.rkt:174:0: do-system*/exit-code
/usr/share/racket/collects/racket/system.rkt:213:0: system
/home/xapp/ac.scm:1088:20
g1987
g1986
gf1497
handle-request-thread I can connect by command line via "psql -h url -U user" or by (system "psql -U user -d database") (prn "...") in the arc command line, but not from the app itself. Any insight would be appreciated! BTW I have ufw disabled. |