Thank you very much. That works for me, too. A couple extra seconds is a lot better than a reboot (and an occasional forced system cache clean I've had to do, too).

Dave

On Apr 3, 2006, at 11:12 AM, [EMAIL PROTECTED] wrote:

Hi,

I had the same problem;

After some trying i suspected a timing issue:

After adding a sleep of one second, it now works reliable 99%
(Ok, a hard coded sleep is not nice, but maybe someone finds
 a better solution...)

gwenhywfar-2.1.1/src/os/posix/inetsocket.c :: GWEN_Socket_Write()

GWEN_ERRORCODE GWEN_Socket_Write(GWEN_SOCKET *sp,
                                const char *buffer,
                                int *bsize){
 int i;
 assert(sp);
 assert(buffer);
 assert(bsize);

sleep(1);

#ifndef MSG_NOSIGNAL
 i=send(sp->socket,buffer, *bsize,0);
#else
 i=send(sp->socket,buffer, *bsize, MSG_NOSIGNAL);
#endif

the verbous log leading me to this is:

2081 6:2006/04/01 19-35-10:gwen(1051):nl_socket.c: 499: Connection established with 213.95.18.98 (port 443) 2082 6:2006/04/01 19-35-10:gwen(1051):netlayer.c: 1214: Changing status of "Socket" from "connecting" to "connected" 2083 6:2006/04/01 19-35-10:gwen(1051):nl_socket.c: 502: Connection established 2084 8:2006/04/01 19-35-10:gwen(1051):nl_ssl.c: 1416: Result of BaseLayer work: changed 2085 7:2006/04/01 19-35-10:gwen(1051):nl_ssl.c: 252: Loading certificate locations 2086 8:2006/04/01 19-35-10:gwen(1051):bio_netlayer.c: 80: BIO method: Create 2087 8:2006/04/01 19-35-10:gwen(1051):nl_ssl.c: 1516: Calling connect 2088 7:2006/04/01 19-35-10:gwen(1051):nl_ssl.c: 736: SSL_connect: before/connect initialization 2089 8:2006/04/01 19-35-10:gwen(1051):bio_netlayer.c: 144: BIO method: Write(126) 2090 ---------------------------------------------------------------------- ---------------- 2091 7:2006/04/01 19-35-10:gwen(1051):nl_socket.c: 367: Severity: Error Type: Socket Code: Socket is not connected (57) 2092 6:2006/04/01 19-35-10:gwen(1051):bio_netlayer.c: 167: here (-1) 2093 7:2006/04/01 19-35-10:gwen(1051):nl_ssl.c: 754: SSL_connect: error in "SSLv2/v3 write client hello B" 2094 3:2006/04/01 19-35-10:gwen(1051):nl_ssl.c: 1556: List of pending SSL errors: 2095 3:2006/04/01 19-35-10:gwen(1051):nl_ssl.c: 1560: SSL error: Socket is not connected (5)

cheers
thorsten



--
David Reiser
[EMAIL PROTECTED]



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Aqbanking-devel mailing list
Aqbanking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aqbanking-devel

Reply via email to