cURL is an HTTP client library and command line tool.
Questions tagged [curl]
646 questions
0
votes
1 answer
automatically detect an apache server running on a specific vm and zone in Google Cloud Platform
Note: This is a self-answered question, which is allowed here. If you have better solutions go ahead and post them.
Hypothetical automation for a web-based cloud school needs to test if students have some minimal competence before proceeding. …

Paul
- 1,634
- 15
- 19
0
votes
0 answers
How Does curl over HTTP Know Where to Respond
This might sound like a silly question that is probably just part of the HTTP protocol, but might be important to debugging an issue I'm having.
We have some PHP code that uses the php-curl functions to grab a response from an API and save it. The…

Aaron Chamberlain
- 381
- 1
- 3
- 13
0
votes
1 answer
Use Curl For Finding DataBase Errors?
I have a list of domains in a file say list.txt
I've got a report that many of these domains showing "Database Connection Error"
I want to know all domains that can't connect with db properly. I thought curl could be a useful utility for that, so I…

Sollosa
- 137
- 1
- 7
0
votes
1 answer
Intermittent http connection failure
We have two servers, ie
host1.example.com
host2.example.com
One of these acts as the primary web server for our two main websites, example.com and example2.com. The other acts as a backup, which we can switch traffic to by changing the DNS…

Nathan Stretch
- 181
- 2
- 15
0
votes
2 answers
How to connect from curl (git-ftp) and FileZilla to vsftpd?
Following this tutorial I managed to add FTPS connectivity to the server.
Following step 6 in the tutorial:
6.1 generate certificate
$ sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/vsftpd.pem -out…

rraallvv
- 123
- 6
0
votes
1 answer
How to solve this generic intermittent SSL error?
I'm getting a cURL error when my website attempts to retrieve data from the CRM.
PHP Fatal error: Uncaught exception 'Exception' with message 'cURL Error: Unknown SSL protocol error in connection to dev.company.com:444' in…

Cohaven
- 51
- 6
0
votes
0 answers
squid proxy dont load only one site , dont SSL VERIFY HOST
squid proxy don't load only one site, don't have a problem with other websites
I think this problem from SSL VERIFY HOST on squid.
I use this code on squid config but don't fix my problem:
Source:…

user3770797
- 33
- 1
- 7
0
votes
1 answer
Curl fetch only headers without head
On our company servers due to security purposes our main SysAdmin only allows a few HTTP methods to pass through like (GET, POST, OPTIONS, PUT, etc.) and HEAD is not one of them.
I implemented Zabbix Monitoring on them to check if it pings correctly…

Amin Vakil
- 27
- 7
0
votes
2 answers
How to start a blocking process (server) and then curl it from the same script?
I am trying to operate DeepDetect (a machine learning server) in Docker [note this is not a DeepDetect question - it is simply a Bash question]. However, I am running into a more general Linux/bash problem that I am hoping to get help on.
Here is…

A X
- 469
- 4
- 10
- 31
0
votes
1 answer
OpenNebula: instantiate a service template with Curl providing a service name
In OpenNebula 5.4, I am able to instantiate a Service from a Service Template using Curl, but I don't know how to provide a service name.
The website example works as expected:
curl http://127.0.0.1:2474/service_template/4/action -u…

xCovelus
- 200
- 1
- 1
- 7
0
votes
1 answer
curl - SSL peer does not support certificates of the type it received
Trying to send a request with a client certificate to an Apache server, I have the following request and error:
$ curl -X POST https://my-server.com/dummy/user -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -d…

Worp
- 327
- 1
- 4
- 15
0
votes
1 answer
Servers can't find each other
I had originally posted this on Superuser, but for some reason it got marked off-topic, so this seems like the only reasonable place left to post this.
I have a web server, which hosts my website (https://thijs365.com/) and my Nextcloud server…

TooMuchRAM
- 111
- 5
0
votes
0 answers
Nginx SSL request process
I have a Nginx 1.10 with this 2 sites:
site A:
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
ssl_certificate /etc/ssl/example.com/fullchain.pem;
ssl_certificate_key /etc/ssl/example.com/privkey.pem;
…
0
votes
1 answer
Apache closes connection too early
I am trying to debug an issue we are having with some embedded devices when they are downloading Firmware over-the-air and closing connections too early, failing to get all data.
I tried downloading the file with curl and wget but it gets downloaded…

markz
- 173
- 1
- 4
0
votes
1 answer
Switch between using / not using CDN
Previously, I have used CloudFlare, where we can switch quickly between "active mode" and "development mode". In "development mode", static files are loaded directly from the origin server rather than from CDN nodes.
I'm now tying Qiniu CDN to speed…

Thomas
- 223
- 1
- 3
- 11