cURL is an HTTP client library and command line tool.
Questions tagged [curl]
646 questions
0
votes
0 answers
HAproxy forward proxy with SSL termination
Problem:
Iam trying to build a forward proxy with ssl termination, further it upstreams to my proxy servers eg: TOR. My upstream proxy services are non-https.
Client -> Network-Haproxy -> Uptstream-Proxy -> Internet
I could easily succeed in tcp…

Ja8zyjits
- 101
- 1
- 4
0
votes
1 answer
Docker race condition leading to curl error "transfer closed with 1 bytes remaining to read"
It is hard to fully describe our problem. However, I will try my best to provide full information.
I spent many hours and still stuck. Hope that anyone here can help me.
Currently, our container randomly hangs on response to network request.
I have…

Sang
- 101
- 4
0
votes
0 answers
apache2 mod_proxy working awesome for http://urls and not for https://urls for curl requests
I have proxy setup with apache2 mod_proxy,
Note: I did not change proxy port
When I try curl -x http://proxyurl:80 -L http://destinationservice.com
Now it works, but when i try with https://destinationservice.com
curl -x http://proxyurl:80 -L…

indianwebdevil
- 220
- 1
- 6
0
votes
1 answer
curl: works ONLY using "sudo" for Remote Server-1, and without "sudo" for Remote Server-2
i am using curl in my local linux server to access my remote web service, and i found that both servers are reachable. But my issue is that Remote Server-1 is not accessible without "sudo" but my another server (Remote Server-2) is accessible…

Sai
- 3
- 1
-1
votes
1 answer
I can see HTTP/2 headers with curl. But, if this protocol works with frames and binary numbers: shouldn't these headers be "invisible"?
HTTP/2 has several differences with respect to HTTP/1.1. One of them is the use of frames, binary numbers and compression to optimize the headers. However, when I use "curl -v --http2" against a domain that supports HTTP/2, I can see response…

john smith
- 51
- 3
-1
votes
1 answer
"curl: command not found" on Debian 10 with PHP 7.3 installed successfully?
I have a Debian 10 VPS where I'm configuring for use for an internal app. At the moment I'm installing a monitoring package for the server which requires me to use curl. Running the command returns the following error:
-bash: curl: command not…

mickburkejnr
- 187
- 1
- 2
- 12
-1
votes
1 answer
File .pem Permission denied
I have received from my partner a pfx file that I converted to pem for API
The idea is that I do not know where to put the ubuntu server and how to access the plug-in on the woocomerce
my log it's this
#Next GuzzleHttp\Exception\RequestException:…

DIma
- 1
- 1
- 2
-1
votes
1 answer
Centos 7 curl HTTPS error (1)
The curl error
# curl https://www.google.com
curl: (1) Protocol "https" not supported or disabled in libcurl
Background info
I start listing my specs:
CentOS Linux release 7.5.1804 (Core)
# curl -V curl 7.61.1 (x86_64-pc-linux-gnu) libcurl/7.61.1…

Raikoug
- 121
- 1
- 4
-1
votes
1 answer
php post request curl HTTP ERROR 500
here is my configuration : Apache2 working with php7.1.
I have an example PHP code for sending a sms message specific to JasminSMS :

hexphp111
- 101
- 1
- 1
- 2
-1
votes
1 answer
How to set some kind of authentication for forword proxy in apache2?
I have a VPS and have configured it to run apache2 as a forward proxy:
ProxyRequests On
Order deny,allow
Deny from all
Allow from all
This allows me to use my VPS from my home machine to…

showkey
- 115
- 1
- 4
- 19
-1
votes
3 answers
Can not connect to the host itself
Well, the problem is simple. I have the site based on apache and trying to execute cron job at this site from the same server. Let's say my site http://example.com and cronjob is
/usr/bin/curl http://example.com/cron.php
It does not work, error is…

Epsiloncool
- 95
- 2
- 13
-1
votes
2 answers
using Curl for Rest API calls - Authenication Failure
I have an authentication problem with a REST API Call with curl, I think its to do with the formatting of my curl input.
curl -v https://api.ananthsdomain.com/version1/testaccount/test \
-H "Accept: text/xml \
User-Agent: MyIn…

akarc
- 11
- 3
-1
votes
1 answer
404 header error instead of the correct 200
I have just updated a (dynamic) website by sftp/ssh and all the new pages have been considered as 404 error not found. Actually, all the pages, including the old pages which was overwritten.
Also, the website is using cloudflare.
Let me show you a…

Greg
- 101
- 1
- 5
-1
votes
1 answer
Why does host+curl take longer than host alone and curl alone?
I asked this on networkengineering.se, and they suggested I move it here.
I tried to test the speed of my website, so I used
time curl "http://google.com"
The result ended with
real 0m15.589s
user 0m0.012s
sys 0m0.000s
I tried to see what took…

goog
- 19
- 2
-1
votes
1 answer
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.

aowie1
- 99
- 1