Skip to content

[BUG] Download valheim_plus.cfg fails #131

Description

@m-abs
  • OS: Kubuntu 25.04
  • Valheim Game Version: l-0.221.4
  • V+ Mod Version: BepInEx 0.9.16.2

Describe the bug

Downloading the valheim_plus.cfg file fails on Linux.

Output from log-file:

[Info   :Valheim Plus] Trying to load the configuration file
[Warning:Valheim Plus] Error: Configuration not found at: '/home/mabs/.local/share/Steam/steamapps/common/Valheim/BepInEx/config/valheim_plus.cfg'. Trying to download latest config.
[Info   :Valheim Plus] Downloading config from: 'https://github.com/Grantapher/ValheimPlus/releases/download/0.9.16.2/valheim_plus.cfg'
[Error  :Valheim Plus] Error downloading config from 'https://github.com/Grantapher/ValheimPlus/releases/download/0.9.16.2/valheim_plus.cfg': System.Net.WebException: An exception occurred during a WebClient request. ---> System.NotSupportedException: The URI prefix is not recognized.
 at System.Net.WebRequest.Create (System.Uri requestUri, System.Boolean useUriBase) [0x000ae] in <6e63773dfaf74cad8404c097a4024d42>:0 
 at System.Net.WebRequest.Create (System.Uri requestUri) [0x00014] in <6e63773dfaf74cad8404c097a4024d42>:0 
 at System.Net.WebClient.GetWebRequest (System.Uri address) [0x00000] in <6e63773dfaf74cad8404c097a4024d42>:0 
 at System.Net.WebClient.DownloadDataInternal (System.Uri address, System.Net.WebRequest& request) [0x0000d] in <6e63773dfaf74cad8404c097a4024d42>:0 
  --- End of inner exception stack trace ---
 at System.Net.WebClient.DownloadDataInternal (System.Uri address, System.Net.WebRequest& request) [0x0006e] in <6e63773dfaf74cad8404c097a4024d42>:0 
 at System.Net.WebClient.DownloadString (System.Uri address) [0x00011] in <6e63773dfaf74cad8404c097a4024d42>:0 
 at System.Net.WebClient.DownloadString (System.String address) [0x00008] in <6e63773dfaf74cad8404c097a4024d42>:0 
 at (wrapper remoting-invoke-with-check) System.Net.WebClient.DownloadString(string)
 at ValheimPlus.Configurations.ConfigurationExtra.GetCurrentWebIniFile () [0x00038] in <1f804d047b2244dfb36fd3fbe3ce6ca8>:0 
[Error  :Valheim Plus] Error while loading configuration file.

Manuel download with that URL works as expected.

To Reproduce

Steps for the devs to reproduce the behavior:

  1. Fresh install of Valheim with Steam for Linux and manuel install of Valheim plus
  2. Start Valheim with mod
  3. Observe that the config file is not downloaded.
  4. Check log file, see above stacktrace.

Expected behavior

The valheim_plus.cfg to have been downloaded.

Troubleshooting

What steps have you taken to try to fix?

Manuel download with wget, URL works just fine.

Screenshots

If applicable, add screenshots to help explain your problem.

Link to pastebin containing .cfg configuration if applicable:

Additional context

Please list any other mods besides V+ that you have installed here. Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions