ex3ndr
(Steve Korshakov)
April 27, 2021, 11:07am
1
Currently wget and docker can’t download packages from official site:
wget https://foundationdb-origin.apple.com/downloads/6.2.20/ubuntu/installers/foundationdb-clients_6.2.20-1_amd64.deb
--2021-04-27 11:01:20-- https://foundationdb-origin.apple.com/downloads/6.2.20/ubuntu/installers/foundationdb-clients_6.2.20-1_amd64.deb
Resolving foundationdb-origin.apple.com (foundationdb-origin.apple.com)... 17.56.48.13
Connecting to foundationdb-origin.apple.com (foundationdb-origin.apple.com)|17.56.48.13|:443... connected.
ERROR: cannot verify foundationdb-origin.apple.com's certificate, issued by ‘C=US,O=Apple Inc.,OU=Certification Authority,CN=Apple IST CA 2 - G1’:
Self-signed certificate encountered.
To connect to foundationdb-origin.apple.com insecurely, use `--no-check-certificate'.
KrzysFR
(Christophe Chevalier)
April 27, 2021, 12:18pm
2
The same certificate (Apple IST CA 2 - G1
) is accepted on my machine by Firefox and WSL2 running an Ubuntu host. Maybe this CA is not present in the default trusted CA roots of your specific linux host ?
ex3ndr
(Steve Korshakov)
April 27, 2021, 1:59pm
3
Kind of, I have old ubuntu 18.04 machines and everything works fine there, but just a new fresh one throws an error on the host and in the docker. I tested on two clean installs and this certificate seems to be “kind of” revoked.
Can you try downloading the packages from foundationdb.org rather than foundationdb-origin.apple.com ?
I’ve resolved a similar problem. Installing ca-certificates may resolve the error.
This PR resolves the error on updating Go.
Changes in this PR:
- Support Go 1.16
- Use apt-get instead of apt to suppress warnings
- Install ca-certificates to resolve the error on downloading foundationdb.
## General guideline:
- If this PR is ready to be merged (and all checkboxes below are either ticked or not applicable), make this a regular PR
- If this PR still needs work, please make this a draft PR
- If you wish to get feedback/code-review, please add the label RFC to this PR
Please verify that all things listed below were considered and check them. If an item doesn't apply to this type of PR (for example a documentation change doesn't need to be performance tested), you should make a ~~strikethrough~~ (markdown syntax: `~~strikethrough~~`). More infos on the guidlines can be found [here](https://github.com/apple/foundationdb/wiki/FoundationDB-Commit-Process).
### ~~Style~~
- [ ] All variable and function names make sense.
- [ ] The code is properly formatted (consider running `git clang-format`).
### ~~Performance~~
- [ ] All CPU-hot paths are well optimized.
- [ ] The proper containers are used (for example `std::vector` vs `VectorRef`).
- [ ] There are no new known `SlowTask` traces.
### ~~Testing~~
- [ ] The code was sufficiently tested in simulation.
- [ ] If there are new parameters or knobs, different values are tested in simulation.
- [ ] `ASSERT`, `ASSERT_WE_THINK`, and `TEST` macros are added in appropriate places.
- [ ] Unit tests were added for new algorithms and data structure that make sense to unit-test
- [ ] If this is a bugfix: there is a test that can easily reproduce the bug.
apple:master
← falsandtru:examples/go
opened 10:01PM - 14 Mar 21 UTC
1 Like
ex3ndr
(Steve Korshakov)
April 30, 2021, 8:20pm
7
Well, actually no. And using foundationdb.org for downloading not working either. Ubutnu 18.04.
KrzysFR
(Christophe Chevalier)
May 17, 2021, 9:40am
8
Well, it seems that the certificate for https://foundationdb.org has expired on May 10th 2021
image|459x500
But once you accept this certificate, then it 302 redirects to https://www.foundationdb.org/ which has a valid certificate (until April 2022).
1 Like
KrzysFR
(Christophe Chevalier)
May 17, 2021, 9:48am
9
I’m getting the same expired certificate when following links to download (Error code: SEC_ERROR_EXPIRED_CERTIFICATE) => https://foundationdb-origin.apple.com/download/download-6.2.30/
The expired certificate has subject name foundationdb-origin.apple.com
and serial number 5F:32:38:A8:92:68:20:89:E6:56:CD:91:3D:DA:F0:7B
ex3ndr
(Steve Korshakov)
May 19, 2021, 9:25am
10
Now it is down altogether
You may have to add the www
subdomain.
apple:master
← falsandtru:samples/go
opened 08:51AM - 12 Aug 21 UTC
Add the missing `www` to resolve the error on downloading FDB (I've not confirme… d it on Python).
FYI, looks like the current FDB or its binding has memory leak that exits fdbgolangsample_fdb-coordinator_1 with Exit Code 20. I'm investigating it.
# Code-Reviewer Section
The general guidelines can be found [here](https://github.com/apple/foundationdb/wiki/FoundationDB-Commit-Process).
Please check each of the following things and check *all* boxes before accepting a PR.
- [x] The PR has a description, explaining both the problem and the solution.
- [x] The description mentions which forms of testing were done and the testing seems reasonable.
- [x] Every function/class/actor that was touched is reasonably well documented.
## For Release-Branches
If this PR is made against a release-branch, please also check the following:
- [x] This change/bugfix is a cherry-pick from the next younger branch (younger `release-branch` or `master` if this is the youngest branch)
- [x] There is a good reason why this PR needs to go into a release branch and this reason is documented (either in the description above or in a linked GitHub issue)