CollapseLauncher / Collapse

An Advanced Launcher for miHoYo/HoYoverse Games
MIT License
1.4k stars 64 forks source link

[Bug]: Unable to access homepage #252

Closed yukiryo closed 11 months ago

yukiryo commented 1 year ago

Affected Version

1.71.8

Bug Behavior

After launching the launcher it will pop up that your internet connection has been disconnected, clicking on the Paimon will instantly pop it up again

Expected Behavior

Normal access to the homepage

Steps to reproduce

launch the launcher

Related Issues

No response

Screenshot(s)

image image

Additional Information

No response

muscularcandy67 commented 1 year ago

Thank you for reporting the issue. When trying to reload a loading bar should appear, try to click on cancel as fast as you can and then try to switch to every other game/region to make sure the issue is localized on a single game/region or not. In alternative you can close Collapse Launcher, go to %appdata%/../LocalLow, CollapseLauncher. Open config.ini and change GameCategory to either Honkai Impact 3rd, Genshin Impact, Honkai: Star Rail. Also change GameRegion to Global.

bagusnl commented 1 year ago

After doing what @muscularcandy67 said, can you send the content of the stampv2.json inside Collapse's AppData _metadata folder? To go to Collapse data folder, go to App Settings->Open App Data Folder

NishikiAsumi0 commented 1 year ago

@bagusnl the content of stampv2.json

{
  "LastUpdated": 202308272217
}
NishikiAsumi0 commented 1 year ago

it only happens on the china mainland server of star rail

bagusnl commented 1 year ago

can you try running this build instead? just simply extract them anywhere and run CollapseLauncher.exe https://github.com/neon-nyan/Collapse/suites/15548575391/artifacts/887286682

NishikiAsumi0 commented 1 year ago

it now works correctly. btw it requires .net7 runtime to launch at the first time

muscularcandy67 commented 1 year ago

It requires .net 7 to run everytime

akatsukiro commented 11 months ago

it only happens on the china mainland server of star rail

Same.

bagusnl commented 11 months ago

@akatsukiro can you send your log or exception message here?

akatsukiro commented 11 months ago

@akatsukiro can you send your log or exception message here?

sorry about late response. Today it works fine, and how can I find the log file?

Here's the error message.

System.NullReferenceException: Object reference not set to an instance of an object. at 
CollapseLauncher.MainPage.DownloadBackgroundImage(CancellationToken Token) at 
CollapseLauncher.MainPage.FetchLauncherLocalizedResources(CancellationToken Token, PresetConfigV2 Preset) at 
CollapseLauncher.MainPage.TryLoadResourceInfo(ResourceLoadingType resourceType, PresetConfigV2 preset)
bagusnl commented 11 months ago

sorry about late response. Today it works fine, and how can I find the log file? @akatsukiro It seems from your error message its probably some mihoyo CDN hiccup in your area. If you get the same issue again and constantly, please make a new ticket since we are closing this one due to stale and no response from the OP.

For the log file, its under Collapse data folder (you can access by going to Collapse settings and pressing the "Open App Data Folder". The log file is on _logs subfolder and formatted by the date you open the launcher.

bagusnl commented 11 months ago

Closed due to stale (no response from OP) Feel free to reopen if OP's issue is still not fixed