cURL is an HTTP client library and command line tool.

learn more… | top users | synonyms

0
votes
0answers
10 views

Cannot get libcurl-devl on OpenSUSE 11.3

I have a server running OpenSUSE 11.3 that I can't really upgrade to a newer version of OpenSUSE (it's a managed appliance). I have some PHP shell scripts that need to run on the server that have a ...
2
votes
1answer
43 views

curl and wget attempting an ipv6 connection

On my dedicated server (hosted by OVH), that is running a fresh install of Ubuntu 14.04, curl and wget take approximately 10 seconds to complete a simple request. $ curl -v google.com * Rebuilt URL ...
0
votes
1answer
18 views

Where cURL store files in web server? [closed]

I have a centOS machine using a nginx web server. In my application (php) I use cURL to get a remote file and then send it to the view: $cache_expire = 60*60*24*365; header("Pragma: ...
1
vote
1answer
48 views

HTML served from localhost is being modified by ISP [closed]

I took my laptop to a local restaurant yesterday to do some work setting up a new web app. I get the server in place, and created a simple HTML page: <html> <body>Hello, ...
1
vote
1answer
25 views

install cURL on an Amazon Suse

I'm trying to install cURL on a SuSE Linux Enterprise Server 11 sp3 machine. I'm using this action to do so: sudo zypper in curl And I get this error message: Refreshing service 'susecloud'. ...
1
vote
1answer
33 views

Installing php53-devel on an Amazon Suse

(I hope this is the right place for this type of question) I'm trying to install cURL on a SuSE Linux Enterprise Server 11 sp3 machine. I'm using this action to do so: sudo zypper install ...
9
votes
1answer
136 views

Using IE to invoke PHP/CURL for long running data API causes Apache2 server to freeze and require restart

I'm running a PHP program that works fine as long as it's not invoked by a Microsoft IE browser, after which it spawns the below processes, locks up Apache2 and requires a restart of the web server ...
1
vote
0answers
34 views

How to make Postfix to POST incoming mail to an external server?

I have a web app on Server A and a Postfix mail server on Server B. I want all incoming emails be forwarded to the web app via a POST request. I also need to capture attachments. I was able to ...
0
votes
1answer
35 views

How to secure private communication among Apache servers with SSL (sign IP only)

I have 2 Apache servers (with PHP): public server A which hosts web pages, it has domain name etc. public server B which hosts some services (built as PHP application) and those services are used ...
0
votes
1answer
55 views

IIS server, using browser I get 200 response - curl I get 302 response

When I use a browser (chromium or firefox) when accessing a page I get the expected results - 200 responses and it displays the information I was expecting. When I use curl, I get a 302 response: $ ...
0
votes
1answer
207 views

curl: (35) SSL connect error

Trying to make a curl https request to Twitter API and get this error. I've tried from another server and it works with no problem. Does anyone know the reason for this error? [root@webscoming ...
2
votes
1answer
45 views

Is it necessary to validate the file integrity when curl succeeded

I have a bunch of files on S3, and I need to download and update them via command line (BASH) on several devices. What I do (as of now): Request the header of the file with -I and extract the ETag ...
0
votes
2answers
44 views

Is there a way to direct a HTTP server to upload file to the other HTTP server? [closed]

In my project, I need to do this: server1 ---http-download (curl)---> my pc ---http-upload(curl)---> server2 This is obviously duplicating traffic. I wonder if there is a method to direct ...
1
vote
2answers
104 views

PHP - does curl run asynchroniously on my system? [closed]

I'm building a web app. I have a database of books indexed in ElasticSearch and REST API written in PHP. In the app, there's a search box, where I type a name of the book and JS script calls the ...
1
vote
1answer
145 views

How do I get cURL errors to go into the correct log file?

I have a website running using Apache 2.2.22, PHP 5.3.10, and cURL 7.2.00. The relevant portions of the apache config is below, and you will notice that errors are sent to www.example.com_error.log. ...
1
vote
1answer
29 views

curl is giving wrong result via ssh

Curl is working fine on the node itself: [ec2-user@smokebase1 ~]$ curl -s -I --retry 3 --header 'Host: smoke-base.dev-test.com' ...
1
vote
0answers
52 views

Publicly available black list for web servers [closed]

I'm a bit surprised to find that there really aren't any publicly available RBLs for web servers. Yes, there's project honeypot but you have to hit their API in realtime in order to check a given IP ...
0
votes
1answer
165 views

What does “Server ****** is not blacklisted” means in curl verbose output?

Why should the server be blacklisted ? By curl or another program ? How server can get blacklisted ? Is it server or program dependant ? Is this the IP address that get blacklisted, or the name ...
1
vote
0answers
1k views

SSL verification error with git (on github) on Ubuntu 14.04

I'm trying to clone the atom repository that just went fully open-source and I've run into some trouble. Attempting to git clone the repository is producing an SSL error: wug@wugputer:/src/test$ git ...
0
votes
0answers
129 views

cURL NSS error -12286 SSL_ERROR_NO_CYPHER_OVERLAP

Using cURL 7.36.0 (x86_64-redhat-linux-gnu) on EC2 Amazon Linux, I can't connect to certain websites (not all) using HTTPS and receive the above error. From researching the issue I have learned that ...
1
vote
0answers
173 views

Curl Sourced DDoS: How to detect it & how to stop?

Okay, an Ubuntu server I manage fell victim to a DDoS attack today. Usually this is unpleasant but not that big a deal. A few high server load moments & then it passes. Today was clearly ...
0
votes
1answer
195 views

Curl get of .cgi file, Always 504 gateway time out

I have a ip cam and I use Get method to switch on the alarm. When I use browser everything is ok http://da***.com:808/set_alarm.cgi?user=***&pwd=***&motion_armed=1" If a try to use this ...
1
vote
0answers
156 views

cURL Chain Issues

On Ubuntu 13.10 running the system curl: curl --version curl 7.32.0 (x86_64-pc-linux-gnu) libcurl/7.32.0 OpenSSL/1.0.1e zlib/1.2.8 libidn/1.28 librtmp/2.3 Protocols: dict file ftp ftps gopher http ...
-4
votes
1answer
49 views

Killing a bash sh script [closed]

I made an .sh file load.sh which has (almost) unlimited loop of curl requests. I run this as $ bash load.sh. Now it just keeps running the loop. I can't cancel its execution. It keeps running. I ...
0
votes
1answer
50 views

Curl pressing enter or ctr+c in order to have the right response [closed]

This is a script that checks my current ip on this site: http://myip.dnsdynamic.org/ and pick the response and calls an API in order to update my dynamic ip. Here the script: curl --user ...
0
votes
3answers
92 views

Is it possible to use curl to accurately stress test a site that has lots of javascript?

I have a web site that has lots of javascript but simple html. I want to try simple stress tests with curl. Is that possible? If I just curl the site I get HTML. So making tons of curl requests won't ...
0
votes
0answers
69 views

VPN route works for browser, but not for Curl

I am using "Cisco AnyConnect Secure mobility Client" to set up a VPN connection. This works just fine for connecting web browsers, but when I tried doing the same connection with Curl I get: About ...
0
votes
0answers
79 views

Tar backup to webdav server: how to split the output file using stdin?

I need some advice on storing a tar file to a webdav server. I'd like to make automated backups of my VPS, however the available space is limited so I can't store the backup before uploading it to the ...
0
votes
1answer
58 views

Protect public directories from download via wget and curl

My users upload their profile images and I save them in a public folder. The file names are not predictable (they are based on md5 hash of user id with salt). When someone views the user's profile, ...
0
votes
2answers
117 views

Cannot curl a file host through apache2

I am trying to download a file using curl from a machine running apache2. My site (000-default) configuration looks like this: <VirtualHost *:80> DocumentRoot /home/user/files/ ...
0
votes
1answer
134 views

Issue installing gcc & curl-devel on Centos OS 5.6

I'm trying to install gcc and curl-devel on CentOS 5.6 (64 bit) server. The command I'm using is: yum install gcc \ curl-devel After running the command it says: No package gcc available. ...
1
vote
0answers
103 views

Amazon EC2 instance of Windows Server 2012- unable to connect to simple webserver

Using Amazon EC2 I have successfully launched a Windows Server 2012 instance and configured it to run a Tomcat webserver. From within the VPS itself, I know the webserver is working because I see the ...
0
votes
2answers
482 views

SSL certificate error connecting to github.com

Starting today (or within the last few days) I've hit an SSL error when trying to connect to github.com (e.g. to clone a repository). This is a legacy server running Red Hat 4.1.2-33. Here's what it ...
3
votes
0answers
96 views

How to use Chrome's CRL sets (or some master CRL list) as a CRL file?

I am looking for a master CRL list. The closest thing I have found is the Chromium project's CRLSets. I used crlset-tools to get the crlset (crlset fetch > crl-set) and then dumped the serial ...
1
vote
1answer
84 views

Command line tools to monitor POST/GET requests of a loaded website

When I load a website with Firefox and open up the Network Profiler, I can see all the POST and GET requests the site is making. I would like this functionality from the command line. Does any one ...
2
votes
0answers
177 views

Unable to load Curl extensions

I am getting this line in my error_log PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/php_curl.dll' This is what I have done: 1. ...
2
votes
3answers
1k views

curl succeeds on an https request, wget does not

When I run curl from the command line curl "https://example.com" It succeeds immediately, returning the result of the request. When I run the same wget command wget https://example.com ...
0
votes
1answer
93 views

curl lot loaded after adding SFTP support

I installed Tartarus, and since my current curl didn't have SFTP support I've done this . Tartarus worked fine but I started to receive mails: PHP Warning: PHP Startup: Unable to load dynamic ...
1
vote
1answer
123 views

curl and multi-line get parameter

I am trying to pass a url-encoded multi-line string as parameter of a GET call to an existing web-service. I think I am getting quite close to the solution with the following: echo -e ...
2
votes
1answer
3k views

Root cause of “curl: (56) SSL read: errno -5961” errors

I was evaluating some SSL failures, and noticed that when I use curl to one of the failing sites, I got curl: (56) SSL read: errno -5961; however, my google queries for that error didn't show the ...
1
vote
1answer
108 views

How to pipe differently the body of the curl answer and the printed output?

I would like to print in the command line some output of curl, like the http headers, followed by the body of the answer processed by a stdin/stdout program. For instance: Print the status code: ...
0
votes
0answers
133 views

Django HttpResponseRedirect acting as proxy rather than 302

I have a Django method that's returning return HttpResponseRedirect("/redirect-target") When running the server locally, if I visit the page that returns that redirect, I get the log output ...
1
vote
2answers
4k views

How to troubleshoot connectivity when curl gets an *empty response*

I want to know how to proceed in troubleshooting why a curl request to a webserver doesn't work. I'm not looking for help that would be dependent upon my environment, I just want to know how to ...
1
vote
1answer
247 views

SSL connection to Thin through vagrant

I'm running a Rails app that forces SSL and uses HTTP basic authentication inside of a vagrant VM. If I try to make a curl request to the app from my host machine I get curl -k --verbose ...
1
vote
2answers
1k views

How to specify the SSL port with command line curl?

I'm trying to test the SSL connection on one of my servers. The server is behind a LB so it's listening for SSL connections on the port 8090. I have use the --resolve option to test when talking to ...
0
votes
1answer
2k views

SSL23_GET_SERVER_HELLO:reason(1112) issue curl 7.25.0

Please consider two curl commands: curl -v --ssl https://example.com * About to connect() to example.com port 443 (#0) * Trying 10.20.30.40... * connected * Connected to example.com (10.20.30.40) ...
3
votes
2answers
943 views

Download urls listed in a file using curl?

I have a file that has all the urls from which I need to download. However I need to limit one download at a time. i.e. the next download should begin only once previous one is finished. Is this ...
1
vote
0answers
174 views

cURL not loading on Ubuntu 12.04

I have come across a very weird problem. My cURL PHP extension doesn't seem to be running. I have installed cURL using this command: sudo apt-get install curl libcurl3 libcurl3-dev php5-curl And ...
0
votes
0answers
68 views

PHP unable to load dynamic library php_curl.so

I am trying to run the zf.sh (Zend tool) script to create a new Zend project but I get this error: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/php_curl.iso' ...
0
votes
1answer
177 views

How to mention the prefix directory path in CURL command

I am new to Linux, i want to write the perl script to download the files from FTP sites but here i want to use curl command to download the files. which is working fine in wget command but not working ...