talk@lists.collectionspace.org

WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org

View all threads

Collection Space Automated Installer -- Connection refused

DC
Davy, Clifford (StateGrowth)
Tue, May 14, 2019 3:21 AM

Hello,

I am trying to use the Collection Space automated installer (on Ubuntu 18.04.2 LTS).
I am, though, getting a connection refused message.

[mymachine]:~$ wget https://raw.githubusercontent.com/cspace-puppet/cspace_puppet_bootstrap/v5.1-branch/scripts/bootstrap-cspace-modules.sh
--2019-05-14 10:10:39--  https://raw.githubusercontent.com/cspace-puppet/cspace_puppet_bootstrap/v5.1-branch/scripts/bootstrap-cspace-modules.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.80.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.80.133|:443... failed: Connection refused.
[mymachine]:~$ curl --remote-name --location https://raw.githubusercontent.com/cspace-puppet/cspace_puppet_bootstrap/v5.1-branch/scripts/bootstrap-cspace-modules.sh
% Total    % Received % Xferd  Average Speed  Time    Time    Time  Current
Dload  Upload  Total  Spent    Left  Speed
0    0    0    0    0    0      0      0 --:--:-- --:--:-- --:--:--    0curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

I believe my proxy is set up correctly.

I suspect that I need to add "https://raw.githubusercontent.com/cspace-puppet/" to my sources list(?).
That might be done like this:

apt-add-repository https://raw.githubusercontent.com/cspace-puppet/

But, by default, that will be rejected as something that updating cannot be done from securely.
To get around this problem, are there any keys that I can add?
If so, where can I find them?

Or, is there something else that I am doing incorrectly here?

Regards,
Clifford Davy.

Clifford Davy |  Collection Systems Support
Tasmanian Museum and Art Gallery  |  Department of State Growth
5 Winkleigh Place, Rosny TAS 7018  | GPO Box 1164, Hobart TAS 7001
Ph (03) 6165 6903  |  clifford.davy@tmag.tas.gov.aumailto:clifford.davy@tmag.tas.gov.au
www.tmag.tas.gov.auhttp://www.tmag.tas.gov.au/  |  Facebookhttps://www.facebook.com/tasmuseum  |  Twitterhttp://twitter.com/tasmuseum

[cid:image002.jpg@01D50644.E5619CA0]https://www.givenow.com.au/tmagannualappeal


CONFIDENTIALITY NOTICE AND DISCLAIMER
The information in this transmission may be confidential and/or protected by legal professional privilege, and is intended only for the person or persons to whom it is addressed. If you are not such a person, you are warned that any disclosure, copying or dissemination of the information is unauthorised. If you have received the transmission in error, please immediately contact this office by telephone, fax or email, to inform us of the error and to enable arrangements to be made for the destruction of the transmission, or its return at our cost. No liability is accepted for any unauthorised use of the information contained in this transmission.

Hello, I am trying to use the Collection Space automated installer (on Ubuntu 18.04.2 LTS). I am, though, getting a connection refused message. [mymachine]:~$ wget https://raw.githubusercontent.com/cspace-puppet/cspace_puppet_bootstrap/v5.1-branch/scripts/bootstrap-cspace-modules.sh --2019-05-14 10:10:39-- https://raw.githubusercontent.com/cspace-puppet/cspace_puppet_bootstrap/v5.1-branch/scripts/bootstrap-cspace-modules.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.80.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.80.133|:443... failed: Connection refused. [mymachine]:~$ curl --remote-name --location https://raw.githubusercontent.com/cspace-puppet/cspace_puppet_bootstrap/v5.1-branch/scripts/bootstrap-cspace-modules.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused I believe my proxy is set up correctly. I suspect that I need to add "https://raw.githubusercontent.com/cspace-puppet/" to my sources list(?). That might be done like this: apt-add-repository https://raw.githubusercontent.com/cspace-puppet/ But, by default, that will be rejected as something that updating cannot be done from securely. To get around this problem, are there any keys that I can add? If so, where can I find them? Or, is there something else that I am doing incorrectly here? Regards, Clifford Davy. Clifford Davy | Collection Systems Support Tasmanian Museum and Art Gallery | Department of State Growth 5 Winkleigh Place, Rosny TAS 7018 | GPO Box 1164, Hobart TAS 7001 Ph (03) 6165 6903 | clifford.davy@tmag.tas.gov.au<mailto:clifford.davy@tmag.tas.gov.au> www.tmag.tas.gov.au<http://www.tmag.tas.gov.au/> | Facebook<https://www.facebook.com/tasmuseum> | Twitter<http://twitter.com/tasmuseum> [cid:image002.jpg@01D50644.E5619CA0]<https://www.givenow.com.au/tmagannualappeal> ________________________________ CONFIDENTIALITY NOTICE AND DISCLAIMER The information in this transmission may be confidential and/or protected by legal professional privilege, and is intended only for the person or persons to whom it is addressed. If you are not such a person, you are warned that any disclosure, copying or dissemination of the information is unauthorised. If you have received the transmission in error, please immediately contact this office by telephone, fax or email, to inform us of the error and to enable arrangements to be made for the destruction of the transmission, or its return at our cost. No liability is accepted for any unauthorised use of the information contained in this transmission.
RL
Ray Lee
Mon, May 20, 2019 7:47 PM

