Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [curl]

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

0
votes
1answer
66 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
0answers
40 views

installing libcurl4 removes R packages

executing: apt install -y libcurl4 curl removes the following packages: Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt: libblas-dev libblas3 libbz2-dev libjpeg-...
0
votes
1answer
43 views

Ubuntu 18.04 curl returns SSL_ERROR_SYSCALL

This all works just fine in 16.04. I am running the same setup in 18.04, cntlm running as my proxy, ca-certificates updated with the corporate root cert. Chrome, Firefox, wget, etc work with https ...
1
vote
1answer
73 views

Cannot enable php-curl on Ubuntu 18.04 & PHP 7.2

So right now, i am attempting to enable php-curl within my apache2 server on Ubuntu 18.04 to allow an iframe to display an external site page. i have been using methods to attempt this that i have ...
1
vote
1answer
35 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 ...
0
votes
0answers
22 views

Can't install mssql-server in 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 ...
0
votes
0answers
22 views

CURL. Server certificate verification failed

I hope you can receive your valuable help to decipher the error in the verification of my certificate of the following image: Message about SSL That message I get after making a request through curl ...
0
votes
0answers
13 views

Unable to install libcurl4 [duplicate]

I am trying to install libcurl4 which is required to install HeaSoft package. However it seems not to locate the package and gives the following error: $ sudo apt-get install libcurl4 -y Reading ...
0
votes
3answers
71 views

curl, sh, what do those commands mean?

I've been wandering in the web and saw this about how to install atom, the new text editor: $ curl -sL https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add - $ sudo sh -c 'echo "deb [...
0
votes
0answers
47 views

Curl permission denied when accessing IPv6 (AppArmor?)

I'm using Ubuntu 18.04 (server edition) and trying to access a port with curl in IPv6 curl -k -v http://\[2a02:810d...<snip>\]:32400 * Rebuilt URL to: http://[2a02:810d...<snip>]:32400/ ...
1
vote
0answers
88 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 ...
0
votes
0answers
25 views

Curl link for cudann download

So previously, I was using this link to download cudann 7.0.5 using the curl command. However, I know need a slightly newer version and I found the link: But I'm not able to download this link using ...
0
votes
0answers
59 views

How to upload files to sftp-server with public key via terminal on ubuntu 18.04?

i´m an ubuntu beginner and i´d like to upload a .csv file to an sftp-folder on a remote machine every night via cronjob. Because i´m building the csv with R, i thought of uploading the file with the ...
0
votes
1answer
213 views

How to debug curl access denied?

I am using curl to search artifacts from Artifactory, like this: curl -s -u user:passwd http://artifactory:8081/artifactory/api/search/gavc?a=8710&v=REL-0041-20181219.003944-userdebug&c=...
2
votes
1answer
338 views

“curl : Depends: libcurl4 (= 7.61.0-1ubuntu2.2) but it is not going to be installed” on Ubuntu 18.10 with PHP 7.2.10

I am struggling with installing cURL module in Ubuntu 18.10. While upgrading from 17.10 to 18.10 cURL was removed/deleted. Now when I try to execute the command sudo apt-get install php7.2-curl I ...
0
votes
1answer
22 views

cron processing only half of script

script: curl -s http://api.ipify.org > ~/ip.txt && [[ -s ~/ip.txt ]] && ip=$(cat ip.txt) && echo $ip > ~/newIP.txt || echo WAN IP is blank: curl, latency or internet ...
1
vote
1answer
122 views

Stuck trying to install libcurl4

I somehow got myself in a screwy situation on Ubuntu 18.04 where I have libcurl3 installed, something tried to install libcurl4, and now I'm stuck in a situation where Ubuntu can't install libcurl4 ...
0
votes
2answers
615 views

cURL not Working after 18.04 Upgrade

I recently updated the system to 18.04 and it has hosed cURL. 18.04 installed PHP 7.2 but my nginx installation is using 7.1 FPM. When I run a phpinfo() from the web server, it shows the system ...
0
votes
1answer
235 views

Ubuntu 16.04.5 LTS: problem installing curl

I'm starting on a fresh Ubuntu 16.04.5 LTS desktop installation, but can't install curl: student@laptop:~/osm-install$ sudo apt install curl Reading package lists... Done Building dependency tree ...
1
vote
0answers
333 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 ...
0
votes
1answer
1k 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-...
0
votes
1answer
353 views

how to get curl -X POST command to output the http status 200 or else?

I run several times this command curl -X POST \ -H "X-Primotexto-ApiKey: 784155ceed9d0a4d1ffdb67466" \ -H "Content-Type: application/json" \ -d "$fragment" \ https://...
1
vote
0answers
176 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 ...
0
votes
0answers
144 views

CURL error 28 on Ubuntu Server using mgp25/Instagram-API

I'm using mgp25/Instagram-API code in my project, and I keep getting the following error: <b>Fatal error</b>: Uncaught InstagramAPI\Exception\NetworkException: Network: CURL error 28: ...
1
vote
1answer
328 views

curl: (1) Protocol “'smtps” not supported or disabled in libcurl - I've tried the common solutions

Having issues connecting to a SMTP server with curl. The script I am running has worked on other hosts so its an issue with curl. Ubuntu version 16.04 (xenial). The pre installed curl version was 7....
0
votes
0answers
497 views

curl: (35) gnutls_handshake() failed: Error in the push function

you can help me with installing sdkman. When I enter the console "curl -s "https://get.sdkman.io" | bash", nothing happens ... I tried "curl -sv "https://get.sdkman.io" | bash" Rebuilt URL to: ...
0
votes
0answers
139 views

Cannot make install libcurl on Ubuntu 16.04.4 LTS

