cURL is an HTTP client library and command line tool.
Questions tagged [curl]
646 questions
0
votes
0 answers
Apache ProxyPass: Connection timed out
I have my apache configured to proxy some traffic to an internal ip (127.0.0.1:8048). When accessing the internal IP, everything works fine. But when acessing the proxy, I receive:
Failed to connect to matrix.DOMAIN port 8448: Connection timed out
I…
0
votes
1 answer
curl: (60) server certificate verification failed CRLfile: none
I'm slowly transitioning from an exclusive developer role and into more of a hybrid DevOps role at my company. Which means I'm new to a lot of this, please go easy on me... :-p
My client's server is running Ubuntu 16.04, with PHP 5.6.4 and there is…

Drew
- 101
- 1
- 4
0
votes
0 answers
Traceroute - Header Link CURL result Issue
We have systematic CURLs run every 15 mins - 2 hours from this system and logging their status. Every other CURL for the past 2 months has succeeded except this. Is there a way to identify why this one failed?
This was a CURL result to my domain.…

samtech 2021
- 81
- 7
0
votes
0 answers
HTTPS POST-Request fails in connection with Content-Length
A PHP application posts XML data with curl; nothing fancy, the output looking like (c/p, but identifiers and passwords changed):
Host: foreign.host.example
Authorization: Basic dGVzdDpnZWhlaW0=
User-Agent: ourhost HTTP-connector/1.0
Accept:…

SlowFox
- 11
- 2
0
votes
0 answers
gnutls_handshake() failed: An unexpected TLS packet was received
I am facing this issue when triggering curl to a target application hosted in ubuntu 20.
curl: (35) gnutls_handshake() failed: An unexpected TLS packet was received,Below is the curl version in source.
curl 7.47.0 (x86_64-pc-linux-gnu)…

Sarath S
- 101
0
votes
1 answer
What is the maximum value acceptable for xargs -P argument?
In this answer they mention 10
I did man xargs and couldn't find what's the maximum limit.
Is it possible to send 10000 cURL requests per second?
How about 50000 cURL requests per second? I mean all 50000 executing at same time?

sofs1
- 103
- 3
0
votes
1 answer
How to pass values to query externally
I have below similar logs.
I have created dummy index and created mapping like below in dev-tools
PUT new
{
"mappings": {
"properties": {
"@timestamp": {
"type": "date",
"format": "yyyy-MM-dd HH:mm:ss.SSS"
}
…

abc
- 11
- 4
0
votes
0 answers
Best practices to troubleshoot stuck php application due to internal curl calls to unresponsive endpoints
Recently I found myself with a website (Prestashop e-commerce on a Centos PHP-FPM /Apache / MySql machine ) that was down and not responding to web requests.
After investigation, issue was due to an API call made with php-curl towards an endpoint…

gennaris
- 121
- 3
0
votes
1 answer
Curl error (56) while trying to install Zabbix packages on RHEL 8
I followed the instructions here https://www.zabbix.com/download?zabbix=5.4&os_distribution=red_hat_enterprise_linux&os_version=8&db=mysql&ws=apache to install Zabbix 5.4 Mysql/Apache on my RHEL 8 server.
When i tried to install the package with…

motorbass
- 303
- 2
- 12
0
votes
0 answers
Replace anonymous ldapsearch command with curl command?
I have this working ldapsearch command for connecting anonymously to an internal ldap server:
$ ldapsearch -h my.host -p 389 -x -LLL -s base -b "" namingContexts
dn:
namingContexts: DC=org,DC=sample
Now I would like to list the same using curl:
$…

u123
- 267
- 1
- 8
- 24
0
votes
2 answers
Downloading a file using Windows CMD line with curl/wget
I have a client [Windows 10 VM] and a server [say a linux based VM].
I have Apache running on the Linux Server.
I have a file on the linux server that I want to download on my windows client.
I want to do it in 2 ways from the windows CMD:
-Using…

Software Fan
- 101
- 1
- 2
0
votes
2 answers
cURL POST bash script adds single quotes to variables with spaces
The first 3 variables will always have no spaces. The fourth "slacksitename" has spaces
ip=“x.x.x.x"
record_name=“demo.xyz"
slackuri:”WEBHOOK"
slacksitename:”123 Main St"
When called with cURL
curl -X POST -H 'Content-type: application/json' --data…

northport
- 3
- 1
- 4
0
votes
1 answer
Sending a malicious package as a test to test Suricata alerts
I have a reverseproxy that proxies HTTP/HTTPS traffic between webbservers and I have set up Suricata in order to find and block malicious traffic to it.
Is there any way to trigger a alert via a CURL-request? Does the EICAR-test work?
I have done…

Orphans
- 1,396
- 2
- 18
- 30
0
votes
0 answers
Curl : Recv failure : Connection Reset By Peer and Unix Socket Crash
I'm trying to set up a unix socket for gunicorn and to ping it from curl (running curl --unix-socket /run/gunicorn.sock http://www.example.com --trace-ascii dump.txt). Unfortunately, the response from Curl Each time is a curl: (56) Recv failure:…

NSinha
- 1
- 2
0
votes
1 answer
PHP and Nginx on docker, curl get Connection refused in php container
I am working in a local environment with docker.
I have an nginx web container and a php container which are in the same network.
I build the php container from my own dockerfile (with phpfpm and phpcli); and, the nginx I compose it in a…

Hasina Njaratin
- 111
- 1
- 2