cURL is an HTTP client library and command line tool.

learn more… | top users | synonyms

3
votes
1answer
74 views

cURL is failing for normal users but not root

Have a strange issue on a RHEL box. To keep the editor from complaining about posting more than 2 site links, kindly mentally replace [google site] with https://www.google.com when reading the curl ...
3
votes
1answer
200 views

Problems restarting Apache - Curl related

I'm having a problem compiling LAMP, I have everything compiled and working, but when I try to restart apache I get the following error: seg fault or similar nasty error detected in the parent ...
2
votes
1answer
296 views

cUrl for an HTTPS address/domain times out unless previously accessed from browser

I've lost a couple days to this problem and hope it sparks a thought from someone. I am integrating several systems together using Powershell scripts. One of the two services I am connecting to ...
2
votes
1answer
1k 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 ...
2
votes
1answer
100 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 ...
2
votes
1answer
2k views

How do I enable ciphers for NSS?

I am trying to use curl built with NSS (not built with OpenSSL) on Fedora 14 to connect to a webpage over https. The server to which I am connecting (example.com) uses the RC4-SHA cipher for its SSL. ...
1
vote
1answer
23 views

Write log for curl on windows

I currently have a script that runs a curl function to fetch logs from another server, i am trying to debug some issues with this script and would like to enable logging for this curl function. I ...
1
vote
1answer
359 views

cURL throws 504 gateway timeout error with external website on my vps

The following returns a gateway timeout on my vps (debian, squeeze) curl --head http://www.flipkart.com/ HTTP/1.1 504 Gateway Timeout But works fine i.e gives a 302 HTTP on my home computer. ...
1
vote
1answer
437 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
1answer
545 views

how to monitor cURL calls

I have a PHP based CMS which makes requests to service provider (a java based ECM(enterprise content management) currently located in the same server as my PHP) and inserts the response to mysql. ...
0
votes
1answer
184 views

Enabling TLS1.0? Cannot communicate securely with peer: no connection encryption algorithms

For over a year I have been running a photo based website that allows customers to order prints, which are subsequently fulfilled by a printing company. Orders are posted in XML format to a ...
0
votes
1answer
44 views

Curl to self using fully qualified address

I'm running a Virtual Private Server to host some websites. I have a PHP script that tries to fetch resources from the server, essentially using a curl command to the server ...
0
votes
1answer
64 views

CURL isn't running from Crontab

Here is the output. Not sure if cron isn't running or other issue. If I issue curl --silent http://..../scanner.php from terminal, I'm getting desired output. Actually scanner.php do some check and ...
0
votes
1answer
294 views

make PHP curl use openssl instead of NSS

Does anyone know how could I force php to use curl with openssl instead of NSS on RHEL 6? I've installed curl-openssl-7.30.0-1.1.el6.x86_64.rpm but how can I tell php to use it? Actually is there a ...
0
votes
1answer
128 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
383 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 ...
0
votes
1answer
80 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
1answer
178 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 ...
0
votes
1answer
286 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 ...
0
votes
1answer
127 views

Stange stream of HTTP GET requests in apache logs, from amazon ec2 instances

I just had a look at my apache logs, and I see a lot of very similar requests: GET / HTTP/1.1 User-Agent: curl/7.24.0 (i386-redhat-linux-gnu) libcurl/7.24.0 \ NSS/3.13.5.0 zlib/1.2.5 libidn/1.18 ...
0
votes
1answer
969 views

DNS failure crashing web site - CURL requests

My PHP keeps throwing random errors which relate to slow scripts. nginx/php5-fpm report in their error logs that the child has been terminated due to script timeout. PHP5-FPM slow error log reports ...
0
votes
1answer
269 views

Limiting IP choice from CURLOPT_INTERFACE

I have a server with 6 ip addresses added via cPanel. I'm having troubles limiting the IP address my clients can use as an outgoing IP address in their PHP script. Some of them are running proxies and ...
0
votes
1answer
324 views

Check whether CDN is working or not

Is there any way to find whether the static content is being served by CDN or not. Using curl, can i find whether the static file is being served by CDN or by the webserver.
0
votes
1answer
995 views

Can download with Firefox, can't download with curl (NTLM authentication)

I want to download a file from a SharePoint server (url). I manage to download it using Firefox. I can't manage to download it using curl. Sounds surprising, but the same URL works on Firefox, fails ...
0
votes
1answer
298 views

PHP curl showing wrong version

Hi I have been trying to get Curl with SSL support on CentOS 5.9 server . I have in the process updated php to 5.4.11 using the remi repo. The system is running plesk and when I do I look at phpinfo() ...
5
votes
0answers
161 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 ...
3
votes
0answers
2k 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 ...
2
votes
0answers
802 views

