Re: [pgsql-es-ayuda] Error SSL en Postgresql

Lists: pgsql-es-ayudapgsql-hackers
From: Henry <hensa22(at)yahoo(dot)es>
To: Postgres <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Error SSL en Postgresql
Date: 2007-05-10 05:09:40
Message-ID: 882681.13880.qm@web30813.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-es-ayuda pgsql-hackers

hola ke tal,
estoy en una bd de prueba con postgresql 8.2.3 y Winxp, y he generado un certificado SSL con nombre server.crt y server.key en la carpeta Data, y establecido la opcion a SSL=True
no se como de la nada comenzo a darme malos resultados las funciones de postgres, me refiero a los valores de retorno

cuando doy una ojeada en los log y me doy con la sorpresa que tengo como 5 archivos .txt que pesan 10MB
y cada linea que ocupa un archivo dice:

LOG: SSL SYSCALL error: Unknown winsock error 10004
LOG: SSL SYSCALL error: Unknown winsock error 10004
LOG: SSL SYSCALL error: Unknown winsock error 10004
LOG: SSL SYSCALL error: Unknown winsock error 10004
.
.
.
.

alguien puede decirme a que se debio ese error.


---------------------------------

LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com


From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Henry <hensa22(at)yahoo(dot)es>
Cc: Postgres <pgsql-es-ayuda(at)postgresql(dot)org>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Error SSL en Postgresql
Date: 2007-05-10 15:28:22
Message-ID: 20070510152822.GJ4504@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-es-ayuda pgsql-hackers

Just got the report below in pgsql-es-ayuda. He says his logs files are
filled with 50 MB of the error message

LOG: SSL SYSCALL error: Unknown winsock error 10004

I looked up 10004 and apparently it's WSAEINTR, according to
http://msdn2.microsoft.com/en-us/library/aa924071.aspx

Interrupted function call. This error is returned when a socket
is closed or a process is terminated, on a pending Winsock
operation for that socket.

I wonder if the SSL code should be rather interpreting this error code
as one of those for which it must retry. It seems strange that it be
named EINTR (which sounds to me like "operation interrupted") and then
talk about closed sockets and terminated processes.

This is Windows XP, Postgres 8.2.3.

Henry escribió:
> hola ke tal,
> estoy en una bd de prueba con postgresql 8.2.3 y Winxp, y he generado un certificado SSL con nombre server.crt y server.key en la carpeta Data, y establecido la opcion a SSL=True
> no se como de la nada comenzo a darme malos resultados las funciones de postgres, me refiero a los valores de retorno
>
> cuando doy una ojeada en los log y me doy con la sorpresa que tengo como 5 archivos .txt que pesan 10MB
> y cada linea que ocupa un archivo dice:
>
> LOG: SSL SYSCALL error: Unknown winsock error 10004
> LOG: SSL SYSCALL error: Unknown winsock error 10004
> LOG: SSL SYSCALL error: Unknown winsock error 10004
> LOG: SSL SYSCALL error: Unknown winsock error 10004

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Henry <hensa22(at)yahoo(dot)es>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [pgsql-es-ayuda] Error SSL en Postgresql
Date: 2007-05-11 08:15:09
Message-ID: 4644260D.9050009@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-es-ayuda pgsql-hackers

Alvaro Herrera wrote:
> Just got the report below in pgsql-es-ayuda. He says his logs files are
> filled with 50 MB of the error message
>
> LOG: SSL SYSCALL error: Unknown winsock error 10004
>
> I looked up 10004 and apparently it's WSAEINTR, according to
> http://msdn2.microsoft.com/en-us/library/aa924071.aspx
>
> Interrupted function call. This error is returned when a socket
> is closed or a process is terminated, on a pending Winsock
> operation for that socket.
>
> I wonder if the SSL code should be rather interpreting this error code
> as one of those for which it must retry. It seems strange that it be
> named EINTR (which sounds to me like "operation interrupted") and then
> talk about closed sockets and terminated processes.
>
> This is Windows XP, Postgres 8.2.3.

We've seen this one before, but it hasn't been fixed. See for example
bug report #2829.

Also, I wonder if this can be related to the just-reported bug #3266,
only with a different error code on win32?

//Magnus