Readme instructions to wget frontend-master not working #17

Closed
opened 2021-01-26 20:52:15 +00:00 by adrinux · 3 comments
Contributor

I downloaded the frontend-master.zip from the repo here manually, so I'm good to go but here's what happened when I followed the readme:

wget https://dl.vikunja.io/frontend/vikunja-frontend-master.zip

--2021-01-26 20:40:19--  https://dl.vikunja.io/frontend/vikunja-frontend-master.zip
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving dl.vikunja.io (dl.vikunja.io)... 2606:4700:3032::6815:2fce, 2606:4700:3034::ac43:aca7, 104.21.47.206, ...
Connecting to dl.vikunja.io (dl.vikunja.io)|2606:4700:3032::6815:2fce|:443... connected.
GnuTLS: Error in the pull function.
Unable to establish SSL connection.

I thought perhaps the filename had changed - so tried a filename the same as the manually downloaded zip:

wget https://dl.vikunja.io/frontend/frontend-master.zip                                                            ─╯
--2021-01-26 20:47:07--  https://dl.vikunja.io/frontend/frontend-master.zip
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving dl.vikunja.io (dl.vikunja.io)... 2606:4700:3032::6815:2fce, 2606:4700:3034::ac43:aca7, 104.21.47.206, ...
Connecting to dl.vikunja.io (dl.vikunja.io)|2606:4700:3032::6815:2fce|:443... connected.
HTTP request sent, awaiting response... Read error (Error in the pull function.) in headers.
Retrying.

--2021-01-26 20:47:32--  (try: 2)  https://dl.vikunja.io/frontend/frontend-master.zip
Connecting to dl.vikunja.io (dl.vikunja.io)|2606:4700:3032::6815:2fce|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0
Saving to: ‘frontend-master.zip’

frontend-master.zip               [ <=>                                              ]       0  --.-KB/s    in 0s      

2021-01-26 20:47:32 (0.00 B/s) - ‘frontend-master.zip’ saved [0/0]

hth

I downloaded the frontend-master.zip from the repo here manually, so I'm good to go but here's what happened when I followed the readme: ``` wget https://dl.vikunja.io/frontend/vikunja-frontend-master.zip --2021-01-26 20:40:19-- https://dl.vikunja.io/frontend/vikunja-frontend-master.zip Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt' Resolving dl.vikunja.io (dl.vikunja.io)... 2606:4700:3032::6815:2fce, 2606:4700:3034::ac43:aca7, 104.21.47.206, ... Connecting to dl.vikunja.io (dl.vikunja.io)|2606:4700:3032::6815:2fce|:443... connected. GnuTLS: Error in the pull function. Unable to establish SSL connection. ``` I thought perhaps the filename had changed - so tried a filename the same as the manually downloaded zip: ``` wget https://dl.vikunja.io/frontend/frontend-master.zip ─╯ --2021-01-26 20:47:07-- https://dl.vikunja.io/frontend/frontend-master.zip Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt' Resolving dl.vikunja.io (dl.vikunja.io)... 2606:4700:3032::6815:2fce, 2606:4700:3034::ac43:aca7, 104.21.47.206, ... Connecting to dl.vikunja.io (dl.vikunja.io)|2606:4700:3032::6815:2fce|:443... connected. HTTP request sent, awaiting response... Read error (Error in the pull function.) in headers. Retrying. --2021-01-26 20:47:32-- (try: 2) https://dl.vikunja.io/frontend/frontend-master.zip Connecting to dl.vikunja.io (dl.vikunja.io)|2606:4700:3032::6815:2fce|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 0 Saving to: ‘frontend-master.zip’ frontend-master.zip [ <=> ] 0 --.-KB/s in 0s 2021-01-26 20:47:32 (0.00 B/s) - ‘frontend-master.zip’ saved [0/0] ``` hth
Owner

The first link works on my machine™:

$ wget https://dl.vikunja.io/frontend/vikunja-frontend-master.zip

--2021-01-26 21:53:19--  https://dl.vikunja.io/frontend/vikunja-frontend-master.zip
Resolving dl.vikunja.io (dl.vikunja.io)... 172.67.172.167, 104.21.47.206, 2606:4700:3032::6815:2fce, ...
Connecting to dl.vikunja.io (dl.vikunja.io)|172.67.172.167|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3958720 (3.8M) [application/zip]
Saving to: ‘vikunja-frontend-master.zip’

vikunja-frontend-master.zip                                 100%[========================================================================================================================================>]   3.77M  1.89MB/s    in 2.0s    

2021-01-26 21:53:23 (1.89 MB/s) - ‘vikunja-frontend-master.zip’ saved [3958720/3958720]

To me this looks like your local keyring does not work properly and thus is not accepting the certificate (which is a valid one).

What do you get with curl -I https://dl.vikunja.io/frontend/vikunja-frontend-master.zip -vvv?

