2022 Developer Survey is open! Take survey.

Questions tagged [curl]

curl is a command-line tool for transferring data using various protocols.

Filter by
Sorted by
Tagged with
0 votes
0 answers
73 views

curl: (60) SSL certificate problem: certificate has expired while building MikTeX from source

I am trying to build MikTeX on a fresh Ubuntu 22.04 but got an error about curl: (60) SSL certificate problem. The build process has worked before. I build from source following the official ...
user avatar
  • 2,847
0 votes
1 answer
66 views

How to pass json parameters for Jenkins using CURL?

I'm trying to build a job by passing JSON parameter for Jenkins through Linux CLI. But I'm not able to pass the parameters in JSON. I have used -g to turn off globbing. Still the issue persists. Any ...
user avatar
0 votes
0 answers
103 views

Linking Zlib with source compilation

I have compiled Libz using these steps: wget -c --no-check-certificate https://zlib.net/zlib-1.2.12.tar.gz ./configure --prefix=/home/zlib1/ make make install Similarly I have compiled OpenSSL and ...
user avatar
1 vote
0 answers
27 views

APT CURL etc. expect lower case HTTP_PROXY variables

We have 4 (presumably) identical Ubuntu 20.04 machines and one of them expects the environment variables HTTP_PROXY, HTTPS_PROXY AND NO_PROXY to be lower case. Programs such as curl and apt work ...
user avatar
  • 763
0 votes
0 answers
106 views

curl: option --update: is unkown

I am trying to run this command: curl -fsSL https://uisp.ui.com/v1/install > /tmp/uisp_inst.sh && sudo bash /tmp/uisp_inst.sh --update --version 1.4.3 And I get this error messsage: curl: ...
user avatar
-1 votes
1 answer
103 views

How to check that username password is correct using curl command?

I want to be able to write a curl command where in i pass options like username password in the curl itself and it should connect to the server. Is there a way where we can find if the user is able to ...
user avatar
  • 121
1 vote
0 answers
24 views

CURL request only works outside of VM