Hi Clifford,
I don't think apt is involved here. At this point, it looks like the installer is trying to download a shell script from GitHub via https, so that it can execute it in bash.

I'm able to retrieve https://raw.githubusercontent.com/cspace-puppet/cspace_puppet_bootstrap/v5.1-branch/scripts/bootstrap-cspace-modules.sh in a browser, so the GitHub end seems to be working.

You mention that you're using a proxy. Is it possible the proxy is blocking the connection to https://raw.githubusercontent.com?

Ray


From: Talk talk-bounces@lists.collectionspace.org on behalf of Davy, Clifford (StateGrowth) Clifford.Davy@tmag.tas.gov.au
Sent: Monday, May 13, 2019 8:21:50 PM
To: talk@lists.collectionspace.org
Subject: [Talk] Collection Space Automated Installer -- Connection refused

Hello,

I am trying to use the Collection Space automated installer (on Ubuntu 18.04.2 LTS).
I am, though, getting a connection refused message.

[mymachine]:~$ wget https://raw.githubusercontent.com/cspace-puppet/cspace_puppet_bootstrap/v5.1-branch/scripts/bootstrap-cspace-modules.sh
--2019-05-14 10:10:39--  https://raw.githubusercontent.com/cspace-puppet/cspace_puppet_bootstrap/v5.1-branch/scripts/bootstrap-cspace-modules.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.80.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.80.133|:443... failed: Connection refused.
[mymachine]:~$ curl --remote-name --location https://raw.githubusercontent.com/cspace-puppet/cspace_puppet_bootstrap/v5.1-branch/scripts/bootstrap-cspace-modules.sh
% Total    % Received % Xferd  Average Speed  Time    Time    Time  Current
Dload  Upload  Total  Spent    Left  Speed
0    0    0    0    0    0      0      0 --:--:-- --:--:-- --:--:--    0curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

I believe my proxy is set up correctly.

I suspect that I need to add “https://raw.githubusercontent.com/cspace-puppet/” to my sources list(?).
That might be done like this:

apt-add-repository https://raw.githubusercontent.com/cspace-puppet/

But, by default, that will be rejected as something that updating cannot be done from securely.
To get around this problem, are there any keys that I can add?
If so, where can I find them?

Or, is there something else that I am doing incorrectly here?

Regards,
Clifford Davy.

Clifford Davy |  Collection Systems Support
Tasmanian Museum and Art Gallery  |  Department of State Growth
5 Winkleigh Place, Rosny TAS 7018  | GPO Box 1164, Hobart TAS 7001
Ph (03) 6165 6903  |  clifford.davy@tmag.tas.gov.aumailto:clifford.davy@tmag.tas.gov.au
www.tmag.tas.gov.auhttp://www.tmag.tas.gov.au/  |  Facebookhttps://www.facebook.com/tasmuseum  |  Twitterhttp://twitter.com/tasmuseum

[cid:image002.jpg@01D50644.E5619CA0]https://www.givenow.com.au/tmagannualappeal


CONFIDENTIALITY NOTICE AND DISCLAIMER
The information in this transmission may be confidential and/or protected by legal professional privilege, and is intended only for the person or persons to whom it is addressed. If you are not such a person, you are warned that any disclosure, copying or dissemination of the information is unauthorised. If you have received the transmission in error, please immediately contact this office by telephone, fax or email, to inform us of the error and to enable arrangements to be made for the destruction of the transmission, or its return at our cost. No liability is accepted for any unauthorised use of the information contained in this transmission.

