[Mono-list] Does Mono support System.Net.Http.HttpContentExtensions?
andresp
andredasilvapinto at gmail.com
Mon Jul 21 22:09:33 UTC 2014
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)
"
On Mon, Jul 21, 2014 at 6:08 PM, nedry [via Mono] <
ml-node+s1490590n4663385h62 at n4.nabble.com> wrote:
> Last time I ran into that exception, I had to install the standard
> certificate roots using "mozroots --install".
>
> Usage: http://linux.die.net/man/1/mozroots
>
> Hope this helps,
>
> - Brett
>
>
> On Sun, Jul 20, 2014 at 5:00 AM, <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=4663385&i=0>> wrote:
>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Sat, 19 Jul 2014 16:37:01 -0700 (PDT)
>> From: andresp <[hidden email]
>> <http://user/SendEmail.jtp?type=node&node=4663385&i=1>>
>> To: [hidden email] <http://user/SendEmail.jtp?type=node&node=4663385&i=2>
>> Subject: Re: [Mono-list] Does Mono support
>> System.Net.Http.HttpContentExtensions?
>> Message-ID:
>> <[hidden email]
>> <http://user/SendEmail.jtp?type=node&node=4663385&i=3>>
>> Content-Type: text/plain; charset="utf-8"
>>
>>
>> Regarding the problems that might be affecting my original application,
>> I've created a new sample project which runs fine on MS .NET and breaks
>> with the following output on Mono:
>>
>> http://pastebin.com/zrsuAFJj
>>
>> You can download the VS project here (the same thing happens with an
>> equivalent F# project):
>> https://onedrive.live.com/redir?resid=9C417A2B6298C81%21127
>>
>> On the original application nothing is printed out to console on Mono (the
>> application just hangs there), but I suppose it is just being hidden
>> somewhere...
>>
>> Note: The 3rd party dependencies is just a Soundcloud API client (
>> https://www.nuget.org/packages/Ewk.SoundCloud.ApiLibrary/1.1.4809.41996 )
>>
>>
>> On Sat, Jul 19, 2014 at 11:38 PM, Andr? Pinto <[hidden email]
>> <http://user/SendEmail.jtp?type=node&node=4663385&i=4>>
>>
>> wrote:
>>
>> > Hi Martin,
>> >
>> > Sure. This is the last version of my sample test class where I've moved
>> > what I though might be breaking the compatibility between a running
>> > application on MS .NET and a broken application on Mono. I've since
>> > confirmed it is not the case as running the MS .NET compiled code with
>> Mono
>> > works correctly. Still can't find a way to do this in Xamarin with Mono
>> > libraries.
>> >
>> > http://pastebin.com/rCgFkBCi
>> >
>> >
>> > On Sat, Jul 19, 2014 at 10:15 PM, martinJT [via Mono] <
>> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4663385&i=5>>
>> wrote:
>> >
>> >> Can you provide may a code sample we could drop into an App to show
>> what
>> >> it is you're trying to do?
>> >>
>> >> I know Async stuff is something that is missing in a few places, but
>> not
>> >> sure if this is one.
>> >>
>> >> Not sure I'll have time to look into it, but that may help someone else
>> >> do it.
>> >>
>> >> Martin
>> >>
>> >>
>> >> On 19 July 2014 17:10, andresp <[hidden email]
>> >> <http://user/SendEmail.jtp?type=node&node=4663380&i=0>> wrote:
>> >>
>> >>> Although there are no System.Net.Http.Formatting and System.Web.Http
>> >>> packages
>> >>> on Xamarin
>> >>>
>> >>> http://i.imgur.com/kBN1IiC.png
>> >>>
>> >>> I was able to add them manually from my local Mono installation, but
>> even
>> >>> though I could compile and run the application, I then get a runtime
>> >>> error:
>> >>>
>> >>> System.AggregateException:
>> >>> Could not load file or assembly or one of its dependencies
>> >>> 'System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral,
>> >>> PublicKeyToken=31bf3856ad364e35'. Strong name validation failed.
>> >>> (HRESULT:
>> >>> 0x8013141A)
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> View this message in context:
>> >>>
>> http://mono.1490590.n4.nabble.com/Does-Mono-support-System-Net-Http-HttpContentExtensions-tp4663373p4663376.html
>>
>> >>> Sent from the Mono - General mailing list archive at Nabble.com.
>> >>> _______________________________________________
>> >>> Mono-list maillist - [hidden email]
>> >>> <http://user/SendEmail.jtp?type=node&node=4663380&i=1>
>>
>> >>> http://lists.ximian.com/mailman/listinfo/mono-list
>> >>>
>> >>
>> >>
>> >> _______________________________________________
>> >> Mono-list maillist - [hidden email]
>> >> <http://user/SendEmail.jtp?type=node&node=4663380&i=2>
>> >> 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-tp4663373p4663380.html
>> >> To unsubscribe from Does Mono support
>> >> System.Net.Http.HttpContentExtensions?, click here
>> >> <
>> >> .
>> >> 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-tp4663373p4663383.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/20140719/47ec9fb8/attachment-0001.html
>> >
>>
>> ------------------------------
>>
>> _______________________________________________
>> Mono-list mailing list
>> [hidden email] <http://user/SendEmail.jtp?type=node&node=4663385&i=6>
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
>>
>> End of Mono-list Digest, Vol 111, Issue 12
>> ******************************************
>>
>
>
> _______________________________________________
> Mono-list maillist - [hidden email]
> <http://user/SendEmail.jtp?type=node&node=4663385&i=7>
> 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-tp4663373p4663385.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-tp4663373p4663386.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/20140721/30b25077/attachment-0001.html>
More information about the Mono-list
mailing list