cURL is an HTTP client library and command line tool.

learn more… | top users | synonyms

0
votes
0answers
18 views

Upload large files with curl without RAM cache.

I'm using curl to upload large files (from 5 to 20Gb) to HOOP based on HDFS (Hadoop Cluster) as follows: curl -f --data-binary "@$file" "$HOOP_HOST$UPLOAD_PATH?user.name=$HOOP_USER&op=create" ...
0
votes
0answers
14 views

Download a multipart message using curl

I have a file uploaded to a server as a multipart file. It looks like this. --c3bfe99041a144af90f7834a73a4da39 Content-Disposition: form-data; name="file"; filename="README" Content-Type: ...
1
vote
1answer
28 views

cURL to localhost gets dropped by iptables

I'm trying to use cURL on the shell to connect to localhost. I'm using curl http://localhost:80 to connect. Unfortunately, it's being blocked by iptables. Here's the error in the iptables log for why: ...
0
votes
0answers
53 views

CURL & SSL failing on a specific site [duplicate]

I can't get curl to download https://www.sicdm.caixa.gov.br/cadmut/login_internet_form.do on a CentOS 6.2 server. The command curl -v -k -3 ...
4
votes
2answers
499 views

Faster way to ping URL than curl [closed]

What would be the fastest way to check whether the specified URL is working? (responding in OK http status code)? For now I'm using curl, but I have bunch of URLs to test in a loop, so I'm looking ...
0
votes
1answer
110 views

PHP cURL call returning error 56 with NSS error -12195

I have an internal server (internal to my network) to which I make a REST API call from my external server. I don't know if it helps but the external server is running php 5.3.6 with cURL 7.19.7. To ...
2
votes
1answer
30 views

How to check SSL connectivity between certificates installed on two different server

Suppose there are two organizations which share information with each other. Every organization installs SSL certificate in their application server and provides the same certificate to other ...
-1
votes
1answer
28 views

cURL doesn't work when served by Apache

Getting "Cannot resolve host" as a cURL error within a PHP script using a hostname. IPv4s work fine though. Running cURL at a hostname via command line works.
2
votes
1answer
221 views

Can't access domain internally via public IP address [duplicate]

I have a dedicated server running Proxmox and a VM inside Proxmox running Debian 7 (Wheezy). As I only have one IP address, I'm using iptables to forward ports to the VM. My ...
2
votes
3answers
44 views

HTTP POST request using Curl: why nothing works?

I want to submit a form of with the following information: <form enctype="mutlipart/form-data" method="post" action="/command"> <input tyep="submit" value=" Generate Snapshot " ...
1
vote
0answers
49 views

curl error 51 - of multiple requesting machines, only one has the issue

I have an SSL cURL request that fails from a single machine with the following error: curl: (51) SSL peer certificate or SSH remote key was not OK This error seems to have popped up overnight, and ...
1
vote
0answers
38 views

Gateway/Modem overload when running a web spider

Problem: All other devices on the network experience serious lag and timed out web pages, email, chat dropping, etc while this is running. This is a cross post from stackoverflow, I may have used the ...
0
votes
1answer
77 views

Does exist a curl equivalent command in routeros?

Just starting with routeros and after searching the official docs just fetch appears I need to do a POST request to REST API but I cannot find any curl like command. Is it possible to install curl ...
0
votes
0answers
49 views

Segfault in libcurl.so.4.2.0 in syslog?

My syslog is being filled with entries declaring a segfault in libcurl.so.4.2.0: Mar 6 09:48:58 myserver kernel: crond[19450]: segfault at 7f46cfefbc3d ip 00007f46cff17f7d sp 00007fff79c939d8 ...
0
votes
0answers
149 views

php curl does not execute url

Im writing a php cron script that needs to run a url After some database modifications the php script needs to execute an url $url = ...
-1
votes
1answer
50 views

how to check if openvpn is active

i am runnning multiple openvpn instances each connected to different servers let's assume there are 3 and i am using a simple php script with this command system('openvpn config1'); system('openvpn ...
0
votes
1answer
220 views

Curl version on command line is different to PHP

I've got PHP version 5.5.21-1+deb.sury.org~precise+2 running with Apache2 under Ubuntu 12.04 When I run phpinfo() it shows the curl version as 7.22.0 When I run curl --version via the command line - ...
0
votes
0answers
43 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 ...
1
vote
1answer
46 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
325 views

Curl on Fedora does not accept Cloudflare https

Using curl on a clean vanilla Fedora 21 to retrieve a site hosted via the cloudflare https service gives an error: curl https://www.opencpu.org >> curl: (35) Cannot communicate securely with ...
4
votes
3answers
180 views

Displaying a remote SSL certificate details using CLI tools

In Chrome, clicking on the green HTTPS lock icon opens a window with the certificate details: When I tried the same with cURL, I got only some of the information: $ curl -vvI https://gnupg.org * ...
0
votes
0answers
19 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
1answer
132 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
102 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
1answer
106 views

Enable curl_exec() in a sub-folder

Curl is enabled on the server but curl_exec function is disabled for security reasons. disable_functions = exec,passthru,shell_exec,system,proc_open,popen, ...
0
votes
1answer
440 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
vote
1answer
5k 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 ...
2
votes
1answer
1k 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
1k 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
1answer
170 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
297 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
174 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
55 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 ...
5
votes
2answers
710 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
383 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
91 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
193 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
1k 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
369 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
125 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
456 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
563 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. ...
0
votes
1answer
6k 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
307 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
887 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
220 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
1k 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
165 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 ...
3
votes
1answer
2k 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
73 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: ...