[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Trouble when connecting from Alioth to UDD via psycopg2



On 04/12/11 at 09:07 +0100, Andreas Tille wrote:
> Hi,
> 
> I verified that not to many other connections to UDD are active:
> 
> tille@wagner:~$ ps aux | grep udd
> tolimar    473  0.0  0.0 180092     8 pts/6    S+   Nov08   0:00 /usr/lib/postgresql/9.0/bin/psql -h localhost -p 5441 -U guest udd
> tille    17191  0.0  0.0 112312   860 pts/1    S+   07:28   0:00 grep udd
> 
> When trying to connect with psycopg2 I get:
> 
> tille@wagner:~$ python
> Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) 
> [GCC 4.4.5] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> 
> >>> import psycopg2
> >>> conn = psycopg2.connect(host="localhost",port=5441,user="guest",database="udd")
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> psycopg2.OperationalError: could not connect to server: Connection refused
>         Is the server running on host "localhost" (::1) and accepting
>         TCP/IP connections on port 5441?
> received invalid response to SSL negotiation: s
> 
> 
> This is the case since yesterday (on Friday 2.12.2011 the Blends cron
> jobs worked as usual).

it works again.

For the record, the tunnels from alioth to samosa are maintained by
DSA. They should be contacted, not -qa@.

Lucas


Reply to: