[Mono-list] Does Mono support System.Net.Http.HttpContentExtensions?

andresp andredasilvapinto at gmail.com
Tue Jul 22 22:30:41 UTC 2014


Thank you again Brett.

I've done so but the output doesn't look much helpful (at least for me, but
I confess I don't understand much of what is being printed by strace).

Here is the stderr output for the C# project I've included in this thread:
http://pastebin.com/VKGSFwXq

I've also tried the same in the "real" application but in that case the
output of strace also stops as soon as the "blocking" operation is
triggered (it happens when making an HTTP request during the handling of
another HTTP request).

Thanks!


On Tue, Jul 22, 2014 at 3:24 AM, nedry [via Mono] <
ml-node+s1490590n4663387h24 at n4.nabble.com> wrote:

> (Sorry if this comes through twice, browser crashed while sending).
>
> In these kinds of situations I've often found strace (or dtruss on Mac) to
> be helpful. Could reveal if it's failing to open/find some resource. Also,
> I've had weird problems with secure connections when some dependency or
> nuget package includes an old version of Mono.Security.dll. I'd make sure
> there are no local copies of that dll floating around.
>
> - Brett
>
>
> On Mon, Jul 21, 2014 at 3:09 PM, andresp <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=4663387&i=0>> wrote:
>
>> Thanks Brett, but I had no luck.
>>
>> On Linux:
>>
>> "usr/lib/mono/4.5$ sudo mozroots --import --sync
>> Mozilla Roots Importer - version 3.2.8.0
>> Download and import trusted root certificates from Mozilla's MXR.
>> Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD
>> licensed.
>>
>> Downloading from '
>> http://mxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1'.
>> ..
>> Importing certificates into user store...
>> Import process completed."
>>
>>
>> Ran the program and got the same error.
>>
>>
>>
>> On Windows id doesn't even import the certificates:
>>
>> "C:\Program Files (x86)\Mono-3.2.3\lib\mono\4.5>mozroots --import --sync
>> Mozilla Roots Importer - version 3.3.0.0
>> Download and import trusted root certificates from Mozilla's MXR.
>> Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD
>> licensed.
>>
>> Downloading from '
>> http://mxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1'.
>> ..
>> Couldn't retrieve the file using the supplied information.
>>
>> C:\Program Files (x86)\Mono-3.2.3\lib\mono\4.5>mozroots --import
>> Mozilla Roots Importer - version 3.3.0.0
>> Download and import trusted root certificates from Mozilla's MXR.
>> Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD
>> licensed.
>>
>> Downloading from '
>> http://mxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1'.
>> ..
>> Importing certificates into user store...
>> Error: System.NullReferenceException: Object reference not set to an
>> instance of an object.
>>    in Mono.Security.X509.X509Certificate.get_Hash()
>>    in
>> Mono.Security.X509.X509CertificateCollection.IndexOf(X509Certificate value)
>>    in
>> Mono.Security.X509.X509CertificateCollection.Contains(X509Certificate value)
>>    in Mono.Tools.MozRoots.Process()
>>    in Mono.Tools.MozRoots.Main(String[] args)
>> "
>>
>>
>
> _______________________________________________
> Mono-list maillist  -  [hidden email]
> <http://user/SendEmail.jtp?type=node&node=4663387&i=1>
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://mono.1490590.n4.nabble.com/Does-Mono-support-System-Net-Http-HttpContentExtensions-tp4663373p4663387.html
>  To unsubscribe from Does Mono support
> System.Net.Http.HttpContentExtensions?, click here
> <http://mono.1490590.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4663373&code=YW5kcmVkYXNpbHZhcGludG9AZ21haWwuY29tfDQ2NjMzNzN8NTQxNTcxODkz>
> .
> NAML
> <http://mono.1490590.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://mono.1490590.n4.nabble.com/Does-Mono-support-System-Net-Http-HttpContentExtensions-tp4663373p4663393.html
Sent from the Mono - General mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20140722/672bbf17/attachment.html>


More information about the Mono-list mailing list