Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6079379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:56:23+00:00 2026-05-23T10:56:23+00:00

I am using this code to download file from server and parse data from

  • 0

I am using this code to download file from server and parse data from JSON notation:

        WebClient wcl = new WebClient();
        Uri url = new Uri(tickurl);
        string srlz = wcl.DownloadString(url);
        var dict = (new JavaScriptSerializer()).Deserialize<Dictionary<string, dynamic>>(srlz);

When I use it with http://deepbit.net/api/ + my token (URI returns JSON data) it works well.

But with https://mtgox.com/code/data/ticker.php it stucks on 3rd line of the function(data downloading).

What am i doing wrong? Both URLs return same JSON formatted data.

[add] it’s not issue with https, this code works well enough with other https services. i am wondering if this could be a problem with SSL cert.

SOLVED: turned off SSL certificate validation. thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:56:24+00:00Added an answer on May 23, 2026 at 10:56 am

    I suspect it’s failing due to a security problem. When I fetch with wget, I get:

    ERROR: certificate common name www.mtgox.com' doesn't match requested host namemtgox.com’

    It’s fine when I fetch with wget using the --no-check-certificate flag.

    I don’t know whether you can persuade WebClient not to check certificates… but a better option would obviously be to get the certificate fixed.

    Alternatively, try this URL instead: https://www.mtgox.com/code/data/ticker.php – note the www at the front. That fetches in wget without any issues.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was using this code to download a pdf file from server but it
I’m using the following code to download a file from a remote ftp server:
I am using this code to download a package from server A and put
While I am working on code to download file from server using : Response.AddHeader(Content-Disposition,
I am using this code: NSURLConnection *oConnection=[[NSURLConnection alloc] initWithRequest:oRequest delegate:self]; to download a file,
I am trying to write a code to download file from server. i am
I am trying to download a file from an FTP server using an NSOperation.
I'm trying to download a test file from my server using the cURL library
Thanks to this thread How to download and save a file from Internet using
When using this code (simplified for asking): var rows1 = (from t1 in db.TABLE1

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.