[Mono-list] Fwd: Issues with RavenDB

Chris Mcvittie chris.mcvittie at blue-zinc.com
Wed Dec 12 18:27:10 UTC 2012


Hi,
I'm trying to access RavenDB (running on Windows) through a console app on
mono using the latest ravendb version.

I'm getting the following errors:

mono *.exe
System.ArgumentException: Can not write to stream
  at System.IO.StreamWriter..ctor (System.IO.Stream stream,
System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename
unknown>:0
  at System.IO.StreamWriter..ctor (System.IO.Stream stream,
System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor
(System.IO.Stream,System.Text.Encoding)
  at Raven.Abstractions.Connection.HttpRequestHelper.WriteDataToRequest
(System.Net.HttpWebRequest req, System.String data, Boolean
disableCompression) [0x00000] in <filename unknown>:0
  at Raven.Client.Connection.HttpJsonRequest.Write (System.String data)
[0x00000] in <filename unknown>:0
  at Raven.Client.Connection.ServerClient.DirectPutIndex (System.String
name, System.String operationUrl, Boolean overwrite,
Raven.Abstractions.Indexing.IndexDefinition definition) [0x00000] in
<filename unknown>:0
  at
Raven.Client.Connection.ServerClient+<>c__DisplayClass48.<PutIndex>b__47
(System.String operationUrl) [0x00000] in <filename unknown>:0
  at Raven.Client.Connection.ReplicationInformer.TryOperation[String]
(System.Func`2 operation, System.String operationUrl, Boolean
avoidThrowing, System.String& result) [0x00000] in <filename unknown>:0

or with sudo:

sudo mono *.exe
[sudo] password for bluezinc:
System.IO.IOException: Internal error (no progress possible) Flush
  at System.IO.Compression.DeflateStream.CheckResult (Int32 result,
System.String where) [0x00000] in <filename unknown>:0
  at System.IO.Compression.DeflateStream.Flush () [0x00000] in <filename
unknown>:0
  at System.IO.Compression.GZipStream.Flush () [0x00000] in <filename
unknown>:0
  at Raven.Abstractions.Connection.HttpRequestHelper.WriteDataToRequest
(System.Net.HttpWebRequest req, System.String data, Boolean
disableCompression) [0x00000] in <filename unknown>:0
  at Raven.Client.Connection.HttpJsonRequest.Write (System.String data)
[0x00000] in <filename unknown>:0
  at Raven.Client.Connection.ServerClient.DirectPutIndex (System.String
name, System.String operationUrl, Boolean overwrite,
Raven.Abstractions.Indexing.IndexDefinition definition) [0x00000] in
<filename unknown>:0
  at
Raven.Client.Connection.ServerClient+<>c__DisplayClass48.<PutIndex>b__47
(System.String operationUrl) [0x00000] in <filename unknown>:0
  at Raven.Client.Connection.ReplicationInformer.TryOperation[String]
(System.Func`2 operation, System.String operationUrl, Boolean
avoidThrowing, System.String& result) [0x00000] in <filename unknown>:0

Oren Eini - the RavenDB guy suggested that I contact mono people, because
the Raven client shouldn't be doing anything funky with the http streams.

Can you please advise?

Many thanks,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20121212/13b0069f/attachment.html>


More information about the Mono-list mailing list