I'm having issues with the SSL versions used by curl and by python ssl lib

TL;DR I'm trying to reach an URI which only takes SSLv3. If I try to access it with curl or Python requests (which uses the ssl module) it doesn't work (different errors). Some longer explanation ...
2
votes
0answers
381 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
0answers
669 views

How to alias a ssl certificate common name?

I have a server, which has a self signed certificate, which I am trying to securely access. I've got the certificate by looking at the output from openssl s_client -connect <ip>, and copied it ...
2
votes
0answers
353 views

curl request results in heavy load on the server

We consume an XML Datafeed by sending cURL requests to the provider's server. They do not allow us to cache, so each pageview is a new cURL request. Twice this year, our server has crashed with the ...
2
votes
0answers
1k views

What is the difference between installing libcurl4-gnutls-dev or libcurl4-nss-dev in ubuntu 11.10?

For a software that I am installing in an ubuntu server, it needs the curl deb packages. When I try to install libcurl4-dev it says that this is a virtual package and I need to install ...
1
vote
0answers
70 views

curl 7.21 does not correctly call a host with a host header on https

We found out that calling a host like following using curl 7.21 or 7.24 does produce an error in the apache config (we have multiple SSL Vhosts!). Whereas the same command runs smooth with curl 7.34 ...
1
vote
0answers
338 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 ...
1
vote
0answers
317 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 ...
1
vote
0answers
244 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 ...
1
vote
0answers
300 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 ...
1
vote
0answers
106 views

Is there a known issue resuming downloads from IIS with curl?

I am seeing an issue when trying to resume a download using curl as follows: curl -L -s -C - -o 'file.data' 'https://sever/file' The issue is only with IIS. I tried several other web servers on OSX ...
1
vote
0answers
3k views

CURL ERROR: Recv failure: Connection reset by peer - PHP Curl

I've posted a question yesterday on stackoverflow here but think this might be server related. I'm connecting using the PHP curl functionality to a server that then generates a PDF file and sends it ...
1
vote
0answers
93 views

What is PHP cURL and libcurl version relationship?

I'm running php with curl support on a mac. cURL in php works fine(ish) but I noticed an oddity reported by phpinfo(). It states that curl support is 7.19.7 But using the otool command, I get this: ...
1
vote
0answers
252 views

How to use sitemap.xml to create a static mirror of a CMS

Is there a tool to create a static mirror of a content management system (CMS) that provides a sitemap.xml file? Ideally, I would point a tool like wget or curl to a sitemap.xml file and have it ...
0
votes
0answers
16 views

Monitoring a process with supervisord and shell script/ curl test

I'd like to perform a HTTP POST request to a process under supervisord control. If the HTTP POST times out, or returns bad response, the process is restarted by supervisord. This would be like ...
0
votes
0answers
15 views

Unable to process more than constant number of parallel connection in curl

I use curl_multi_init function to perform about 1 000 parallel connection to the same server (by API). I accomplish it using PHP, Nginx and Squid. Unfortunately, after some number of connection I am ...
0
votes
0answers
43 views

Compile php with latest openssl and curl

I am trying to compile php 5.4.36 with latest curl and openssl (1.0.1l), i have compiled openssl into a separated folder My system is CentOS. When i try to compile php with ./configure ...etc... ...
0
votes
0answers
50 views

Bad HTTP Location: header with nginx proxying couchdb

I'm using nginx as a reverse proxy for CouchDB. I'd like to use a prefix for the proxy, e.g. http://[ip]:8080/proxy/testdb -> http://localhost:5984/testdb. I'm getting Location: headers in the HTTP ...
0
votes
0answers
144 views

PHP found cURL version missmatch

I'm tried to upgrade cURL on CentOS from version 7.19.7 on default to a new version on 7.38.0. It's seem like complete but when I checked on phpinfo it's not match. This is a information when I check ...
0
votes
0answers
126 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 ...
0
votes
0answers
312 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 ...
0
votes
0answers
823 views

can ping outgoing servers but cannot telnet to port 80 on http servers

I'm able to ping servers on the internet but cannot effectively curl websites or telnet to port 80 in general. there are no outgoing firewall rules and iptables is disabled. [root@rl ~]# ping ...
0
votes
0answers
343 views

Php doesn't get that Curl has SSL enabled

OS is Centos 6. I manually installed curl-7.27.0 with SSL enabled. curl --version curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.27.0 OpenSSL/1.0.0 zlib/1.2.3 c-ares/1.9.1 But my PHP doesn't ...