Questions tagged [curl]

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

92 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
1answer
13k views

16.04 - curl: (35) gnutls_handshake() failed: Error in the pull function

When trying to connect to a HTTPS websites, I get this error curl: (35) gnutls_handshake() failed: Error in the pull function.. In detail: curl -vvv "https://example.tld" * Rebuilt URL to: https://...
3
votes
1answer
514 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" "...
3
votes
0answers
717 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 ...
2
votes
0answers
431 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
1answer
545 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
1answer
621 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
0answers
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
1answer
30 views

How to get curl verbose output without the TLS negotiation?

Is there a curl option producing everything like -v except for the TLS negotiation? I need both the input and output headers, but don't care about TLS as I know it works.
1
vote
0answers
44 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
1answer
1k views

Installing curl on Ubuntu 18.04 uninstall libcurl3

Trying to install curl on my Ubuntu 18.04 requires me to remove some stuff that other software in my system needs to run. To be able to install curl from apt install curl I had to do this: aptitude ...
1
vote
1answer
429 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
0answers
367 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
1answer
4k views

curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version /home/mohan/mesg

When I am running the following command: bash <(curl -fsSL https://mesg.com/install) , I am getting this error: curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol ...
1
vote
1answer
101 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
0answers
421 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
0answers
1k 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 ...
1
vote
1answer
4k views

Unable to locate package brave-browser on Ubuntu 18.04.1 LTS (lubuntu)

Trying to install the Brave web browser, I ultimately arrive at the error, "Unable to locate package brave-browser". How should I proceed? Here is my LXTerminal output: username@username-Latitude-...
1
vote
0answers
535 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
0answers
2k 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
0answers
554 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
1answer
3k 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-...
1
vote
0answers
1k views

Difference between curl and aria2?

What is the difference between curl and aria2? This post describes it as download engines, but does not elaborate further. Also, how would I know which of them would be faster?
1
vote
0answers
277 views

empty curl-config --ca

I'm having a problem using curl. Apparently, the problem is that curl-config --ca returns an empty line. What I have tried is to set CURL_CA_BUNDLE environment variable but this and try to execute ...
1
vote
0answers
53 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
1answer
9k 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
1answer
7k 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
0answers
1k 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
0answers
791 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
1answer
2k 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
0answers
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
2answers
1k 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
1answer
196 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 ...
0
votes
1answer
17 views

wget or curl gives 403:Forbidden while downloading file from OneDrive for business

I'm trying to download software for a client which resides in my bussiness OneDrive account. Through the webinterface of OneDrive I do: Right click the file and select Share List item Change the ...
0
votes
0answers
16 views

Encountering issues when trying to install Curl

I'm running an Ubuntu 18.04 server with PHP 7.3.9. I'm trying to install Curl on my server, primarily so that sites can communicate with Mailchimp. Doing so gives this error: Building dependency ...
0
votes
0answers
25 views

create email alert at output of Curl command

can you please help me here with idea how can I generate email alert when the curl command doesn't run successfully and generate error. like below. curl -i --header "Content-Type: application/json" ...
0
votes
0answers
58 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-...
0
votes
0answers
22 views

Curl http2 support does not install any more

I didn't have problems with installing curl http2 support before. I used this code: apt-get update sudo apt-get install build-essential nghttp2 libnghttp2-dev libssl-dev wget https://curl.haxx.se/...
0
votes
0answers
54 views

wget & curl are unable to download but aria2c is able? why?

I'm trying to retrieve the content-length of a file by using below commands, they are all OK, but for this file which belongs to an online store in Iran: https://www.digikala.com/mag/wp-content/...
0
votes
0answers
119 views

Sending base64 encoded images using curl

I'm trying to send data and an image that is base64 encoded in a curl command, and I need to know how to do that. It's not a multi-part form. It's just a simple base64 encoded picture or PDF as a form ...
0
votes
2answers
409 views

Can't use ftp to transfer a file - permission denied

I'm using Ubuntu and I would like to have a script that once a day transfer my mysql database from my local hard drive to my ftp server (provider is Aruba). I'm correctly able to connect via FTP and ...
0
votes
0answers
60 views

Download with curl

I am trying to download the .mat files from the pages below with the following script: !for url in `curl -s csegroups.case.edu/bearingdatacenter/pages/12k-drive-end-bearing-fault-data |grep mat |grep ...
0
votes
0answers
22 views

not sure about proxy is working or not

I have recently configured proxy setting in ubuntu. but i have a doubt that it is not working as per expectation. 1-when i execute the command sudo apt-get update it shows enter image description ...
0
votes
0answers
139 views

Problem access to google.com with curl in fresh install

I've installed a fresh system with using boot PXE and preseed. The installation works perfectly. But, when we tried to access https://www.google.com with curl or wget, we getting an error : # curl ...
0
votes
1answer
617 views

How to upload a file using terminal

I am trying to use curl command to upload a text file to my cloud. I have the upload link where I want to upload the file. The command curl --upload-file path/of/file/here https://upload.address.here ...
0
votes
1answer
730 views

CURL not working but ping and nslookup yes working with local DNS server Ubuntu16.04

We are working with Bind server on Ubuntu 16.04. We are unable to curl because DNS resolution but ping and nslookup are working from Ubuntu16.04 client. Client - ping: root@app-01:~# ping -c1 ...
0
votes
0answers
1k views

Failed to fetch curl when trying to install, 404 Not Found

Attempting to revert a Chromebox with Windows 10 on it back to ChromeOS, using Ubuntu on a live boot to run a custom script to update the firmware. Basically, in order to run this command: cd ~; curl ...
0
votes
0answers
62 views

how to fix curl removing other dependencies?

I wanted to install node js on Ubuntu 18.04. I did from the official repository. sudo apt install nodejs npm. Then found the version is 8. So I wanted to update it following the official doc. curl ...
0
votes
0answers
209 views

Download HTML/text only from from web page (excluding images and JavaScript)

Is there any command I can use to download only the HTML/text within the page and exclude all images and scripts within the page? I am thinking the downloaded page should display only text like what ...
0
votes
0answers
32 views

Performing a proxy check with cURL

I want to print a proxy check using cURL. Kind of like checking an IP or hostname with cURL: curl ipinfo.io/ip 1.2.3.4 Im looking to perform the same thing except i want it to show me if im using a ...
0
votes
0answers
110 views

curl - Doesn't work within a proxy - 307 - Authorization Required

I'm trying to use curl inside a proxy. I read over the curl docs and some answers here in askUbuntu but didn't solve my problem. I'm trying to use this specific command with curl: curl -x http://10....