Homebrew RELEASE Switch Homebrew Appstore

bruteX

Active Member
Newcomer
Joined
Sep 29, 2021
Messages
29
Trophies
0
Age
38
XP
70
Country
Germany
So even with an ethernet adapter I still can't connect. Would there be a reason everything else works but homebrew store "won't connect to the internet"? Tried reinstalling homebrew app. Just wheel of death at the beginning and then says it can't connect.
Hey, did you find any solution for this? Cant connect too
 

vgmoose

Well-Known Member
Member
Joined
Jan 31, 2016
Messages
335
Trophies
0
Website
github.com
XP
2,155
Country
United States
Hey, did you find any solution for this? Cant connect too
If you can get regular Internet access, I would be surprised to hear that the app isn't able to connect.

These errors display when the repo URLs can't be reached: https://gitlab.com/4TU/hb-appstore/-/blob/master/gui/MainDisplay.cpp#L63-82

The FAQ page probably isn't too useful, basically suggests trying a connection test: https://faq.fortheusers.org/#says-no-internet-is-present

I would suggest checking if the web version at https://apps.fortheusers.org loads properly on the same network and DNS server.

You can also try entering recovery mode, by pressing L/R repeatedly while the hb-appstore launches. This mode has more generous error handling: https://gitlab.com/4TU/hb-appstore/-/blob/master/console/Menu.cpp#L166-171

Recovery mode also has a "Reset data" option which may help if the repos file is corrupted, but it's probably overkill to try this option, instead of just checking the repos file. This file is located at sd:/switch/appstore/.get/repos.json and should be pointed at https://switchbru.com/appstore . Deleting this file causes it to be re-generated on the next launch.
 
Last edited by vgmoose,

bruteX

Active Member
Newcomer
Joined
Sep 29, 2021
Messages
29
Trophies
0
Age
38
XP
70
Country
Germany
If you can get regular Internet access, I would be surprised to hear that the app isn't able to connect.

These errors display when the repo URLs can't be reached: https://gitlab.com/4TU/hb-appstore/-/blob/master/gui/MainDisplay.cpp#L63-82

The FAQ page probably isn't too useful, basically suggests trying a connection test: https://faq.fortheusers.org/#says-no-internet-is-present

I would suggest checking if the web version at https://apps.fortheusers.org loads properly on the same network and DNS server.

You can also try entering recovery mode, by pressing L/R repeatedly while the hb-appstore launches. This mode has more generous error handling: https://gitlab.com/4TU/hb-appstore/-/blob/master/console/Menu.cpp#L166-171

Recovery mode also has a "Reset data" option which may help if the repos file is corrupted, but it's probably overkill to try this option, instead of just checking the repos file. This file is located at sd:/switch/appstore/.get/repos.json and should be pointed at https://switchbru.com/appstore . Deleting this file causes it to be re-generated on the next launch.
Hi, i was able to get into the Recovery Mode. "Couldnt find any package in any repos". Data reset didnt help. The web Version loads. I can play quakenx online and the rest of my homebrew Apps connect Just fine. Connection Test in Switch settings gives me an Error cause im blocking all big n Servers. Reconnect or switching Form flightmode didnt help.

Any others ideas?
 

vgmoose

Well-Known Member
Member
Joined
Jan 31, 2016
Messages
335
Trophies
0
Website
github.com
XP
2,155
Country
United States
I'm not really sure. Did you try deleting the repos.json or resetting hb-appstore via recovery?

If you could use a web browser app like browsenx to make sure that apps.fortheusers.org works on the console too that might help troubleshoot if the console can connect to the repo site. What method are you using for blocking servers?
 

bruteX

Active Member
Newcomer
Joined
Sep 29, 2021
Messages
29
Trophies
0
Age
38
XP
70
Country
Germany
Yes i used recovery to reset appStore data.
Im using every single methode to block the servers (90dns, incognito, host file and exosphere).

I tested browser capability yesterday and every browser App or hook results in a systemcrash oO. Im still able to use Others online homebrew features (YouTube, Auto Update, etc.)

Edit: the Problem was the custom hostfile. If you use 90dns as a service everything works fine.
 
Last edited by bruteX,

vgmoose

Well-Known Member
Member
Joined
Jan 31, 2016
Messages
335
Trophies
0
Website
github.com
XP
2,155
Country
United States
I think the issue is specifically some custom host files contain lines that block the formats:
Code:
switch*.*
*switch*.*
Which are regexes that match:
Code:
switchbru.com
which is the current primary repo domain.

You should be free to continue using dns-mitm and replace the "90DNS" blocking section of the hosts file with the following: https://nh-server.github.io/switch-guide/files/emummc.txt

These are the domains that 90DNS blocks anyway. I'm guessing that there's a pack out there distributing a more restrictive set of rules, accidentally blocking hb-appstore in the process.

EDIT: the main file is in sd:/atmosphere/hosts/default.txt , and also has other paths here.
 
Last edited by vgmoose,
  • Like
Reactions: lordelan and bruteX
General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://imgur.com/gallery/YgQkMCi