jfowler
(Jason Fowler)
February 23, 2022, 5:15pm
1
When I update Graylog, why does it pull from an AWS server that appears to be in the EU? I am currently in the US.
wget https://packages.graylog2.org/repo/packages/graylog-4.2-repository_latest.deb
--2022-02-23 12:00:51-- https://packages.graylog2.org/repo/packages/graylog-4.2-repository_latest.deb
Resolving packages.graylog2.org (packages.graylog2.org)... 54.91.6.89, 34.201.80.84, 54.196.16.164, ...
Connecting to packages.graylog2.org (packages.graylog2.org)|54.91.6.89|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://graylog-package-repository.s3.eu-west-1.amazonaws.com/packages/graylog-4.2-repository_latest.deb
While this is not a problem for the package repo, the main download caps out at 30kb/s. If the slow speed was stable I would not care. However, that is not the case and requires repeated attempts until I get lucky?
So the question is, who is telling me to download from the EU?
I would like to download from a US-based mirror.
gsmith
(GSmith)
February 23, 2022, 11:12pm
2
Hello,
Good question, perhaps asking this question here might help.
I’m in the west by Canada it seems fast to me, plus I would imagine that the repo has relays for this type of download/s.
As you can see my test download below.
root@keycloak:/home/keycloak/standalone/log# wget https://packages.graylog2.org/repo/packages/graylog-4.2-repository_latest.deb
--2022-02-23 16:56:14-- https://packages.graylog2.org/repo/packages/graylog-4.2-repository_latest.deb
Resolving packages.graylog2.org (packages.graylog2.org)... 54.91.6.89, 54.196.16.164, 34.201.80.84, ...
Connecting to packages.graylog2.org (packages.graylog2.org)|54.91.6.89|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://graylog-package-repository.s3.eu-west-1.amazonaws.com/packages/graylog-4.2-repository_latest.deb?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20220223T225615Z&X-Amz-SignedHeaders=host&X-Amz-Expires=600&X-Amz-Credential=AKIAIJSI6MCSPXFVDPIA%2F20220223%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Signature=b4fbb8ec92099f74c903b84546d46c866b8e9b6566c0e19c3ab49ab1a7596487 [following]
--2022-02-23 16:56:15-- https://graylog-package-repository.s3.eu-west-1.amazonaws.com/packages/graylog-4.2-repository_latest.deb?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20220223T225615Z&X-Amz-SignedHeaders=host&X-Amz-Expires=600&X-Amz-Credential=AKIAIJSI6MCSPXFVDPIA%2F20220223%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Signature=b4fbb8ec92099f74c903b84546d46c866b8e9b6566c0e19c3ab49ab1a7596487
Resolving graylog-package-repository.s3.eu-west-1.amazonaws.com (graylog-package-repository.s3.eu-west-1.amazonaws.com)... 52.218.20.227
Connecting to graylog-package-repository.s3.eu-west-1.amazonaws.com (graylog-package-repository.s3.eu-west-1.amazonaws.com)|52.218.20.227|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2086 (2.0K) [application/x-debian-package]
Saving to: ‘graylog-4.2-repository_latest.deb.1’
graylog-4.2-repository_latest.deb.1 100%[==============================================================================================>] 2.04K --.-KB/s in 0s
2022-02-23 16:56:15 (29.4 MB/s) - ‘graylog-4.2-repository_latest.deb.1’ saved [2086/2086]
Are you referring to yum/apt install graylog-server
?
If so I did a test as shown below. It seamed very quick.
root@keycloak:/home/keycloak/standalone/log# sudo apt-get update && sudo apt-get install graylog-server
Hit:1 https://artifacts.elastic.co/packages/7.x/apt stable InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:6 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Hit:3 https://packages.graylog2.org/repo/debian sidecar-stable InRelease
Get:7 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:5 https://packages.graylog2.org/repo/debian stable InRelease [31.8 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal-security/main amd64 Packages [1,265 kB]
Get:10 http://archive.ubuntu.com/ubuntu focal-security/main Translation-en [221 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages [679 kB]
Get:9 https://packages.graylog2.org/repo/debian stable/4.2 amd64 Packages [10.6 kB]
Fetched 2,544 kB in 3s (936 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
graylog-server
0 upgraded, 1 newly installed, 0 to remove and 26 not upgraded.
Need to get 197 MB of archives.
After this operation, 218 MB of additional disk space will be used.
Get:1 https://packages.graylog2.org/repo/debian stable/4.2 amd64 graylog-server all 4.2.6-1 [197 MB]
Fetched 197 MB in 11s (17.3 MB/s)
Selecting previously unselected package graylog-server.
(Reading database ... 150859 files and directories currently installed.)
Preparing to unpack .../graylog-server_4.2.6-1_all.deb ...
Unpacking graylog-server (4.2.6-1) ...
Setting up graylog-server (4.2.6-1) ...
################################################################################
Graylog does NOT start automatically!
Please run the following commands if you want to start Graylog automatically on system boot:
sudo systemctl enable graylog-server.service
sudo systemctl start graylog-server.service
################################################################################
Processing triggers for systemd (245.4-4ubuntu3.15) ...
root@keycloak:/home/keycloak/standalone/log#
system
(system)
Closed
March 9, 2022, 11:12pm
3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.