Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curl problem #4

Open
ThomasKraaibeek opened this issue Jan 15, 2021 · 1 comment · May be fixed by #5
Open

Curl problem #4

ThomasKraaibeek opened this issue Jan 15, 2021 · 1 comment · May be fixed by #5

Comments

@ThomasKraaibeek
Copy link
Contributor

I think there's a problem with curl in the bootstrap process. Could be because of the server side of https://raw.githubusercontent.com/aurora/rmate/master/rmate

curl -o /usr/local/bin/rmate https://raw.githubusercontent.com/aurora/rmate/master/rmate

My output when running the container:

container_citadel | [CITADEL 15:43:20] Atom editor support being installed.
container_citadel |   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
container_citadel |                                  Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
container_citadel | curl: (35) Peer reports incompatible or unsupported protocol version.
@ThomasKraaibeek ThomasKraaibeek linked a pull request Jan 16, 2021 that will close this issue
@pozgo
Copy link
Member

pozgo commented Feb 5, 2021

Interesting. I just run that command in the image that this is based on (million12/ssh) and curl worked just fine.

I think we could add -k to curl command so it would look like:

curl -k -o /usr/local/bin/rmate https://raw.githubusercontent.com/aurora/rmate/master/rmate

### Test defualt

[root@a97a38a19a23 ~]# curl -o /usr/local/bin/rmate https://raw.githubusercontent.com/aurora/rmate/master/rmate
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 10553  100 10553    0     0  62885      0 --:--:-- --:--:-- --:--:-- 63191

Test with -k

[root@a97a38a19a23 ~]# curl -k -o /usr/local/bin/rmate https://raw.githubusercontent.com/aurora/rmate/
master/rmate
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 10553  100 10553    0     0  59342      0 --:--:-- --:--:-- --:--:-- 5962

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants