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 6249013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T13:09:42+00:00 2026-05-24T13:09:42+00:00

my program is supposed to go to a website and depending on the id(4e3f2c6659f25a0f8400000b),

  • 0

my program is supposed to go to a website and depending on the id(4e3f2c6659f25a0f8400000b), it will get a json string. For some reason, this program will not go past the client.execute line and throws an IOException. This function works for my other programs that need to extract information from a website. If you go to https://iphone-radar.com/accounts/4e3f2c6659f25a0f8400000b you can see the type of line I want to copy. Here is my code, I hope you can help me find out why this is happening. Thank you.

public String getText(String uri) {
        HttpClient client1 = new DefaultHttpClient();
        HttpGet request = new HttpGet("https://iphone-radar.com/accounts/4e3f2c6659f25a0f8400000b");

        ResponseHandler<String> responseHandler = new BasicResponseHandler();
        try {
            String response_str = client1.execute(request, responseHandler);
            return response_str;

        } catch (Exception e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
            return "";

        }
    }
  • 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-24T13:09:43+00:00Added an answer on May 24, 2026 at 1:09 pm

    It seems like this exception is about untrusted certificate. This will happen when you’re trying to access a HTTPS with an expired certificate, or a self-signed certificate. On a browser, a popup window will show asking us whether to trust or not. In an application’s process then we need to add some codes to ignore the untrusted SSL certificate, or to update the JVM certificates so that it recognizes the certificate.

    Reference: Disabling Certificate Validation in an HTTP Connection

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

Sidebar

Related Questions

This program is supposed to determine how many units are stored in the value
I have a small program that's supposed to sample some value from a device
This program supposed to find command line arguments entered on Unix which ends with
This program is supposed to open a txt file, record the answers from two
This program is supposed to run from command line like this: python Filename Folder_photos_are_in
This may not sound like a coherient question, but I need to find some
This program is supposed to calculate the number of degrees below 60 on a
This program is supposed to judge the height of multiple buildings by the type
So this program is supposed to estimate hourly temperatures throughout a day after being
The program is supposed to take a file, say data.dat, filled with a list

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.