holzschu / a-Shell-commands

shell commands, pre-compiled to webAssembly, ready to use in a-Shell
554 stars 21 forks source link

$PKG_SERVER URL gives 400 #48

Closed socialmedialabs closed 2 months ago

socialmedialabs commented 2 months ago

As the title says, when entering pkg search I get

Packages available:
Not Found

When directly calling the URL https://raw.githubusercontent.com/holzschu/a-Shell-commands/master/ it yields an error 400, invalid request.

holzschu commented 2 months ago

When entering pkg search, I do get the list of available packages, so I don't understand why you got "Not found".

You cannot acces the directory https://raw.githubusercontent.com/holzschu/a-Shell-commands/master/ directly (curl https://raw.githubusercontent.com/holzschu/a-Shell-commands/master/ will give an error 400) but you can access specific files in there, for example curl https://raw.githubusercontent.com/holzschu/a-Shell-commands/master/list works on my laptop.

The short version is: I don't understand what is happening, but I suspect some issues on the network is more likely than a bug in pkg.

socialmedialabs commented 2 months ago

Hmm... strange. Works on my iPhone (listing packages but not on my iPad. Still a direct request to the list does show the list in both. I double-checked if it might be related to VPN but it isn't.

I'll investigate further. Thanks for your assistance.