[Mono-dev] Error getting response stream (Write): Send Failure

Sebastien Pouliot sebastien.pouliot at gmail.com
Wed Jun 28 17:29:42 EDT 2006


Hello,

Please always c.c. the mailing-list when replying - as you never know
who has your answer and to whom it may be useful in the future.

On Wed, 2006-06-28 at 13:49 -0700, gr lists wrote:
> Thx Sebastien...
> 
> The client is a browser.  The the HTTPS site works fine without mono.
> Even with mono enabled, HTTPS works for normal aspx files (forms for
> example). Just SOAP under HTTPS returns that error.  And just
> confirming: The same thing under pure HTTP works fine.

Thanks for clarifying. This removes Mono SSL stack from the equation :-)

> I'm using the web interface to the documentation page generated for
> the app (the one similar to
> http://primates.ximian.com/~lluis/images/soap-messages.png) to see the
> results of simple "hello world" SOAP server.
> When I hit the "invoke" button just that error shows up in the
> browser... nothing in the apache logs either.

I never used it with SSL - maybe the page itself doesn't handle it
correctly (did you check the HTML source?) or it's generation doesn't
handle the https case.

> The problem seems to be between mod_mono and xsp... Do they talk https
> to each other when apache gets a https request from my browser?

Unless someone else knows the answer, I suggest you to use Ethereal to
get a network trace of the problem and attach it to a bug report on
bugzilla.ximian.com

> Thanks
> 
> 
> 
> 
> 
> On 6/28/06, Sebastien Pouliot <sebastien.pouliot at gmail.com> wrote:
> > On Wed, 2006-06-28 at 12:25 -0700, gr lists wrote:
> > > Greetings all...
> > >
> > > I maybe missing something very simple in the mono config here...
> > >
> > > We want to develop a SOAP service running under HTTPS with
> > > apache+mod_mono. A simple "hello world"  application works perfectly
> > > fine when running under pure HTTP, but exactly the same thing doesnt
> > > work when we point the browser to the HTTPS site.
> >
> > Is client application a browser or a mono app ?
> >
> > Does the HTTPS server works without using Mono ?
> >
> > > The application running under HTTP returns (the expected output):
> > > <?xml version="1.0" encoding="utf-8"?>
> > > <string xmlns="http://globalrelay.net/">Hello World xyz</string>
> > >
> > > And under HTTPS returns:
> > > Error getting response stream (Write): Send Failure
> >
> > nothing more ?
> >
> > > We are using using mono mono-1.1.15,  xsp-1.1.15, and mod_mono-1.1.14.
> > >
> > > Any idea?
> >
> > If you're client app is mono-based make sure to read the security FAQ
> > http://www.mono-project.com/FAQ:_Security
> > --
> > Sebastien Pouliot  <sebastien at ximian.com>
> > Blog: http://pages.infinit.net/ctech/
> >
> >
-- 
Sebastien Pouliot  <sebastien at ximian.com>
Blog: http://pages.infinit.net/ctech/




More information about the Mono-devel-list mailing list