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

  • Home
  • SEARCH
  • 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 8612655
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T04:40:55+00:00 2026-06-12T04:40:55+00:00

Short snippet here (synchronous just for sample, normally we use async and both happen

  • 0

Short snippet here (synchronous just for sample, normally we use async and both happen to fail the same way now… Note that url2 is already setup and works fine against our server if I use it manually. Also, please forgive any simple typos as my Mac is being stupid today and refusing to copy/paste, forcing me to retype… Luckily I’m more in need of general “way of doing things” help rather than “fix my syntax” in this case as it used to work, but (without any changes) failed sometime in the last month (possibly with the iOS 6 update). 🙂

ASIHTTPRequest *request2=[ASIHTTPRequest requestWithURL:url2];
request2.requestMethod=@"GET";
[request2 addRequestHeader:@"Content-Type" value:@"application/json"];
[request2 setDelegate:self];
[request2 startSynchronous];
NSError *error=[request2 error];

The returned error code is “1”, but I can’t find an error code list in the asi-http-request docs to find out what it might mean. Also, note that I’ve updated to the very latest asi-http-request version available (still pretty old though).

  • 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-06-12T04:40:56+00:00Added an answer on June 12, 2026 at 4:40 am

    That error code is ASIConnectionFailureErrorType (it’s an enumeration at the top of ASIHTTPrequest.h).

    Line 188 of ASIHTTPRequest.h says

    // If error code is = ASIConnectionFailureErrorType (1, Connection failure occurred) - inspect [[error userInfo] objectForKey:NSUnderlyingErrorKey] for more information
    

    and the only place it’s referenced in code is in ASIHTTPRequest.m, in the handleStreamError method (line 3644).

    So that’s where I’d start 🙂

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

Sidebar

Related Questions

So here's a snippet of my code: struct dv_nexthop_cost_pair { unsigned short nexthop; unsigned
Here is a short snippet of HTML (it contains all relevant HTML and javascript
Here is a short snippet of a function reading lines. How is that possible
Here is the xml snippet: $ cat short.xml <hostnames> <hostname name=yahoo.com type=user/> <hostname name=ir1.fp.vip.sp2.yahoo.com
To help me better understand lambda I wrote this short snippet that rotates and
Can anyone show a short and simple code snippet? It should take the name
Short: Is there a way we can push to multiple remotes simultaneously using Github
Consider the following short code snippet. namespace B { public class Foo { public
I have a short snippet of code to produce a depth-first search of an
I'm creating an AlertDialog . Here's the snippet of code that I'm using: final

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.