[Mono-bugs] [Bug 78597][Nor] Changed - SSL re-negotiation failure with Postgres

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Aug 6 12:52:27 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by fxjrlists at yahoo.com.br.

http://bugzilla.ximian.com/show_bug.cgi?id=78597

--- shadow/78597	2006-08-06 12:35:19.000000000 -0400
+++ shadow/78597.tmp.27971	2006-08-06 12:52:27.000000000 -0400
@@ -742,6 +742,89 @@
 and so on...
 
 I don't know why Npgsql is getting these 4 extra 0 bytes :( 
 
 I'm recompiling postgresql 8.0.1 with ssl to give it a try too.
 
+
+------- Additional Comments From fxjrlists at yahoo.com.br  2006-08-06 12:52 -------
+
+Hi Sebastien...
+
+While checking another problem in Npgsql[1], and testing on ssl
+enabled postgresql with patched mono.security.dll, I got this error:
+
+PING!
+PING!
+PING!
+extra byte: 0
+extra byte: 0
+extra byte: 0
+extra byte: 0
+Pinger: Exception caught:System.IO.IOException: The authentication or
+decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException:
+The authentication or decryption has failed.
+  at Mono.Security.Protocol.Tls.RecordProtocol.ProcessAlert
+(AlertLevel alertLevel, AlertDescription alertDesc) [0x00015] in
+/home/fxjr/Desenvolvimento/SourceRepositories/MonoCommit2/mcs/class/Mono.Security/Mono.Security.Protocol.Tls/RecordProtocol.cs:575
+  at
+Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback
+(IAsyncResult asyncResult) [0x000e3] in
+/home/fxjr/Desenvolvimento/SourceRepositories/MonoCommit2/mcs/class/Mono.Security/Mono.Security.Protocol.Tls/RecordProtocol.cs:371
+--- End of inner exception stack trace ---
+
+  at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback
+(IAsyncResult asyncResult) [0x0002a] in
+/home/fxjr/Desenvolvimento/SourceRepositories/MonoCommit2/mcs/class/Mono.Security/Mono.Security.Protocol.Tls/SslStreamBase.cs:100
+PING!
+Pinger: Exception caught:System.IO.IOException: The authentication or
+decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException:
+The authentication or decryption has failed.
+  at Mono.Security.Protocol.Tls.RecordProtocol.ProcessAlert
+(AlertLevel alertLevel, AlertDescription alertDesc) [0x00015] in
+/home/fxjr/Desenvolvimento/SourceRepositories/MonoCommit2/mcs/class/Mono.Security/Mono.Security.Protocol.Tls/RecordProtocol.cs:575
+  at
+Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback
+(IAsyncResult asyncResult) [0x000e3] in
+/home/fxjr/Desenvolvimento/SourceRepositories/MonoCommit2/mcs/class/Mono.Security/Mono.Security.Protocol.Tls/RecordProtocol.cs:371
+--- End of inner exception stack trace ---
+
+  at Mono.Security.Protocol.Tls.SslStreamBase.Read (System.Byte[]
+buffer, Int32 offset, Int32 count) [0x002b7] in
+/home/fxjr/Desenvolvimento/SourceRepositories/MonoCommit2/mcs/class/Mono.Security/Mono.Security.Protocol.Tls/SslStreamBase.cs:1032
+  at System.IO.BufferedStream.Read (System.Byte[] array, Int32 offset,
+Int32 count) [0x0014a] in
+/home/fxjr/Desenvolvimento/SourceRepositories/MonoCommit2/mcs/class/corlib/System.IO/BufferedStream.cs:231
+  at System.IO.BufferedStream.ReadByte () [0x0000d] in
+/home/fxjr/Desenvolvimento/SourceRepositories/MonoCommit2/mcs/class/corlib/System.IO/BufferedStream.cs:171
+  at Npgsql.NpgsqlState.ProcessBackendResponses_Ver_3
+(Npgsql.NpgsqlConnector context) [0x00046] in
+/home/fxjr/Desenvolvimento/SourceRepositories/NpgsqlCommit/Npgsql/src/Npgsql/NpgsqlState.cs:463
+  at Npgsql.NpgsqlState.ProcessBackendResponses
+(Npgsql.NpgsqlConnector context) [0x0005f] in
+/home/fxjr/Desenvolvimento/SourceRepositories/NpgsqlCommit/Npgsql/src/Npgsql/NpgsqlState.cs:159
+  at Npgsql.NpgsqlReadyState.Query (Npgsql.NpgsqlConnector context,
+Npgsql.NpgsqlCommand command) [0x0003b] in
+/home/fxjr/Desenvolvimento/SourceRepositories/NpgsqlCommit/Npgsql/src/Npgsql/NpgsqlReadyState.cs:78
+  at Npgsql.NpgsqlConnector.Query (Npgsql.NpgsqlCommand queryCommand)
+[0x00000] in
+/home/fxjr/Desenvolvimento/SourceRepositories/NpgsqlCommit/Npgsql/src/Npgsql/NpgsqlConnector.cs:240
+  at Npgsql.NpgsqlCommand.ExecuteCommand () [0x00043] in
+/home/fxjr/Desenvolvimento/SourceRepositories/NpgsqlCommit/Npgsql/src/Npgsql/NpgsqlCommand.cs:1438
+  at Npgsql.NpgsqlCommand.ExecuteNonQuery () [0x00018] in
+/home/fxjr/Desenvolvimento/SourceRepositories/NpgsqlCommit/Npgsql/src/Npgsql/NpgsqlCommand.cs:446
+  at (wrapper remoting-invoke-with-check)
+Npgsql.NpgsqlCommand:ExecuteNonQuery ()
+  at NotificationTestApp.NotifyError.Pinger () [0x00000]
+
+
+
+This error didn't appear any time while I was running the test I sent
+you on previous post.
+
+
+
+
+
+
+[1] http://pgfoundry.org/forum/message.php?msg_id=1001496
+


More information about the mono-bugs mailing list