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

Slow reply 302 redirect for https://charmhub.io/.../collaboration, listing, ... (up to 5+ seconds) #1832

Open
taurus-forever opened this issue May 27, 2024 · 0 comments

Comments

@taurus-forever
Copy link

taurus-forever commented May 27, 2024

Hi,

The time to open charmhib.io pages is close to random... sometimes 5+ seconds!

20:11:34 ✔ taurus:~$ time wget -O /dev/null https://charmhub.io/postgresql/collaboration  2>&1
--2024-05-27 20:11:35--  https://charmhub.io/postgresql/collaboration
Resolving charmhub.io (charmhub.io)... 185.125.190.20, 185.125.190.21, 185.125.190.29, ...
Connecting to charmhub.io (charmhub.io)|185.125.190.20|:443... connected.
HTTP request sent, awaiting response... 302 
Location: https://charmhub.io/login?next=/postgresql/collaboration [following]
--2024-05-27 20:11:40--  https://charmhub.io/login?next=/postgresql/collaboration
Reusing existing connection to charmhub.io:443.
HTTP request sent, awaiting response... 302 
Location: https://api.jujucharms.com/identity/login-redirect?return_to=https://charmhub.io/login/callback&state=IjBkOTMzYWNkNTEwM2E5MzE0NTcwMGQxMWYzZThkMWUwNTNiMWI2YTYi.ZlTM3A.7gRCLCUa419VN-GFHzxof4xjBmc [following]
--2024-05-27 20:11:41--  https://api.jujucharms.com/identity/login-redirect?return_to=https://charmhub.io/login/callback&state=IjBkOTMzYWNkNTEwM2E5MzE0NTcwMGQxMWYzZThkMWUwNTNiMWI2YTYi.ZlTM3A.7gRCLCUa419VN-GFHzxof4xjBmc
Resolving api.jujucharms.com (api.jujucharms.com)... 185.125.188.172, 185.125.188.173
Connecting to api.jujucharms.com (api.jujucharms.com)|185.125.188.172|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1729 (1.7K) [text/html]
Saving to: ‘/dev/null’

/dev/null                                                     100%[=================================================================================================================================================>]   1.69K  --.-KB/s    in 0.002s  

2024-05-27 20:11:41 (1.06 MB/s) - ‘/dev/null’ saved [1729/1729]


real	0m6.239s
user	0m0.022s
sys	0m0.011s

20:12:55 ✔ taurus:~$ time wget -O /dev/null https://charmhub.io/postgresql/listing  2>&1
--2024-05-27 20:12:56--  https://charmhub.io/postgresql/listing
Resolving charmhub.io (charmhub.io)... 185.125.190.20, 185.125.190.29, 185.125.190.21, ...
Connecting to charmhub.io (charmhub.io)|185.125.190.20|:443... connected.
HTTP request sent, awaiting response... 302 
Location: https://charmhub.io/login?next=/postgresql/listing [following]
--2024-05-27 20:13:02--  https://charmhub.io/login?next=/postgresql/listing
Reusing existing connection to charmhub.io:443.
HTTP request sent, awaiting response... 302 
Location: https://api.jujucharms.com/identity/login-redirect?return_to=https://charmhub.io/login/callback&state=ImQ4NDUzZWZkN2Q2YTQxZjViYzExODkxZTQ1ODhlZmM5NDkyMjJlNjEi.ZlTNLg.PudlV7CwJ0XRTcg04FE5g3onN3k [following]
--2024-05-27 20:13:02--  https://api.jujucharms.com/identity/login-redirect?return_to=https://charmhub.io/login/callback&state=ImQ4NDUzZWZkN2Q2YTQxZjViYzExODkxZTQ1ODhlZmM5NDkyMjJlNjEi.ZlTNLg.PudlV7CwJ0XRTcg04FE5g3onN3k
Resolving api.jujucharms.com (api.jujucharms.com)... 185.125.188.173, 185.125.188.172
Connecting to api.jujucharms.com (api.jujucharms.com)|185.125.188.173|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1729 (1.7K) [text/html]
Saving to: ‘/dev/null’

/dev/null                                                     100%[=================================================================================================================================================>]   1.69K  --.-KB/s    in 0s      

2024-05-27 20:13:02 (48.5 MB/s) - ‘/dev/null’ saved [1729/1729]


real	0m6.323s
user	0m0.030s
sys	0m0.009s

We have fixed networking issue with IS in https://rt.admin.canonical.com/Ticket/Display.html?id=163604 and currently it looks like some charmhub.io related issue. Reported here, but maybe you want to collaborate IS to fix collaboration page! :-D

P.S. normally reply time below one second, but slow in about 10% cases.

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

No branches or pull requests

1 participant