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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T10:20:58+00:00 2026-06-02T10:20:58+00:00

I am running a script on Amazon EC2 and trying to make a cURL

  • 0

I am running a script on Amazon EC2 and trying to make a cURL request to CloudFront, which requires SSL.

It times out: Operation timed out after 25000 milliseconds with 107 out of 552 bytes received

The request does ‘work’ in that the distribution is updated etc, but the response isn’t fully formed so I can’t use the response data.

I have the following TCP ports open in my security group:

  • 20
  • 80
  • 442
  • 10000

Any ideas why this would be happening? The script itself works perfectly on other servers. openssl is enabled and ssl is too.

I am already using:

curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
  • 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-02T10:20:59+00:00Added an answer on June 2, 2026 at 10:20 am

    Whilst this isn’t the greatest answer, this is how I fixed it.

    I ported my code – which was from the library found here: http://undesigned.org.za/2007/10/22/amazon-s3-php-class – to the official AWS SDK. This required quite a few changes, but, it got the result.

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

Sidebar

Related Questions

I have a long-running script which, if let to run long enough, will consume
I'm writing a fairly long running script, which prints progress messages as it goes.
I'm trying to understand conceptually how to use Amazon EC2 to speed up the
I've setup an Amazon EC2 server. I have a Python script that is supposed
i am running script as root and trying to see if user oracle has
i am trying to run a mapreduce task on amazon ec2. i set all
I wish to run a long-running script in the background upon receiving a request.
I'm running an Amazon EC2 'Large' instance - Ubuntu Natty x64 with PHP5 and
I have a web crawling python script running in terminal for several hours, which
I'm trying to locate the real path of the running script , but when

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.