The first link works on my machine™: ``` $ wget https://dl.vikunja.io/frontend/vikunja-frontend-master.zip --2021-01-26 21:53:19-- https://dl.vikunja.io/frontend/vikunja-frontend-master.zip Resolving dl.vikunja.io (dl.vikunja.io)... 172.67.172.167, 104.21.47.206, 2606:4700:3032::6815:2fce, ... Connecting to dl.vikunja.io (dl.vikunja.io)|172.67.172.167|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 3958720 (3.8M) [application/zip] Saving to: ‘vikunja-frontend-master.zip’ vikunja-frontend-master.zip 100%[========================================================================================================================================>] 3.77M 1.89MB/s in 2.0s 2021-01-26 21:53:23 (1.89 MB/s) - ‘vikunja-frontend-master.zip’ saved [3958720/3958720] ``` To me this looks like your local keyring does not work properly and thus is not accepting the certificate (which is a valid one). What do you get with `curl -I https://dl.vikunja.io/frontend/vikunja-frontend-master.zip -vvv`?
Author
Contributor

I get this - no obvious errors I can see.:

*   Trying 2606:4700:3032::6815:2fce:443...
* Connected to dl.vikunja.io (2606:4700:3032::6815:2fce) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: C=US; ST=CA; L=San Francisco; O=Cloudflare, Inc.; CN=sni.cloudflaressl.com
*  start date: Aug 13 00:00:00 2020 GMT
*  expire date: Aug 13 12:00:00 2021 GMT
*  subjectAltName: host "dl.vikunja.io" matched cert's "*.vikunja.io"
*  issuer: C=US; O=Cloudflare, Inc.; CN=Cloudflare Inc ECC CA-3
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x5612a7526d80)
> HEAD /frontend/vikunja-frontend-master.zip HTTP/2
> Host: dl.vikunja.io
> user-agent: curl/7.74.0
> accept: */*
> 
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 256)!
< HTTP/2 200 
HTTP/2 200 
< date: Wed, 27 Jan 2021 15:12:51 GMT
date: Wed, 27 Jan 2021 15:12:51 GMT
< content-type: application/zip
content-type: application/zip
< content-length: 3982228
content-length: 3982228
< set-cookie: __cfduid=df91b968cfd739034224e3f55c3722cb41611760370; expires=Fri, 26-Feb-21 15:12:50 GMT; path=/; domain=.vikunja.io; HttpOnly; SameSite=Lax
set-cookie: __cfduid=df91b968cfd739034224e3f55c3722cb41611760370; expires=Fri, 26-Feb-21 15:12:50 GMT; path=/; domain=.vikunja.io; HttpOnly; SameSite=Lax
< cf-cache-status: DYNAMIC
cf-cache-status: DYNAMIC
< cf-request-id: 07e6009b34000006bd6ba50000000001
cf-request-id: 07e6009b34000006bd6ba50000000001
< expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
< report-to: {"group":"cf-nel","endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report?s=9DQJpbDJc5KFzBAuyqCeX5odlop9Z4ws3htVedcGu7VjHHmZvo8Iz3vGMzKLqh72o4Slx29mLWEvWQHh8nSMvl5oAwHaJvdNFSBsCGFJ4B38xt1x5LHydyRx"}],"max_age":604800}
report-to: {"group":"cf-nel","endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report?s=9DQJpbDJc5KFzBAuyqCeX5odlop9Z4ws3htVedcGu7VjHHmZvo8Iz3vGMzKLqh72o4Slx29mLWEvWQHh8nSMvl5oAwHaJvdNFSBsCGFJ4B38xt1x5LHydyRx"}],"max_age":604800}
< nel: {"report_to":"cf-nel","max_age":604800}
nel: {"report_to":"cf-nel","max_age":604800}
< server: cloudflare
server: cloudflare
< cf-ray: 61836a0b8c9906bd-LHR
cf-ray: 61836a0b8c9906bd-LHR

< 
* Connection #0 to host dl.vikunja.io left intact

I get this - no obvious errors I can see.: ``` * Trying 2606:4700:3032::6815:2fce:443... * Connected to dl.vikunja.io (2606:4700:3032::6815:2fce) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: /etc/ssl/certs/ca-certificates.crt * CApath: none * TLSv1.3 (OUT), TLS handshake, Client hello (1): * TLSv1.3 (IN), TLS handshake, Server hello (2): * TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8): * TLSv1.3 (IN), TLS handshake, Certificate (11): * TLSv1.3 (IN), TLS handshake, CERT verify (15): * TLSv1.3 (IN), TLS handshake, Finished (20): * TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1): * TLSv1.3 (OUT), TLS handshake, Finished (20): * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 * ALPN, server accepted to use h2 * Server certificate: * subject: C=US; ST=CA; L=San Francisco; O=Cloudflare, Inc.; CN=sni.cloudflaressl.com * start date: Aug 13 00:00:00 2020 GMT * expire date: Aug 13 12:00:00 2021 GMT * subjectAltName: host "dl.vikunja.io" matched cert's "*.vikunja.io" * issuer: C=US; O=Cloudflare, Inc.; CN=Cloudflare Inc ECC CA-3 * SSL certificate verify ok. * Using HTTP2, server supports multi-use * Connection state changed (HTTP/2 confirmed) * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0 * Using Stream ID: 1 (easy handle 0x5612a7526d80) > HEAD /frontend/vikunja-frontend-master.zip HTTP/2 > Host: dl.vikunja.io > user-agent: curl/7.74.0 > accept: */* > * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): * old SSL session ID is stale, removing * Connection state changed (MAX_CONCURRENT_STREAMS == 256)! < HTTP/2 200 HTTP/2 200 < date: Wed, 27 Jan 2021 15:12:51 GMT date: Wed, 27 Jan 2021 15:12:51 GMT < content-type: application/zip content-type: application/zip < content-length: 3982228 content-length: 3982228 < set-cookie: __cfduid=df91b968cfd739034224e3f55c3722cb41611760370; expires=Fri, 26-Feb-21 15:12:50 GMT; path=/; domain=.vikunja.io; HttpOnly; SameSite=Lax set-cookie: __cfduid=df91b968cfd739034224e3f55c3722cb41611760370; expires=Fri, 26-Feb-21 15:12:50 GMT; path=/; domain=.vikunja.io; HttpOnly; SameSite=Lax < cf-cache-status: DYNAMIC cf-cache-status: DYNAMIC < cf-request-id: 07e6009b34000006bd6ba50000000001 cf-request-id: 07e6009b34000006bd6ba50000000001 < expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" < report-to: {"group":"cf-nel","endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report?s=9DQJpbDJc5KFzBAuyqCeX5odlop9Z4ws3htVedcGu7VjHHmZvo8Iz3vGMzKLqh72o4Slx29mLWEvWQHh8nSMvl5oAwHaJvdNFSBsCGFJ4B38xt1x5LHydyRx"}],"max_age":604800} report-to: {"group":"cf-nel","endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report?s=9DQJpbDJc5KFzBAuyqCeX5odlop9Z4ws3htVedcGu7VjHHmZvo8Iz3vGMzKLqh72o4Slx29mLWEvWQHh8nSMvl5oAwHaJvdNFSBsCGFJ4B38xt1x5LHydyRx"}],"max_age":604800} < nel: {"report_to":"cf-nel","max_age":604800} nel: {"report_to":"cf-nel","max_age":604800} < server: cloudflare server: cloudflare < cf-ray: 61836a0b8c9906bd-LHR cf-ray: 61836a0b8c9906bd-LHR < * Connection #0 to host dl.vikunja.io left intact ```
Author
Contributor