I am attempting to install libcurl from source on an Ubuntu server, OS version 16.04.4 LTS. I am using gcc 8.1. Here is the configuration script I used: curl version: 7.61.1 1234 Install ...
1
vote
1answer
2k views

Ubuntu 16.04 openssl s_client write:errno=104

I'm getting the following error when trying to connect to github.com, google.com, dropbox.com via https, but stackoverflow.com, askubuntu.com and the majority of https websites work. Relevant details:...
0
votes
0answers
655 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 ...
0
votes
0answers
82 views

Connection timed out installing curl

When I try to install curl using sudo apt-get install curl it shows following error Reading package lists... Done Building dependency tree Reading state information... Done The ...
1
vote
0answers
237 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 ...
4
votes
4answers
4k views

How to set variable in the curl command in bash?

I have a bash file: #!/bin/bash # yesnobox.sh - An inputbox demon shell script OUTPUT="/tmp/input.txt" # create empty file >$OUTPUT # cleanup - add a trap that will remove $OUTPUT # if any of ...
2
votes
1answer
658 views

why wget does not use userName and password in URL first time

Below is the command and response of wget, It first time does not use provided userName and password and get 401, later it uses the auth and gets 200. This works well with curl but same thing happens ...
0
votes
0answers
100 views

curl (56) when TLS is enabled

I have 2 clients I'm using to fetch files from 2 different Servers using curl. The command I use is this (IP differs between the servers): curl -s -S --stderr err_log -k --user U:1 -o pkg.tgz --...
0
votes
0answers
1k 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
1answer
270 views

Apache phpinfo missing cURL and XDebug after upgrade

I just upgraded to Ubuntu 18.04.1 LTS and went to check on my local apache2 installation by adding phpinfo() to an index file. After update/reboot, I went to my local WordPress Admin area and ...
0
votes
2answers
153 views

Weird text when downloading Anaconda

I was following this link to install anaconda in Ubuntu 18.04.1: https://www.digitalocean.com/community/tutorials/how-to-install-the-anaconda-python-distribution-on-ubuntu-18-04 When I tried to ...
2
votes
1answer
379 views

Curl & libcurl3 held back, possibly by .net core

When I try to upgrade my packages, I receive a message that curl and libcurl3 have been kept back. I did not do this myself. Referring to "The following packages have been kept back:" Why ...
0
votes
0answers
476 views

Unmet dependencies when trying to installing php-curl on ubuntu 18.04

This all started with the error PHP Fatal error: Uncaught Error: Call to undefined function curl_init() So i tried following to install php-curl and got a dependency error $ php -v PHP 7.2.5-...
0
votes
1answer
5k views

curl command not executing via shell script in bash

I'm learning shell scripting! For the same I've tried downloading the TCGA genome data using curl on ubuntu (Ubuntu 16.04.3 LTS) terminal. sh. content #!/bin/sh echo /0c8a6022-b770-4a83-bac3-...
4
votes
2answers
415 views

The GUI browsers (such as FIrefox) can open a URL but curl timesout

The problem showed itself when I executed apt-get update and it failed when trying to update gitlab-ce repository with following error (although it just did work about a month ago): W: Failed to ...
1
vote
2answers
892 views

Can't install docker, ca problems with curl

I am trying install docker from there instructions: https://linuxconfig.org/how-to-install-docker-on-ubuntu-18-04-bionic-beaver I am running the command: $ sudo curl -fsSL https://download.docker....
1
vote
0answers
2k views

Elastic search curl -X GET “localhost:9200/” Connection Refused

I have followed the instructions at https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html to install elasticsearch on a clean install of Ubuntu Server 16.04. I have run the ...
0
votes
0answers
228 views

curl fails sending file towards a FTPS

Trying to send "test_file" to FTPS server. curl -v -k --ftp-ssl --tlsv1 --ftp-ssl-reqd --ftp-pasv --key key_nopass.pem --cert client.pem --user 'user:pass' --upload-file test_file ftp://Ftps.example....
-1
votes
1answer
2k views

Update Curl on Ubuntu 14.04.3

I am updating curl from 7.35.0 to 7.60.0 on an ubuntu 14.04.3 server. Followed the steps here https://gist.github.com/fideloper/f72997d2e2c9fbe66459 sudo apt-get build-dep curl mkdir ~/curl cd ~/...
8
votes
3answers
4k views

Unable to install R packages in Ubuntu 18.04

Issue Unable to install a few R packages (statistical programming language) since updating from 16.04 to Ubuntu 18.04. The problem is related to the use of the shared library libcurl. More precisely:...
1
vote
1answer
761 views

`curl -O` stores an empty file though `wget` works well

I have tried to download a file from https://logz.io/sample-data. curl -O https://logz.io/sample-data However, it just returns an empty file named sample-data. In contrast to curl, however, wget ...
0
votes
1answer
652 views

PHP7.0-curl and MSSQL Tools Incompatibility

I'm trying to install Moodle on Ubuntu 18.04 and connect it to a MSSQL server. But when i try to install php7.0-curl extension, so moodle can work, the MSSQL Tools and other libs are being deleted ...
0
votes
0answers
226 views

Cant update Gradle

First of all i download default gradle v3.4.1 from oficial repository and it works. Now i want to upgrade to 4.7. I try to do it by installing SDKMAN by this command curl -s "https://get.sdkman.io" ...
0
votes
1answer
918 views

curl cannot connect to HTTPS sites in 18.04

I recently upgrade to 18.04 from 17.10, and now curl and various other programs no longer connect to HTTPS sites. Here's an example curl invocation: $ curl -v https://httpbin.org/get * Trying 52.3....