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

No available packages #1779

Open
2 tasks done
nippi05 opened this issue Aug 30, 2024 · 5 comments
Open
2 tasks done

No available packages #1779

nippi05 opened this issue Aug 30, 2024 · 5 comments

Comments

@nippi05
Copy link

nippi05 commented Aug 30, 2024

I've searched open issues for similar requests

  • Yes

I've recently downloaded the latest plugin version of mason.nvim

  • Yes

Problem description

No available packages, when :checkhealth mason is run it does stalls the terminal and when I press Ctrl-c it results in a promise not resolve on time error.

Expected behavior

Packages showing up and healthcheck working

Steps to reproduce

  1. Build nightly version OR latest stable release of neovim on debian
  2. Use either lazyvim or nvchad setup
  3. Attempt to use mason

Neovim version (>= 0.7)

NVIM v0.11.0-dev-680+g4353996d0
Build type: RelWithDebInfo
LuaJIT 2.1.1724512491
Run "nvim -V1 -v" for more info

Operating system/version

Linux tkpad 6.1.0-23-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15) x86_64 GNU/Linux

Healthcheck output

Stalls indefinitely, pressing Ctrl-c gives this result

mason: require("mason.health").check()

mason.nvim ~
- ERROR Failed to run healthcheck for "mason" plugin. Exception:
  ...j/.local/share/nvim/lazy/mason.nvim/lua/mason/health.lua:315: async function failed to resolve in time.

Screenshots

image
image

@AlphaTechnolog
Copy link

having same issue here

@AlphaTechnolog
Copy link

even MasonUpdate keeps hanging

@mwojtyna
Copy link

mwojtyna commented Sep 6, 2024

Same here

version:

NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1723675123
Run "nvim -V1 -v" for more info

Tried with my custom config and AstroNvim and in both cases the behaviour is the same as reported here.

@mwojtyna
Copy link

mwojtyna commented Sep 8, 2024

I think I found the issue. Mason's web api, which is used to check for updates to packages, is hosted on vercel.
Output of dig api.mason-registry.dev:

;; ANSWER SECTION:
api.mason-registry.dev. 3342    IN      CNAME   cname.vercel-dns.com.
cname.vercel-dns.com.   972     IN      A       76.76.21.241
cname.vercel-dns.com.   972     IN      A       76.76.21.142

It seems like my ISP has erroneously banned vercel or something, because vercel.com never loads for me, same with any website hosted on vercel like uploadthing.com. Can anyone here confirm if vercel is working for them?

@nippi05
Copy link
Author

nippi05 commented Sep 9, 2024

I think I found the issue. Mason's web api, which is used to check for updates to packages, is hosted on vercel. Output of dig api.mason-registry.dev:

;; ANSWER SECTION:
api.mason-registry.dev. 3342    IN      CNAME   cname.vercel-dns.com.
cname.vercel-dns.com.   972     IN      A       76.76.21.241
cname.vercel-dns.com.   972     IN      A       76.76.21.142

It seems like my ISP has erroneously banned vercel or something, because vercel.com never loads for me, same with any website hosted on vercel like uploadthing.com. Can anyone here confirm if vercel is working for them?

Yep, this is it! My universities student website wasn't working either I guess they use vercel or some derivative of it. This is the result of dig

;; ANSWER SECTION:
medicinska.se. 1564 IN A 76.76.21.164
medicinska.se. 1564 IN A 76.76.21.61

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

3 participants