Just tried again with original command and it worked.

wget -v https://dl.vikunja.io/frontend/vikunja-frontend-master.zip                                                 ─╯
--2021-01-27 15:33:58--  https://dl.vikunja.io/frontend/vikunja-frontend-master.zip
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving dl.vikunja.io (dl.vikunja.io)... 2606:4700:3032::6815:2fce, 2606:4700:3034::ac43:aca7, 172.67.172.167, ...
Connecting to dl.vikunja.io (dl.vikunja.io)|2606:4700:3032::6815:2fce|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3982228 (3.8M) [application/zip]
Saving to: ‘vikunja-frontend-master.zip’

vikunja-frontend-master.zip   100%[=================================================>]   3.80M  6.39MB/s    in 0.6s    

2021-01-27 15:34:00 (6.39 MB/s) - ‘vikunja-frontend-master.zip’ saved [3982228/3982228]

shrugs

Closing.

Just tried again with original command and it worked. ``` wget -v https://dl.vikunja.io/frontend/vikunja-frontend-master.zip ─╯ --2021-01-27 15:33:58-- https://dl.vikunja.io/frontend/vikunja-frontend-master.zip Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt' Resolving dl.vikunja.io (dl.vikunja.io)... 2606:4700:3032::6815:2fce, 2606:4700:3034::ac43:aca7, 172.67.172.167, ... Connecting to dl.vikunja.io (dl.vikunja.io)|2606:4700:3032::6815:2fce|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 3982228 (3.8M) [application/zip] Saving to: ‘vikunja-frontend-master.zip’ vikunja-frontend-master.zip 100%[=================================================>] 3.80M 6.39MB/s in 0.6s 2021-01-27 15:34:00 (6.39 MB/s) - ‘vikunja-frontend-master.zip’ saved [3982228/3982228] ``` *shrugs* Closing.
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/desktop#17
No description provided.