cURL is an HTTP client library and command line tool.

learn more… | top users | synonyms

0
votes
0answers
17 views

Does curl restarts the timeout clock in case of redirect [on hold]

Does curl restarts the timeout clock in case of redirect? We are using the libcurl C library and the code set the curl timeout to 30ms and follow redirect CURLOPT_NOSIGNAL=1 CURLOPT_TIMEOUT_MS=30ms ...
0
votes
0answers
5 views

Cannot curl webserver from outside network [migrated]

I have a webserver running on one of my home computers. I am able to access it within my network, on another computer, with curl localWebserverIP:8888. However, I am having issues accessing it from ...
-1
votes
0answers
19 views

PHP cURL “Unknown SSL protocol error in connection to” [migrated]

When I try to run my script using cURL on my computer via XAMPP, everything works perfectly: http://i.stack.imgur.com/jlerA.png When I move it onto my server (Ubuntu 14.04 x64), it stops working and ...
0
votes
1answer
44 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 ...
-1
votes
0answers
44 views

cURL request from EC2-VPC instance (in default VPC) to retrieve RSS feed timing out

I am trying to make a cURL request from EC2-VPC (in default VPC) to retrieve RSS Feed data. # cURL request from EC2-VPC instance curl -Lv -o test_rss.txt http://www.example.com/feed/rss/ The cURL ...
-1
votes
0answers
19 views

cURL command hangs even after successful upload of file

I have a strange problem with curl that has recently started happening. I have a lengthy curl command that uploads files using a HTTP API. Curl connects, the files successfully get uploaded but curl ...
0
votes
1answer
328 views

504 Gateway timeout / 502 Bad gateway after installing php curl - server nginx

I have (well had) a working server with nginx on board. A server (dedicated) was only used to host a drupal site. Recently we decided to host also a magento store on it and started preparation. Since ...
1
vote
1answer
148 views

Connection to URL using OpenSSL client works, but curl fails

I have a CentOS 5.9 server, from which I need to make SSL connections to another server. The remote server has a certificate ultimately signed by the GeoTrust Global CA. At the time of writing, this ...
1
vote
2answers
152 views

Curl with custom certificate

I 'd like curl to work with sites signed by goDaddy: If I call curl mypage.com/bla I am getting a certificate verification error. I tried getting the ca certificate with this snippet: echo | ...
1
vote
0answers
39 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 ...
0
votes
1answer
84 views

Ubuntu SSL connection with TLS connection error [closed]

I am using Ubuntu 12.04, installed at VirtualBox (Mac) using vagrant. I am not using any proxy server. In my company network, when I try curl -1vsS ...
0
votes
0answers
109 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
1answer
33 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 ...
4
votes
2answers
185 views

Why did git stop working after server disabled SSLv3?

Like most others, our repository server needs to disable SSLv3 (and v2) ASAP. However, doing so seems to break our git-clients -- at least, on RHEL5 (connections from my FreeBSD desktop work fine). ...
2
votes
1answer
193 views

ShellShock test shows wget and curl access

I've fixed shellshock bug on my Debian 6 server and while testing on http://shellshock.brandonpotter.com/ I get "No Vulnerabilities Found" and that's OK but they also check other things and in the ...
0
votes
1answer
35 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 ...
-2
votes
2answers
95 views

How do I pipe the output of the journalctl to cURL? [closed]

I am trying to send logs to a remote server using curl. I tried the following command and nothing happened journalctl -o json -f | curl -H "content-type:application/json" -d @- http://logs Any ...
0
votes
1answer
317 views

Adding a self-signed cert to the trusted certs within cURL in Windows?

I have created a self-signed cert from the instructions on this page, have installed it and it appears to all be working correctly, but now I need cURL to trust it. Since the later versions of cURL ...
0
votes
1answer
217 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 ...
2
votes
1answer
53 views

Cannot curl from the same server when it has PREROUTING ip forwarding

I have a Ubuntu web server that uses iptables PREROUTING to forward port 80 to 8000. So the web process listens on port 8000. Now I want to make a curl from the same server to a web application ...
2
votes
1answer
173 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 ...
1
vote
1answer
215 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
votes
1answer
2k views

Can't curl. curl: (7) Failed to connnect… Connection Refused [closed]

I can't curl one of my installed software using the external EC2 ip address but if I curl using localhost:5000 (or 127.0.0.1:5000), it works fine. Any insights will be appreciated. I've installed ...
0
votes
4answers
174 views

Redirect HTTPS traffic without changing the HOSTS file

I have a website hosted on 2 servers. The website is SSL based. I'd like to monitor (load the main page and look for a certain string) the website per server using a local Opsview. Meaning I need to ...
1
vote
1answer
355 views

cURL - download multiple files and specify output names

I have list of URLs with range in {}. I can download them with cURL in bash, but problem is output. I can use #1, but I need to have files named with different names (I have stored those names in ...
0
votes
2answers
98 views

SSL Client Certificates and NginX

I followed the instructions in this blog post, but when I test it with curl, nginx's $ssl_client_verify variable is always NONE. In fact, curl doesn't even give different output when I don't specify ...
2
votes
0answers
397 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 ...
0
votes
0answers
75 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
783 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
39 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
63 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
176 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
101 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
190 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 ...
0
votes
1answer
59 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
112 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
2answers
4k 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
76 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
65 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
200 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
798 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
46 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
1answer
435 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 ...
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 ...
0
votes
0answers
269 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
271 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
368 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
300 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
62 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
75 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 ...