Questions tagged [curl]
curl is a command-line tool for transferring data using various protocols.
117
questions with no upvoted or accepted answers
5
votes
0
answers
2k
views
tun0 doesn't have internet access
I'm using OpenVPN on tun0 (Ubuntu 16/EC2), I can successfully start it with systemctl start openvpn@Ireland (PIA's Irish cluster), but the interface doesn't have Internet access:
curl --interface ...
3
votes
1
answer
878
views
SSL Issue on curl by compiling PHP7
While compiling PHP7 with curl I got this message in my log:
/php-src/ext/curl/interface.c:74:5: warning: #warning "libcurl was compiled with SSL support, but configure could not determine which" "...
2
votes
0
answers
468
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 ...
2
votes
0
answers
3k
views
send email via curl error "curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number"
I have an Ubuntu Server v18.10. I am only allowed to install openssh, openvpn, & curl. I have scripts that need to send emails. I have a windows background & I am beginner\intermediate for ...
2
votes
0
answers
625
views
What is the secure combination of php.ini configuration and PHP code to verify SSL/TLS on Ubuntu 14.04?
I'm using PHP 7.0 from ppa:ondrej/php on Ubuntu 14.04. I'm interacting with an API and would like to ensure that my PHP/CURL code is interacting with the right server and securely (without any risk of ...
2
votes
1
answer
1k
views
How can I wait until a web server is ready before launching a script
I've gotten close to this working but I can't seem to get the script to end once successful. It simply repeats.
For testing purposes, I'm just looking to display a dialog when the URL contains the ...
2
votes
1
answer
794
views
Laravel CLI cUrl Error on Ubuntu 14.04.3 LTS
I have already installed the nginx, MySQL, HHVM and Composer, everything is working, so I installed the Laravel CLI to run laravel new blog from the terminal but when I run it i get this error:
...
2
votes
0
answers
2k
views
fresh install, python-software-properties unmet dependencies
attention: This might be more a question for "gis.stackexchange" but it is Ubuntu-related
Geonode 2.0 is available for Ubuntu 12.04 but not for Ubuntu 14.04. According to the docs it should be ...
1
vote
0
answers
126
views
NVM not start downloading, fails download after sometimes
recently i have installed Ubuntu 20.04.6 LTS x86_64
when i hit the command curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash it does not start downloading, it just ...
1
vote
1
answer
693
views
Unable to update or install *anything* because of curl conflict
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-60-generic (64-bit)
I can't upgrade from Discover or from the terminal. I get the following error(s)...
1
vote
3
answers
2k
views
post upgrade to Ubuntu 22.04 - curl error - libldap_r-2.4.so.2 cannot open shared object file
After upgrading to Ubuntu 22.04 when I run the curl command it's giving this error:
/usr/bin/curl: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such ...
1
vote
0
answers
153
views
How to install curl without removing kodi?
I'm running Ubuntu 18.04.6 LTS.
When I run:
sudo apt update
sudo apt install curl
I get:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following ...
1
vote
0
answers
889
views
curl: symbol lookup error
I'm having problems installing curl on a laptop running Ubuntu 20.04.
I simply run
sudo apt install curl
And it all seemed to work:
Reading package lists... Done
Building dependency tree
...
1
vote
0
answers
1k
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 ...
1
vote
0
answers
418
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 ...
1
vote
0
answers
125
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 ...
1
vote
0
answers
1k
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 ...
1
vote
0
answers
4k
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 ...
1
vote
0
answers
1k
views
Trying to install volta.sh package library
I am trying to install volta.sh package library from which I wish to install Node.js and npm in Ubuntu 20.04 LTS. I tried:
curl https://get.volta.sh | bash
and got the error:
curl: (6) Could not ...
1
vote
1
answer
3k
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
[...
1
vote
0
answers
762
views
How to get "Copy as cURL" in the terminal?
In the web browser, there is "Web Developer" mode aka "Inspect Elements, also there is 'Network' tab in the Developer Mode, for monitoring webpage loading time for each file.
I can also ...
1
vote
1
answer
75
views
Why does cURL think I am downloading something?
Here is what my curl command looks like:
curl -d "$(curl localhost:8080/fetchStrs)" localhost:8080/uppercase,toChars -H "Content-Type: application/json"
I expected to get back:
["T","E","S","T","1",...
1
vote
0
answers
267
views
How can I query a PHP script with curl through a Proxy?
I like to build a Proxy checker with a self hosted PHP backend. While testing I found this Proxy: 207.154.231.211:8080 that shows a strange behaviour.
It is possible to reach similar services like: ...
1
vote
1
answer
8k
views
OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to storage.googleapis.com:443
I've been trying to install minikube on my Ubuntu machine as per this post.
But whenever I try to run...
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-...
1
vote
0
answers
776
views
Curl, git, other commands hang while trying to download file
Currently on Ubuntu 18.04.12, when I try to download something from the terminal, or push to git or any similar command it always hangs on the download either indefinitely or for a very long time. ...
1
vote
1
answer
4k
views
Showing <urlopen error [Errno 111] Connection refused> not able to use localhost for multiple applications!
I have been unable to install a number of applications including anaconda and druid on my ubuntu 16.04 system because whenever they try to open a url using localhost it flashes a message:
urlopen ...
1
vote
0
answers
1k
views
Ubuntu/CURL not recognizing PositiveSSL certificate?
I'm using Ubuntu 18.04
I'm trying to access a file on another server using CURL. The other server has a Commodo/PositiveSSL certificate, and CURL reports that: curl: (60) SSL certificate problem: ...
1
vote
1
answer
215
views
cannot install mssql on ubuntu
telecast@telecast-PowerEdge-R210-II:~$ sudo curl -o /etc/apt/sources.list.d/mssql-server.list https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2017.list
% Total % Received % Xferd ...
1
vote
0
answers
841
views
Local cURL Not Working on www Subdomain, Ubuntu 18.04, GCE
I have a VPS on GCE running WordPress and Nginx under Ubuntu 18.04.
When I $ curl -v majlovesreg.one it returns okay. But when I add www, $ curl -v www.majlovesreg.one within the server it throws ...
1
vote
0
answers
1k
views
curl returns (7) ["Failed to connect"] but although configured with --retry 100, it does not retry
I try to download a file from server using curl command. The command usually ends successfully but I wanted to check if it can handle errors the way I intended, so I added:
--retry 10 --retry-delay ...
1
vote
0
answers
3k
views
"Could not resolve host: github.com" when trying to get Julia packages
I'm sorry if I'm noob on computer science but I am with a few problems when trying to download packages for Julia language. I have installed the version 0.6 on a Ubuntu 16.04.3 and I can reach into ...
1
vote
0
answers
904
views
curl and wget not working with https sites after upgrade to ubuntu 18.04.1
Seems to be a openssl related issue. Anyone have any ideas as to what this is?
Note that the url works in a browser.
With wget:
# wget -d https://deb.nodesource.com/setup_8.x
DEBUG output created ...
1
vote
1
answer
2k
views
Curl for file download via POST
I use curl to send POST data, and expect to get a zip file back. The curl POST command seems to execute Ok, and I can see that the server tries to send the zip file (dataset.zip) as an attachment, ...
1
vote
0
answers
120
views
A large download is causing my server to completely crash. Why is this happening and how do I fix this?
I recently got a VPS Ubuntu server. It only has 1GB of RAM but the reason why I got it is that it has gigabit so I'm using it as a quick downloader and then Dropbox uploader.
I've been trying to ...
1
vote
1
answer
20k
views
curl: (7) Failed to connect to 127.0.0.1 port 5000: Connection refused when using Flask
I am following the Udacity course here: https://classroom.udacity.com/courses/ud388/lessons/4628431284/concepts/53174719510923
I am trying to run their python program using Flask. I started vagrant ...
1
vote
1
answer
10k
views
Keep getting error "Call to undefined function curl_init()"
I'm using PHP 5.6. I've already installed curl using the following commands:
sudo apt-get install php-curl
sudo apt-get install php5-curl
But even still, I keep getting the error:
Call to ...
1
vote
0
answers
2k
views
Codeblocks error undefined reference to curl_global_ in C++
I new to the web application of c++ and trying to learn about fetching websites and its contents using curl in c++ . My aim is to create a c++ programe which can parse json data from a website. I am ...
1
vote
0
answers
262
views
nodejs 6 installation shows version 0.10.25
I am trying to install the nodejs 6 version :
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
First of all , it returns me an error:
env: -E: No such ...
1
vote
0
answers
917
views
A mystic curl error on Ubuntu
I do have a mystic error:
CMake Error : downloading '' failed
status_code: 1
status_string: "Unsupported protocol"
log: Protocol "https" not supported or disabled in libcurl
Closing ...
1
vote
1
answer
3k
views
Crontab not executing script with cURL
I have a cron that's set to run every ten minutes that works fine if I execute the file manually by entering
php register.php
But, my cron will not execute this file once it includes anything cURL ...
1
vote
0
answers
2k
views
cURL - 404 error when trying to POST a file
Forgive my Linux n00bishness, I'm only just starting out! I'm trying to POST a file to a Windows web listener using cURL but am receiving an error that I haven't been able to find an explanation for ...
1
vote
2
answers
2k
views
Multiple versions of Libcurl?
Is it possible to have multiple versions of libcurl installed in Ubuntu?
For instance, suppose I have version 1.0 installed, and I download version 1.1, and install it. Is there anyway to keep ...
1
vote
1
answer
6k
views
How can I install both curl (depending on libcurl4) and mongodb (depending on libcurl3)?
On Lubuntu 18.04, I have installed mongodb, by following https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/#install-mongodb-community-edition
sudo apt install -y mongodb-org mongodb-...
0
votes
0
answers
294
views
cURL reporting self-signed cert is not valid
I am trying to use some tools to manage various devices, and found that I can no longer connect to anything running a webserver.
Some troubleshooting later found cURL kicking this error.
curl: (60) ...
0
votes
0
answers
3k
views
curl error 60 (SSL: no alternative certificate subject name matches target host name...)
i have a curl error 60 (SSL: no alternative certificate subject name matches target host name...) I saw in a previous topic that it would be fixed in curl 7.81, but I'm running with 8.2.1... I tried ...
0
votes
1
answer
443
views
Trying to install Brave, "Curl: (23) Failure writting output to destination"
Just installed Ubuntu, I am a total newbie, I tried installing brave via the official installation instructions for installing Brave on Ubuntu (and Mint and Debian) here: https://brave.com/linux/
But ...
0
votes
0
answers
1k
views
Bash: call a URL with lots of query parameters
I make a GET call to an API in my bash script, which lets me specify an array of query parameters (e.g. items). So far I have successfully used curl as follows:
curl "https://my-fancy-api.com/api/...
0
votes
0
answers
559
views
Curl errors on fresh 22.04 install
Fresh install of 22.04 curl works very sporadically when attempting to access secure sites. Sometimes it works but most times I get either an error 35 or 60. Installed our company root and ...
0
votes
0
answers
114
views
Curl 35 error when try to install plugins
Im trying to install some plugins in wordpress on Ubuntu 22.04 vps but I get ssl errors for some plugins
Downloading installation package from https://roadthemes.com/plugins/mega_main_menu.zip…
...
0
votes
0
answers
578
views
curl to localhost fails in 20.04
I have host machine 20.04 and guest VM box 22.04
I am trying to run the curl command and on both machine getting the same error.
Host running this:
sudo ufw status
Status: active
To ...