LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-22-2019, 09:23 PM   #1
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
SSL error on one system, no error on another - how to find the cause?


My goal is to install Devstack from its Git repo. Ubuntu 18.04 is recommended as the best platform for Devstack, but cloning the repo fails on my two 18.04 servers. It succeeds on other servers, Fedora 28 and Ubuntu 16.04. The problem seems to be related to SSL, which I am not that familiar with. What steps do you suggest?

Details:

On Ubuntu 18.04, running in a KVM VM on a bridged network:
Code:
$ curl  https://opendev.org/openstack/devstack.git
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to opendev.org:443
On Ubuntu 16.04, running in a KVM VM on the same VM host and the same bridged network:
Code:
$ curl  https://opendev.org/openstack/devstack.git 
<!DOCTYPE html>
<html lang="en-US">
<head data-suburl="">
... etc ...
ping proves that both servers have connectivity to opendev.org. Strangely, the 18.04 server seems to have no problems with other https web sites; only with opendev.org.

Both servers have just been installed from an ISO plus apt upgrade. Here is my 18.04 netplan configuration:
Code:
$ cat /etc/netplan/10-network.yaml
network:
  version: 2
  renderer: networkd
  ethernets:
    ens3:
      addresses:
        - 192.168.1.200/24
      gateway4: 192.168.1.1
      nameservers:
          search: [home]
          addresses: [192.168.1.16, 1.1.1.1]
By the way, I have another 18.04 VM, this one running on VirtualBox on a Windows PC; it is also unable to clone the git repo. Same symptoms.

Last edited by berndbausch; 07-22-2019 at 09:26 PM.
 
Old 07-23-2019, 03:47 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,726

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Check/compare the curl configurations, perhaps? Just a guess.
 
Old 07-23-2019, 10:54 PM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Original Poster
Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Thanks Sean. It's not just curl; also the git clone command is unable to get data from that site.

Or rather, was unable. This morning it works. Must have been a glitch on that site that only affected Ubuntu 18.04. Rather than attempting to understand an old problem that solved itself, I will just clone my Git repo and move on.

Meanwhile, I learned that curl has a -v option, which can be useful, and that openssl s_client -connect opendev.org:443 is another option to troubleshoot access to HTTPS sites.

Last edited by berndbausch; 07-23-2019 at 10:55 PM. Reason: corrected openssl invocation
 
  


Reply

Tags
bionic netplan https



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: FREAK: Another day, another serious SSL security hole LXer Syndicated Linux News 0 03-04-2015 10:20 AM
[SOLVED] Error on SVN checkout: SSL handshake failed: SSL error: Key usage violation in certif jsaravana87 Linux - Server 3 05-07-2012 10:00 AM
How do i find SSL enabled ports or SSL instances Doknik Linux - Software 1 12-10-2011 03:29 AM
[SOLVED] C/C++ - Shared array accessed without locking, will one cause problems for another? golmschenk Programming 3 11-04-2010 01:23 PM
How to find cause of system locking up? Arodef Linux - General 3 05-04-2006 09:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration