cURL is an HTTP client library and command line tool.
Questions tagged [curl]
646 questions
0
votes
0 answers
varnish 6 behavior no-data POST
I'm facing a strange behavior on varnish 6, and I would need some advices to find out what's wrong. This occures on empty POST/PUT requests.
Everything is working well on recipe platform but fails on production plateform with error :
transfer closed…

Julien
- 133
- 4
0
votes
2 answers
Device -> device traffic being blocked inside of network
I am running into a weird issue, which I have been trying to understand and fix for a few hours.
I have three main machines, which are setup this way:
M1: Raspberry pi 3 (raspbian lite), running caddy as a reverse proxy/static web server. Caddy…

ruben1691
- 101
- 1
0
votes
1 answer
Unable to use YUM. RHEL 8.2 server hosted in Azure
I have a Red Hat server hosted in Azure and when I try to use yum to install software or do a system update I get the below error,
Errors during downloading metadata for repository 'rhui-rhel-8-for-x86_64-baseos-rhui-rpms':
Curl error (28): Timeout…

redhatsamurai
- 3
- 7
0
votes
1 answer
How to grep (Select-String) the output of curl (Invoke-WebRequest) in PowerShell
I'm trying to curl a website and grep it for a specific line in PowerShell. How can I do that?
Here's the equivalent of what I'm trying to do, but in BASH
user@host:~$ curl -s www.isxkcdshittytoday.com | grep YES
title="YES">YES
user@host:~$…

Michael Altfield
- 739
- 2
- 8
- 23
0
votes
2 answers
Why is curl failing to download from cache.ruby-lang.org when ping works?
I have an issue similar to this:
Wget, Curl, Yum Fail but Ping works - CentOS 5
In my case, I have 2 Ubuntu 18.04 servers which are failing to download from cache.ruby-lang.org:
curl -O https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.3.tar.bz2 -v
…

afarley
- 213
- 2
- 9
0
votes
0 answers
curl + wget cannot make https connections
My Ubuntu 16.04 system has the following problem:
wget and curl hang indefinitely when connecting to a server with HTTPS
Both programs work fine with HTTP
Example for curl:
curl -vv https://google.com
* Rebuilt URL to: https://google.com/
* …

oarfish
- 51
- 4
0
votes
1 answer
How to upload files to remote server using curl on Ubuntu 18?
I have noticed that my application on Ubuntu 18 is not uploading files to remote server which was working ok on Ubuntu 16.
When I do trace I see only one difference.
Ubuntu 16:
Content-Disposition: form-data
Ubuntu 18:
Content-Disposition:…

iWizard
- 418
- 3
- 12
- 27
0
votes
2 answers
Check SSL certificate used by an apache virtual host locally
I just updated a certificate for a particular apache virtual host which is behind a load balancer. Restarted the virtualhost with the command httpd -k restart -f /etc/httpd/someweb.tx.com/conf/httpd.conf.
What's the best way for me to check if the…

bindo
- 15
- 1
- 3
0
votes
1 answer
How to query Oracle VM REST API with curl?
I've searched in the Oracle VM documentation, but I wasn't able to find any example on how to query the Oracle VM REST API from curl or any similar alternative:
https://hostname:port/ovm/core/wsapi/rest/

Dane411
- 101
- 2
0
votes
0 answers
cURL download always stalls but works on second attempt
Once a week, I download a file from the US FCC. I have a bash script with the following.
curl http://wireless.fcc.gov/uls/data/complete/l_amat.zip --remote-name
Every week, the first attempt to run that stalls. The data never flows. The progress…

tetranz
- 315
- 2
- 6
- 14
0
votes
1 answer
CURL call is blocked due to suspected security breach
I am trying to extract list of cities from https://www.lalpathlabs.com/find-a-lab.aspx which can be extracted one by one by selecting different states.
To achieve that through a shell program, I inspected the webpage to find the URL used to fetch…

gyan
- 111
- 4
0
votes
0 answers
scripting download of teradata files
I'm trying to automate the build of a server and am having troubles scripting out the download of the teradata tools and utilities for linux from this site…
0
votes
1 answer
Restricting which ports accept connections (Debian 9 Stretch)
I am not a sysadmin but I am having to assume some duties in that realm.
We have a Debian 9 Stretch server for development use.
Linux xxxxxx 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u2 (2019-05-13) x86_64 GNU/Linux
It must be reachable on port 443…

jerrygarciuh
- 79
- 1
- 2
- 12
0
votes
1 answer
Curl doesn't work when run with crontab
This is my curl script
#!/bin/bash
PING_STATUS="$(netcat -vz mc.bella.wtf 25565 2>&1)"
curl -H "Content-Type: application/json" -X POST -d '{"embeds": [{"title": "Server Status:","color": 16027903,"description": "'"$PING_STATUS"'"}]}'…

5HT2
- 3
- 2
0
votes
0 answers
Browser content differs from curl content; Does the browser somehow manipulate it?
I have a virtual machine with Ubuntu server 18.04 on which I am running an apache2 webserver with two virtual hosts. I configured one vhost to run as a reverse proxy for the other vhost. On the proxy I use the substitute_module to change some of the…

Marten
- 1