Hi Clifford, I don't think apt is involved here. At this point, it looks like the installer is trying to download a shell script from GitHub via https, so that it can execute it in bash. I'm able to retrieve https://raw.githubusercontent.com/cspace-puppet/cspace_puppet_bootstrap/v5.1-branch/scripts/bootstrap-cspace-modules.sh in a browser, so the GitHub end seems to be working. You mention that you're using a proxy. Is it possible the proxy is blocking the connection to https://raw.githubusercontent.com? Ray ________________________________________ From: Talk <talk-bounces@lists.collectionspace.org> on behalf of Davy, Clifford (StateGrowth) <Clifford.Davy@tmag.tas.gov.au> Sent: Monday, May 13, 2019 8:21:50 PM To: talk@lists.collectionspace.org Subject: [Talk] Collection Space Automated Installer -- Connection refused Hello, I am trying to use the Collection Space automated installer (on Ubuntu 18.04.2 LTS). I am, though, getting a connection refused message. [mymachine]:~$ wget https://raw.githubusercontent.com/cspace-puppet/cspace_puppet_bootstrap/v5.1-branch/scripts/bootstrap-cspace-modules.sh --2019-05-14 10:10:39-- https://raw.githubusercontent.com/cspace-puppet/cspace_puppet_bootstrap/v5.1-branch/scripts/bootstrap-cspace-modules.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.80.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.80.133|:443... failed: Connection refused. [mymachine]:~$ curl --remote-name --location https://raw.githubusercontent.com/cspace-puppet/cspace_puppet_bootstrap/v5.1-branch/scripts/bootstrap-cspace-modules.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused I believe my proxy is set up correctly. I suspect that I need to add “https://raw.githubusercontent.com/cspace-puppet/” to my sources list(?). That might be done like this: apt-add-repository https://raw.githubusercontent.com/cspace-puppet/ But, by default, that will be rejected as something that updating cannot be done from securely. To get around this problem, are there any keys that I can add? If so, where can I find them? Or, is there something else that I am doing incorrectly here? Regards, Clifford Davy. Clifford Davy | Collection Systems Support Tasmanian Museum and Art Gallery | Department of State Growth 5 Winkleigh Place, Rosny TAS 7018 | GPO Box 1164, Hobart TAS 7001 Ph (03) 6165 6903 | clifford.davy@tmag.tas.gov.au<mailto:clifford.davy@tmag.tas.gov.au> www.tmag.tas.gov.au<http://www.tmag.tas.gov.au/> | Facebook<https://www.facebook.com/tasmuseum> | Twitter<http://twitter.com/tasmuseum> [cid:image002.jpg@01D50644.E5619CA0]<https://www.givenow.com.au/tmagannualappeal> ________________________________ CONFIDENTIALITY NOTICE AND DISCLAIMER The information in this transmission may be confidential and/or protected by legal professional privilege, and is intended only for the person or persons to whom it is addressed. If you are not such a person, you are warned that any disclosure, copying or dissemination of the information is unauthorised. If you have received the transmission in error, please immediately contact this office by telephone, fax or email, to inform us of the error and to enable arrangements to be made for the destruction of the transmission, or its return at our cost. No liability is accepted for any unauthorised use of the information contained in this transmission.
DC
Davy, Clifford (StateGrowth)
Mon, May 20, 2019 10:32 PM

Dear Mark and Ray,

Thank you for your replies.

Your comments have prompted me to re-look at my proxy settings, and - indeed - that is where the error lies.

Ubuntu updates were working OK, and the proxy settings for apt (/etc/apt/apt.conf.d/) were as they should be.
But I was foolishly mistaken in thinking that because that worked, other things would too (and, yes, I went quite astray in looking at source files, etc...)
Unfortunately, I had missed a couple of basics: the proxy for wget (/etc/wgetrc), and the broader environment (/etc/environment) as well.
(And that just makes sense, now that I simply look at what the command for the installer is!)
Setting both of those has fixed the problem of accessing the installer.
So, thank you both very much for your time and thoughts.

It looks like some other problems are appearing, now that the installer is running.
Will keep working on that, and let you know if the issues persist...

Regards,
Clifford.

-----Original Message-----
From: Ray Lee [mailto:ray.lee@lyrasis.org]
Sent: Tuesday, 21 May 2019 5:48 AM
To: Davy, Clifford (StateGrowth) Clifford.Davy@tmag.tas.gov.au; talk@lists.collectionspace.org
Subject: Re: Collection Space Automated Installer -- Connection refused