VM: Windows Subsystem for Linux with Ubuntu 18.04. Curl version: 7.58.0 Command used: curl -v "http://IP:PORT/PATH" Result: * Trying IP... * Connected to IP (IP) port PORT(#0) > GET /PATH ...
user avatar
1 vote
0 answers
93 views

Installation of intermediate certificate not working for command line tools

TL;DR: No description on how to install a intermediate certificate works under Ubuntu 18.04. Any suggestions? Before marking this as a duplicate of How do I install a root certificate? or any other ...
user avatar
0 votes
1 answer
32 views

wget download file to inurl directory

Is there any way to download file to inurl directory. For example: Here the url is https://url.com/api/discovery/manifest I want the download structure be like root_folder - api -- discovery ---- ...
user avatar
3 votes
4 answers
3k views

curl: (77) error setting certificate verify locations (Ubuntu 20.04.3 LTS)

I'm installing Waydroid on Ubuntu, when running: export DISTRO="focal" && \ sudo curl -# --proto '=https' --tlsv1.2 -Sf https://repo.waydro.id/waydroid.gpg --output /usr/share/...
user avatar
0 votes
1 answer
332 views

PHP mbstring, xml and curl setup

My script installation rquires the following setup: sudo apt update, sudo apt install php-curl, sudo apt install php-mbstring, sudo apt install php-xml, sudo service apache2 restart After running the ...
user avatar
5 votes
1 answer
8k views

curl: (23) Failure writing output to destination

I want to run the following on ubunt 20.04: sh <(curl -L https://nixos.org/nix/install) --daemon what I got is this: sh <(curl -L https://nixos.org/nix/install) --daemon % Total % Received ...
user avatar
7 votes
2 answers
1k views

Bash variable in 2 quotes

I want to send a request like this with curl: curl some parameters and headers --data-binary '{"secret":"$1"}' but $1 is not being variable. I tried using echo with this command: ...
user avatar
  • 71
0 votes
0 answers
534 views

gnutls_handshake() failed: An unexpected TLS packet was received from ubuntu 16 curl(7.47.0)

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. ...
user avatar
  • 101
7 votes
1 answer
1k views

After installing youtube-dl on Ubuntu 21.10 with the instructions on github many applications, including default text editor, broke

A new user here, running ubuntu on version 21.10 impish. I was installing youtube-dl with the instructions on the github page (https://github.com/ytdl-org/youtube-dl#installation): $ sudo curl -L ...
user avatar
  • 73
0 votes
1 answer
20 views

Is there anyway to pull multiple pictures from an excel sheet at once on my ubuntu

I have this task which will take me forever to finish, about 1000 rows in an excel sheet of pictures names and links in different two columns (1st &3rd columns). i was thinking if i could use curl ...
user avatar
  • 23
0 votes
0 answers
211 views

Problem with certificates, reinstall didn't help

I am using Ubuntu 20.04 and I have problems with ca-certificates. When I run command sudo apt update, I receive a lot of errors like: Certificate verification failed: The certificate is NOT trusted. ...
user avatar
0 votes
0 answers
268 views

How to set up NVIDIA Container Toolkit on Ubuntu 20.04?

I am trying to set up NVIDIA Container Toolkit with this command following this tutorial to install Tensorflow 2.0 GPU on Docker container with Ubuntu 20.04 LTS: distribution=$(. /etc/os-release;echo $...
user avatar
0 votes
0 answers
388 views

curl hangs and does nothing

I have specific domain, that can be accessed from everywhere. When I do this on other PC it works: curl -v mydomain.com But when I do the same from my PC it just hangs infinitely. No errors, just ...
user avatar
3 votes
1 answer
700 views

curl dynamic linking problem in 21.10

I recently got a Dell Precision 3450 with ubuntu 20.04, and upgraded to ubuntu 21.10 in two steps (20.04 -> 21.04 -> 21.10). This required upgrading the file /usr/lib/os-release by hand, as ...
user avatar
0 votes
0 answers
295 views

Browsers keep crashing on Ubuntu 20.04

I have Ubuntu 20.04 on my Lenovo Thinkpad E530. The Chrome and Firefox browsers keep crashing randomly. Today Firefox crashed and I can't launch it. I have this error: 17:45 ~ [home]$ ExceptionHandler:...
user avatar
  • 123
0 votes
0 answers
109 views

Curl configuration overriden after compilation. HTTPS disabled

In order to work on a old legacy project, I try to setup a docker image base on ubuntu 20.04 using an old version of curl 7.27.0. So I install curl from sources ENV CURL_VERSION 7.27.0 RUN cd /tmp &...
user avatar
  • 101
1 vote
0 answers
153 views

cURL on Ubuntu 21.04 does not usually display JSON response bodies

I just installed Ubuntu 21.04. I was surprised to find that the version of curl that comes installed does not display JSON response bodies in many cases... I'm still trying to understand why sometimes ...
user avatar
0 votes
0 answers
63 views

curl option --ftp-methods - What's the difference in practice?

I was having some problem with downloading some ftp files using curl. In the curl manual, there are some methods of calling ftp links as follows: multicwd curl does a single CWD operation for each ...
user avatar
4 votes
1 answer
2k views

Error using cURL on the WhatsApp web [duplicate]

I'm trying to do a cURL, getting only the header of a site: curl -I https://api.whatsapp.com/send/?phone=51988888888&text&app_absent=0 But I get a prompt, until pressing Enter or Ctrl + C. ...
user avatar
  • 283
0 votes
0 answers
1k views

Missing root CA certificates in Ubuntu

I have Ubuntu 20.04 installed on my remote Google VM. It is missing some critical root CA certificates which is causing verification error on curl, wget and apt-get. How do I install the missing ...
user avatar
0 votes
0 answers
596 views

curl error 61: Unrecognized content encoding type. libcurl understands identity content encodings

I'm having problems with using Composer. composer diagnose gives this result: Checking platform settings: OK Checking git settings: OK Checking http connectivity to packagist: FAIL [Composer\...
user avatar
0 votes
0 answers
331 views

PHP cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

I am getting curl error as cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://......... I am testing ...
user avatar
-2 votes
1 answer
4k views

E: Package 'libcurl3' has no installation candidate in ubuntu21.04?

I am very new to the ubuntu os , when i tried to install php7.2-curl extension(sudo apt-get install php7.2-curl)it throws following error The following packages have unmet dependencies: php7.2-curl : ...
user avatar
0 votes
0 answers
84 views

Why is my PHP CLI Curl version different from curl and libcurl even if I try to force it with --with-curl flag during compilation?

I have compiled PHP after compiling Curl 7.73 . Curl -v shows me it's 7.73, and if I go to my web server and check phpinfo() output it's also 7.73 . However, the compiled php cli is showing me that it'...
user avatar
2 votes
1 answer
2k views

Ubuntu 20.04 - Curl: symbol lookup error

I set up a new version of ubuntu on a laptop. Post that, in order to set it up identical to my desktop, I did an apt clone and install # Take a backup of the entire apt repo using apt-clone sudo ...
user avatar
  • 171
0 votes
0 answers
49 views

How to download directory/folder from repository with credentials

I have a repository that has directory/folders named /scripts and I want to download this whole folder with its content and subdirectories. I tried wget command: wget --user xyz --password xyz-pswd --...
user avatar
  • 123
4 votes
1 answer
2k views

Can't write to a hidden path using Curl

I did a fresh install of Ubuntu 20.04 today. I got as far as setting up my vim environment which installs plug.vim using curl when I hit a speed bump. Error creating directory /home/simon/.vim/...
user avatar
1 vote
1 answer
424 views

Curl (35) trying to install Gitlab Ubuntu server 18.04

Hi i'm trying to install gitlab on an virtual server Ubuntu 18.04, following these steps from the official website. But when in the second step curl -v https://packages.gitlab.com/install/repositories/...
user avatar
2 votes
1 answer
642 views

Permission denied to a file in ~/.cache directory

When I set an output file in the home directory, the following curl command works. But when I use ~/.cache/mydir, it returns "Permission error". $ ls -al ~/.cache/tera drwxrwxr-x 2 shinichi ...
user avatar
  • 543
1 vote
0 answers
298 views

Trying to install volta.sh package library

I am trying to install volta.sh package library from which I wish to install Node and npm. I tried: curl https://get.volta.sh | bash and got the error: curl: (6) Could not resolve host: get.volta.sh ...
user avatar
  • 21
0 votes
0 answers
290 views

How to use parallel CURL POST requests for API with JSON Payloads

I need to retrieve a significant amount (100K+) of responses from an API via a POST request each with a unique JSON data payload. Rather than do this one call at a time I'm trying to work out how to ...
user avatar
0 votes
0 answers
47 views

not able install/download kubectl and aws-cli via curl or apt in Ubuntu 18.04.5 LTS (Bionic Beaver) [duplicate]

trying to install kubectl in aws via below but getting the zero byte download. It is happening even with apt-get install NAME="Ubuntu" VERSION="18.04.5 LTS (Bionic Beaver)" curl -o ...
user avatar
0 votes
0 answers
20 views

Print Notification to Text File if Website Back to UP using CURL or Bash

I'am sorry, i new in programming. I will a simple script. Current Condition, i already create script if status website 200 or 301, Website is UP. If status not 200/301 , website down. Now i success ...
user avatar
0 votes
0 answers
117 views

curl certificate failed when updating nodejs version in ubuntu

I am trying to upgrade nodesj to the latest stable version, following this thread here. However, at step sudo n stable, I got the below error: curl: (60) SSL certificate problem: unable to get local ...
user avatar
0 votes
1 answer
42 views

timedatectl not get update via curl request via cronjobs

I have time problem on Ubuntu 20.04 When I command time : timedatectl System clock synchronized: yes, but when I request time in PHP via curl the time not being change, https://domain.com/time.php but ...
user avatar
  • 121
0 votes
0 answers
935 views

How to configure curl (openssl) in order to make it work with custom engine and TLSv1.0

I've successfully added a custom engine to my OpenSSL configuration like this: openssl_conf = openssl_def # at the beginning of the config file [openssl_def] # at the end engines = engine_section [...
user avatar
0 votes
1 answer
71 views

Several packages removed during installation after uninstalling libcurl4

Since I had issues installing curl on Ubuntu 18.04, I have executed the following commands: sudo apt remove -y libcurl4 Followed by this one: sudo apt install -y libcurl4 curl What I do not ...
user avatar
  • 111
0 votes
1 answer
65 views

Curl -K - works fine, but with -Z it outputs some zero length files

I have a script in which I have a pipe that I've made output a series of: url="..." output="..." that pipe into a curl command: curl -K - lots of other options If I have the curl ...
user avatar
0 votes
2 answers
531 views

ubuntu 20.04.2 pi-hole install cmd not working

Several questions on here from people as dense as I, but I haven't seen my problem. Just installed. Runs all updates. open cmd and enter sudo curl -sSL https://install.pi-hole.net I bash sudo: curl: ...
user avatar
0 votes
0 answers
32 views

i am trying to install nvm using curl when i use the following command

curl -6 -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash i get curl: (28) Failed to connect to 172.16.2.200 port 3128: Connection timed out
user avatar
0 votes
1 answer
163 views

Ubuntu Server 16.04 error 60: SSL certificate problem

Ubuntu server 16.04 PHP7.4 Apache2 running wordpress Geotrust SHA256 certificate I have started getting the following error cURL error 60: SSL certificate problem: unable to get local issuer ...
user avatar
1 vote
1 answer
1k views

How do I remove a curled package?

I ran the following command: curl -o- https://deb.packages.mattermost.com/repo-setup.sh and it doesn't work. How can I remove this curled package and try the installation again?
user avatar
0 votes
1 answer
2k views

Failing to install Allure 2.13.8 on ubuntu 20.04.2 LTS manually

I have tried the following commands: curl -o allure-2.13.8.tgz -Ls https://dl.bintray.com/qameta/generic/io/qameta/allure/allure/2.13.8/allure-2.13.8.tgz sudo tar -zxvf allure-2.13.8.tgz -C /opt/ ...
user avatar
0 votes
0 answers
29 views

my downloaded .gz files have a dot and don't work properly

I have downloaded, using curl, some .fastq files for genomic analysis, but they seem to be corrupted or something, they show a small dot after the extension (using Ubuntu terminal on Windows 10). Any ...
user avatar

1
2 3 4 5
8