cURL is an HTTP client library and command line tool.
Questions tagged [curl]
646 questions
3
votes
2 answers
Centos 5.11 OpenSSL TLS 1.2 for Paypal
I run a website on a server running Centos 5.11 - EOL now I know but an upgrade is not possible for a while. The website runs the Sellerdeck software which integrates with Paypal for payments.
In the next month or so Paypal will require me to be…

Kevin W
- 81
- 1
- 6
3
votes
1 answer
Is it possible to expose an HTTP proxy on localhost via ngrok?
I have tinyproxy installed on localhost (I also tried squid and failed similarly). It runs on port 8888. This works:
curl -x localhost:8888 http://www.google.com
And I see output in the tinyproxy logs.
Now I run the latest version of ngrok and get…

AmitA
- 131
- 3
3
votes
1 answer
LetsEncrypt: Unknown SSL protocol error in connection
I have a host with LE certificate and it works well in a browsers, but I still can't connect using curl, openssl, wget, POST (libwww-perl):
curl
# curl -v -3 https://example.com/
* Hostname was NOT found in DNS cache
* Trying 123.123.123.123...
*…

Serhii Matrunchyk
- 143
- 1
- 8
3
votes
2 answers
GET to NGINX reverse proxy works but POST gives me a 502 Bad Gateway Response
I am using NGINX as a reverse proxy and just put up a new service written in Go.
The service has two endpoints
GET /tracking/ping
POST /tracking/customer
In NGINX, I am using the following to proxy the request
location /v1/location/ {
…

TheJediCowboy
- 613
- 3
- 8
- 12
3
votes
0 answers
curl: (1) Protocol "https" not supported or disabled in libcurl
I've a CentOS6 vps on which O trying to access https url through curl it gives not supported error
# curl https://google.com
curl: (1) Protocol "https" not supported or disabled in libcurl
Anyone know how to fix this issue?

Faizan
- 131
- 1
- 1
- 3
3
votes
3 answers
Building curl, httpd and others with custom openssl build, while avoiding default system openssl
I've been trying to upgrade some programs on an old Linux box (Debian 7.5 wheezy). I'd like to keep default system libs untouched and to add some custom builds alongside them. It works fine for most libs, only OpenSSL gives me a hard time (libssl.so…

Guillaume Rossolini
- 31
- 2
3
votes
1 answer
yum does not contain the package: libcurl
I am in Redhat 5 and the following packages are not found
yum -y install libcurl libcurl-devel
Loaded plugins: security
Setting up Install Process
No package libcurl available.
No package libcurl-devel available.
Nothing to do
Weird! What am I…

gnjago
- 141
- 1
- 1
- 2
3
votes
2 answers
Using curl with cookies
I hope someone can help me out on this one.
I have been trying this for a while now, with all sorts of variations and cannot seem to get this to work.
I am trying to script a way to log in to https://login.three.ie/ to check account balance from…

user1718443
- 31
- 1
- 1
- 2
3
votes
1 answer
using curl against my IDN doesn't work right; browsers are OK
I've registered www.❺➠.ws, which goes to the same IP as www.naildrivin5.com.
curl www.❺➠.ws
returns the homepage of www.naildrivin5.com. No problem. I modify apache to use name-based virtual hosts as follows:

davetron5000
- 173
- 4
3
votes
2 answers
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... --with-curl=/usr/local/curlfolder…

JackDoe
- 41
- 1
- 1
- 2
3
votes
1 answer
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.
So I guess something is wrong in my vps settings.…

gyaani_guy
- 171
- 1
- 1
- 8
3
votes
1 answer
Can't curl. curl: (7) Failed to connnect... Connection Refused
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 these 3 items:
Elasticsearch, port 9200 => I…

sftoparis
- 43
- 1
- 1
- 4
3
votes
1 answer
HTML served from localhost is being modified by ISP
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:
Hello, world.
I start the server (Jersey), and then issue the…

jchilders
- 143
- 3
3
votes
2 answers
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.
ServerName example.com
…

DanielGibbs
- 573
- 5
- 13
- 32
3
votes
1 answer
Curl pressing enter or ctr+c in order to have the right response
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 :…

francescop
- 41
- 1
- 3