Hi Clifford,
I don't think apt is involved here. At this point, it looks like the installer is trying to download a shell script from GitHub via https, so that it can execute it in bash.

I'm able to retrieve https://raw.githubusercontent.com/cspace-puppet/cspace_puppet_bootstrap/v5.1-branch/scripts/bootstrap-cspace-modules.sh in a browser, so the GitHub end seems to be working.

You mention that you're using a proxy. Is it possible the proxy is blocking the connection to https://raw.githubusercontent.com?

Ray


From: Talk talk-bounces@lists.collectionspace.org on behalf of Davy, Clifford (StateGrowth) Clifford.Davy@tmag.tas.gov.au
Sent: Monday, May 13, 2019 8:21:50 PM
To: talk@lists.collectionspace.org
Subject: [Talk] Collection Space Automated Installer -- Connection refused

Hello,

I am trying to use the Collection Space automated installer (on Ubuntu 18.04.2 LTS).
I am, though, getting a connection refused message.

[mymachine]:~$ wget https://raw.githubusercontent.com/cspace-puppet/cspace_puppet_bootstrap/v5.1-branch/scripts/bootstrap-cspace-modules.sh
--2019-05-14 10:10:39--  https://raw.githubusercontent.com/cspace-puppet/cspace_puppet_bootstrap/v5.1-branch/scripts/bootstrap-cspace-modules.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.80.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.80.133|:443... failed: Connection refused.
[mymachine]:~$ curl --remote-name --location https://raw.githubusercontent.com/cspace-puppet/cspace_puppet_bootstrap/v5.1-branch/scripts/bootstrap-cspace-modules.sh
% Total    % Received % Xferd  Average Speed  Time    Time    Time  Current
Dload  Upload  Total  Spent    Left  Speed
0    0    0    0    0    0      0      0 --:--:-- --:--:-- --:--:--    0curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

I believe my proxy is set up correctly.

I suspect that I need to add "https://raw.githubusercontent.com/cspace-puppet/" to my sources list(?).
That might be done like this:

apt-add-repository https://raw.githubusercontent.com/cspace-puppet/

But, by default, that will be rejected as something that updating cannot be done from securely.
To get around this problem, are there any keys that I can add?
If so, where can I find them?

Or, is there something else that I am doing incorrectly here?

Regards,
Clifford Davy.

Clifford Davy |  Collection Systems Support Tasmanian Museum and Art Gallery  |  Department of State Growth
5 Winkleigh Place, Rosny TAS 7018  | GPO Box 1164, Hobart TAS 7001
Ph (03) 6165 6903  |  clifford.davy@tmag.tas.gov.aumailto:clifford.davy@tmag.tas.gov.au
www.tmag.tas.gov.auhttp://www.tmag.tas.gov.au/  |  Facebookhttps://www.facebook.com/tasmuseum  |  Twitterhttp://twitter.com/tasmuseum

[cid:image002.jpg@01D50644.E5619CA0]https://www.givenow.com.au/tmagannualappeal


CONFIDENTIALITY NOTICE AND DISCLAIMER
The information in this transmission may be confidential and/or protected by legal professional privilege, and is intended only for the person or persons to whom it is addressed. If you are not such a person, you are warned that any disclosure, copying or dissemination of the information is unauthorised. If you have received the transmission in error, please immediately contact this office by telephone, fax or email, to inform us of the error and to enable arrangements to be made for the destruction of the transmission, or its return at our cost. No liability is accepted for any unauthorised use of the information contained in this transmission.


CONFIDENTIALITY NOTICE AND DISCLAIMER
The information in this transmission may be confidential and/or protected by legal professional privilege, and is intended only for the person or persons to whom it is addressed. If you are not such a person, you are warned that any disclosure, copying or dissemination of the information is unauthorised. If you have received the transmission in error, please immediately contact this office by telephone, fax or email, to inform us of the error and to enable arrangements to be made for the destruction of the transmission, or its return at our cost. No liability is accepted for any unauthorised use of the information contained in this transmission.

