[MonoDevelop] MonoDevelop 4.2.3 - Web Service Client Exception: Error: SendFailure (Error writing headers) at System.Net.HttpWebRequest.EndGetRequestStrea
Hari
phariparam at gmail.com
Wed Jul 9 14:29:19 UTC 2014
I am trying to access https wcf web service from my application using
monodevelop in Linux. I am using the basicHttpBinding binding which works
fine with HTTP protocol. But when I am using HTTPS protocol, the web
service call is throwing the following exception
Error: SendFailure (Error writing headers) at
System.Net.HttpWebRequest.EndGetRequestStream (IAsyncResult asyncResult)
[0x00043] in
/home/abuild/rpmbuild/BUILD/mono-3.4.0/mcs/class/System/System.Net/HttpWebRequest.cs:845
at
System.ServiceModel.Channels.HttpRequestChannel+<BeginProcessRequest>c__AnonStorey1.<>m__0
(IAsyncResult r) [0x0001d] in
/home/abuild/rpmbuild/BUILD/mono-3.4.0/mcs/class/System.ServiceModel/System.ServiceModel.Channels/HttpRequestChannel.cs:219.
when I try to load the web service url using https, the Firefox browser is
giving a warning "*This connection is Untrusted"*
The certificate(.cer) is generated using Visual Studio 2008 makecert
utility.I tried to install the certificate using the below commands
1. certmgr -add -c -m My MyCert.cer
2. certmgr -ssl https://myserver:1200/Monik/TestSvc
I also copied the certificate to /etc/ssl/certs folder.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20140709/6db2e90b/attachment.html>
More information about the Monodevelop-list
mailing list