cURL is an HTTP client library and command line tool.
Questions tagged [curl]
646 questions
0
votes
0 answers
Server intermittently dropping http requests in 0s when network traffic high
We have a web server that makes a number of http (actually https) requests to itself using curl. (This is because we have multiple websites running on the same server, and they use each other's APIs.)
We've found that when there is a large amount of…

Nathan Stretch
- 181
- 2
- 15
0
votes
1 answer
When using the curl -v -i command in the Ubuntu Terminal the server responses are duplicated. why?
I'm doing university work on the HTTP protocol and I want to explain "visually" how an HTTP connection occurs between a client and a server. To do this, I use in the Ubuntu terminal (which I have installed in VirtualBox) the command curl -v - i…

john smith
- 51
- 3
0
votes
0 answers
Debian 10 with PHP 7.3.4-2 - Call to undefined function curl_init()
I am running a VPS with Debian 10, Apache 2.4.38, PHP 7.3.4-2, MariaDB 10.3.15 and curl 7.64.0.
On one of the hosted, older websites I am running a script that uses curl_init(); which fails with the following error:
Error: Uncaught Error: Call to…
user475270
0
votes
0 answers
Failed to make https request with self signed certificate authentication
In order to make clients authentication with a self signed certificate, I went through the following steps:
openssl genrsa -out ca.key 4096
openssl req -new -x509 -days 3650 -nodes -key ca.key -out ca.crt
Create the Server Key, CSR, and…

Super Hornet
- 103
- 7
0
votes
1 answer
curl ip address of load balancer
I have an application running on a VM, that sits behind an internal load balancer in Azure. I can reach it locally on /api without any problem.
I have configured the rules for the load balancer to direct traffic coming from port 8001 to 443 on the…

RM29
- 1
- 1
- 1
0
votes
0 answers
Getting no response when using POST method (URGENT)
I have 3 servers svrA, svrB, and svrC.
svrA and svrB need to call a web service (http://example.com/api/consoleServices) hosted in svrC.
Now the issue is sometimes I am able to get the response from svrC in svrA and no response in svrB and then…
user438713
0
votes
1 answer
Sporadic mod_jk Client Errors when uploading large files
Note: There is a TL;DR at the end of this question.
I have a nightly backup script that has been working reliably for 6 years, and two months ago, it began to fail to upload to my archive server (only about 1 in 4 attempts succeed). This started to…

Parker
- 773
- 2
- 11
- 27
0
votes
1 answer
PHP curl_exec failing with HTTPS
I have a wordpress site that its failing. I tracked the issue and I found that is due to curl_exec() failing with HTTPS sites.
I'm running php 5.6 in a Alpine Linux v3.8 container with lighttpd.
The logs (error.log) don't give too much…

lepe
- 469
- 2
- 6
- 25
0
votes
1 answer
Add calendar event to Nextcloud using curl
I am unsuccessfully trying to add an event to Nextcloud agenda (Nextcloud version 16), using cURL :
curl --user 'user:pass' -X PUT \
https://myNCserver/remote.php/dav/calendars/user/myCalendar /Myevents-Z2HOOON14VOH09RIACY3IL3W.ics \
-H…

M-Jack
- 1,346
- 2
- 11
- 16
0
votes
1 answer
Automated speed tests with a curl command
I'm having some hard time finding examples of something relatively simple: At my job, I need to come up with a script to test various servers with curl and then get the outputs in a file.
The command to use is something along
$ time curl…

Notauser
- 295
- 1
- 9
0
votes
1 answer
Getting error error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure on jmeter
I have an issue with Jmeter Curl. I have a .sh file which contains curl command, and that sh file calling using OS Process Sampler
.sh command contains
curl -kvH "Accept: application/json" https://www.rocketleaguereplays.com/api/replays/-1/
But I…

Sourabh Nigam
- 1
- 1
- 1
0
votes
2 answers
Curl + Socks5 - escape authentification data
I'm trying to use Curl with Socks5 proxy which needs authentication:
curl -v -x socks5://user:password@PROXY_SERVER_IP:PROXY_PORT http://checkip.amazonaws.com
However, my login is email address and password contains an asterisk. I am trying to…

skall
- 11
- 2
- 6
0
votes
3 answers
curl bash script works fine in shell but not work in cronjob
I have a script using curl to do the job and set into crontabs.
Things were fine on redhat 7.5+ or CentOS 7.
But in redhat 7.2, the script turned into a junk and never output a thing from the curl results.
OUTPUT=/tmp/apm.log; touch $OUTPUT &&…

Yeats Raw
- 1
- 1
- 3
0
votes
1 answer
curl "No route to host" or "Connection timed out" but python httplib works
I have qemu guest instance which has an interface with 192.168.0.4 static ip address. Also there is virtual interface tap0 without ip address and br0 which has 192.168.0.3 ip address on the host.
There are the commands which I used to set up…

rinatdobr
- 103
- 1
- 4
0
votes
0 answers
CentOS 7: curl and wget not working
My problem is that curl and wget usually fail to retrieve more than just the first part of any given file, and often nothing at all. Both have worked previously on the same server, and nothing else on my network has changed - and I'm not really sure…

SuperDog
- 71
- 1
- 3
- 10