Dear Mark and Ray, Thank you for your replies. Your comments have prompted me to re-look at my proxy settings, and - indeed - that is where the error lies. Ubuntu updates were working OK, and the proxy settings for apt (/etc/apt/apt.conf.d/) were as they should be. But I was foolishly mistaken in thinking that because that worked, other things would too (and, yes, I went quite astray in looking at source files, etc...) Unfortunately, I had missed a couple of basics: the proxy for wget (/etc/wgetrc), and the broader environment (/etc/environment) as well. (And that just makes sense, now that I simply look at what the command for the installer is!) Setting both of those has fixed the problem of accessing the installer. So, thank you both very much for your time and thoughts. It looks like some other problems are appearing, now that the installer is running. Will keep working on that, and let you know if the issues persist... Regards, Clifford. -----Original Message----- From: Ray Lee [mailto:ray.lee@lyrasis.org] Sent: Tuesday, 21 May 2019 5:48 AM To: Davy, Clifford (StateGrowth) <Clifford.Davy@tmag.tas.gov.au>; talk@lists.collectionspace.org Subject: Re: Collection Space Automated Installer -- Connection refused Hi Clifford, I don't think apt is involved here. At this point, it looks like the installer is trying to download a shell script from GitHub via https, so that it can execute it in bash. I'm able to retrieve https://raw.githubusercontent.com/cspace-puppet/cspace_puppet_bootstrap/v5.1-branch/scripts/bootstrap-cspace-modules.sh in a browser, so the GitHub end seems to be working. You mention that you're using a proxy. Is it possible the proxy is blocking the connection to https://raw.githubusercontent.com? Ray ________________________________________ From: Talk <talk-bounces@lists.collectionspace.org> on behalf of Davy, Clifford (StateGrowth) <Clifford.Davy@tmag.tas.gov.au> Sent: Monday, May 13, 2019 8:21:50 PM To: talk@lists.collectionspace.org Subject: [Talk] Collection Space Automated Installer -- Connection refused Hello, I am trying to use the Collection Space automated installer (on Ubuntu 18.04.2 LTS). I am, though, getting a connection refused message. [mymachine]:~$ wget https://raw.githubusercontent.com/cspace-puppet/cspace_puppet_bootstrap/v5.1-branch/scripts/bootstrap-cspace-modules.sh --2019-05-14 10:10:39-- https://raw.githubusercontent.com/cspace-puppet/cspace_puppet_bootstrap/v5.1-branch/scripts/bootstrap-cspace-modules.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.80.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.80.133|:443... failed: Connection refused. [mymachine]:~$ curl --remote-name --location https://raw.githubusercontent.com/cspace-puppet/cspace_puppet_bootstrap/v5.1-branch/scripts/bootstrap-cspace-modules.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused I believe my proxy is set up correctly. I suspect that I need to add "https://raw.githubusercontent.com/cspace-puppet/" to my sources list(?). That might be done like this: apt-add-repository https://raw.githubusercontent.com/cspace-puppet/ But, by default, that will be rejected as something that updating cannot be done from securely. To get around this problem, are there any keys that I can add? If so, where can I find them? Or, is there something else that I am doing incorrectly here? Regards, Clifford Davy. Clifford Davy | Collection Systems Support Tasmanian Museum and Art Gallery | Department of State Growth 5 Winkleigh Place, Rosny TAS 7018 | GPO Box 1164, Hobart TAS 7001 Ph (03) 6165 6903 | clifford.davy@tmag.tas.gov.au<mailto:clifford.davy@tmag.tas.gov.au> www.tmag.tas.gov.au<http://www.tmag.tas.gov.au/> | Facebook<https://www.facebook.com/tasmuseum> | Twitter<http://twitter.com/tasmuseum> [cid:image002.jpg@01D50644.E5619CA0]<https://www.givenow.com.au/tmagannualappeal> ________________________________ CONFIDENTIALITY NOTICE AND DISCLAIMER The information in this transmission may be confidential and/or protected by legal professional privilege, and is intended only for the person or persons to whom it is addressed. If you are not such a person, you are warned that any disclosure, copying or dissemination of the information is unauthorised. If you have received the transmission in error, please immediately contact this office by telephone, fax or email, to inform us of the error and to enable arrangements to be made for the destruction of the transmission, or its return at our cost. No liability is accepted for any unauthorised use of the information contained in this transmission. ________________________________ CONFIDENTIALITY NOTICE AND DISCLAIMER The information in this transmission may be confidential and/or protected by legal professional privilege, and is intended only for the person or persons to whom it is addressed. If you are not such a person, you are warned that any disclosure, copying or dissemination of the information is unauthorised. If you have received the transmission in error, please immediately contact this office by telephone, fax or email, to inform us of the error and to enable arrangements to be made for the destruction of the transmission, or its return at our cost. No liability is accepted for any unauthorised use of the information contained in this transmission.