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

[BUG] Game disconnect ( Or stuck ) after downloading config #102

Open
CheliosSk opened this issue Oct 18, 2024 · 1 comment
Open

[BUG] Game disconnect ( Or stuck ) after downloading config #102

CheliosSk opened this issue Oct 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@CheliosSk
Copy link

OS: Windows Client
Valheim Game Version: 0.218.21
V+ Mod Version: 0.9.14.0

After few minutes of playing, mode redownload the valheim_plus.cfg config ( First download on new installation works without this issue ). This downloading disconnect the player or stuck ( Not responding ) the whole game. This BUG is blocker for me now.

There are few WEBAPI errors which are changing by type, but each of them shows after download request ends and game run normal again.

[Info   :Valheim Plus] Downloading config from: 'https://github.com/Grantapher/ValheimPlus/releases/download/0.9.14.0/valheim_plus.cfg'
[Error  :Valheim Plus] Error downloading config from 'https://github.com/Grantapher/ValheimPlus/releases/download/0.9.14.0/valheim_plus.cfg': System.Net.WebException: The operation has timed out.
  at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task`1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func`1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x000f8] in <0176c56e11184037ab8bba48ad8e5607>:0
  at System.Net.HttpWebRequest.GetResponse () [0x00016] in <0176c56e11184037ab8bba48ad8e5607>:0
  at System.Net.WebClient.GetWebResponse (System.Net.WebRequest request) [0x00000] in <0176c56e11184037ab8bba48ad8e5607>:0
  at System.Net.WebClient.DownloadBits (System.Net.WebRequest request, System.IO.Stream writeStream) [0x000e6] in <0176c56e11184037ab8bba48ad8e5607>:0
  at System.Net.WebClient.DownloadDataInternal (System.Uri address, System.Net.WebRequest& request) [0x00061] in <0176c56e11184037ab8bba48ad8e5607>:0
  at System.Net.WebClient.DownloadString (System.Uri address) [0x00011] in <0176c56e11184037ab8bba48ad8e5607>:0
  at System.Net.WebClient.DownloadString (System.String address) [0x00008] in <0176c56e11184037ab8bba48ad8e5607>:0
  at (wrapper remoting-invoke-with-check) System.Net.WebClient.DownloadString(string)
  at ValheimPlus.Configurations.ConfigurationExtra.GetCurrentWebIniFile () [0x00038] in <667d5d0e25df4885a05c5109c4a5e970>:0

There are same errors for name resolution or with empty error type.

I Also ran the ping test for google.com and server IP, it looks like this request shut down the whole internet connection which goes back to normal after the request ends with error in console.

18. 10. 2024 18:56:53 - Reply from 142.251.36.78: bytes=32 time=39ms TTL=116
18. 10. 2024 18:56:54 - Reply from 142.251.36.78: bytes=32 time=21ms TTL=116
18. 10. 2024 18:56:55 - Reply from 142.251.36.78: bytes=32 time=20ms TTL=116
18. 10. 2024 18:56:56 - Reply from 142.251.36.78: bytes=32 time=31ms TTL=116
18. 10. 2024 18:56:57 - Reply from 142.251.36.78: bytes=32 time=24ms TTL=116
18. 10. 2024 18:56:58 - Reply from 142.251.36.78: bytes=32 time=35ms TTL=116
18. 10. 2024 18:56:59 - Reply from 142.251.36.78: bytes=32 time=26ms TTL=116
18. 10. 2024 18:57:00 - Reply from 142.251.36.78: bytes=32 time=19ms TTL=116

Config download request start.

18. 10. 2024 18:57:01 - Reply from 142.251.36.78: bytes=32 time=29ms TTL=116
18. 10. 2024 18:57:03 - Reply from 142.251.36.78: bytes=32 time=547ms TTL=116
18. 10. 2024 18:57:04 - Reply from 142.251.36.78: bytes=32 time=391ms TTL=116
18. 10. 2024 18:57:05 - Reply from 142.251.36.78: bytes=32 time=411ms TTL=116
18. 10. 2024 18:57:05 - Reply from 142.251.36.78: bytes=32 time=167ms TTL=116
18. 10. 2024 18:57:07 - Reply from 142.251.36.78: bytes=32 time=628ms TTL=116
18. 10. 2024 18:57:08 - Reply from 142.251.36.78: bytes=32 time=279ms TTL=116
18. 10. 2024 18:57:09 - Reply from 142.251.36.78: bytes=32 time=217ms TTL=116
18. 10. 2024 18:57:10 - Reply from 142.251.36.78: bytes=32 time=206ms TTL=116
18. 10. 2024 18:57:11 - Reply from 142.251.36.78: bytes=32 time=217ms TTL=116
18. 10. 2024 18:57:12 - Reply from 142.251.36.78: bytes=32 time=356ms TTL=116
18. 10. 2024 18:57:13 - Reply from 142.251.36.78: bytes=32 time=362ms TTL=116
18. 10. 2024 18:57:13 - Reply from 142.251.36.78: bytes=32 time=62ms TTL=116
18. 10. 2024 18:57:15 - Reply from 142.251.36.78: bytes=32 time=228ms TTL=116
18. 10. 2024 18:57:16 - Reply from 142.251.36.78: bytes=32 time=302ms TTL=116
18. 10. 2024 18:57:17 - Reply from 142.251.36.78: bytes=32 time=430ms TTL=116
18. 10. 2024 18:57:18 - Reply from 142.251.36.78: bytes=32 time=239ms TTL=116
18. 10. 2024 18:57:19 - Reply from 142.251.36.78: bytes=32 time=441ms TTL=116
18. 10. 2024 18:57:20 - Reply from 142.251.36.78: bytes=32 time=351ms TTL=116
18. 10. 2024 18:57:21 - Reply from 142.251.36.78: bytes=32 time=1013ms TTL=116
18. 10. 2024 18:57:22 - Reply from 142.251.36.78: bytes=32 time=331ms TTL=116
18. 10. 2024 18:57:23 - Reply from 142.251.36.78: bytes=32 time=407ms TTL=116
18. 10. 2024 18:57:24 - Reply from 142.251.36.78: bytes=32 time=165ms TTL=116
18. 10. 2024 18:57:25 - Reply from 142.251.36.78: bytes=32 time=59ms TTL=116
18. 10. 2024 18:57:27 - Reply from 142.251.36.78: bytes=32 time=1579ms TTL=116
18. 10. 2024 18:57:30 - Reply from 142.251.36.78: bytes=32 time=2767ms TTL=116
18. 10. 2024 18:57:34 - Request timed out.
18. 10. 2024 18:57:36 - Reply from 142.251.36.78: bytes=32 time=1512ms TTL=116
18. 10. 2024 18:57:37 - Reply from 142.251.36.78: bytes=32 time=532ms TTL=116
18. 10. 2024 18:57:37 - Reply from 142.251.36.78: bytes=32 time=123ms TTL=116
18. 10. 2024 18:57:38 - Reply from 142.251.36.78: bytes=32 time=293ms TTL=116

The request ended with error.

18. 10. 2024 18:57:39 - Reply from 142.251.36.78: bytes=32 time=328ms TTL=116
18. 10. 2024 18:57:40 - Reply from 142.251.36.78: bytes=32 time=195ms TTL=116
18. 10. 2024 18:57:41 - Reply from 142.251.36.78: bytes=32 time=30ms TTL=116
18. 10. 2024 18:57:42 - Reply from 142.251.36.78: bytes=32 time=24ms TTL=116
18. 10. 2024 18:57:43 - Reply from 142.251.36.78: bytes=32 time=17ms TTL=116
18. 10. 2024 18:57:44 - Reply from 142.251.36.78: bytes=32 time=282ms TTL=116
18. 10. 2024 18:57:45 - Reply from 142.251.36.78: bytes=32 time=109ms TTL=116
18. 10. 2024 18:57:46 - Reply from 142.251.36.78: bytes=32 time=271ms TTL=116
18. 10. 2024 18:57:47 - Reply from 142.251.36.78: bytes=32 time=218ms TTL=116
18. 10. 2024 18:57:48 - Reply from 142.251.36.78: bytes=32 time=57ms TTL=116
18. 10. 2024 18:57:49 - Reply from 142.251.36.78: bytes=32 time=230ms TTL=116
18. 10. 2024 18:57:50 - Reply from 142.251.36.78: bytes=32 time=39ms TTL=116
18. 10. 2024 18:57:51 - Reply from 142.251.36.78: bytes=32 time=27ms TTL=116
18. 10. 2024 18:57:52 - Reply from 142.251.36.78: bytes=32 time=33ms TTL=116
18. 10. 2024 18:57:53 - Reply from 142.251.36.78: bytes=32 time=52ms TTL=116
18. 10. 2024 18:57:54 - Reply from 142.251.36.78: bytes=32 time=26ms TTL=116
18. 10. 2024 18:57:55 - Reply from 142.251.36.78: bytes=32 time=53ms TTL=116
18. 10. 2024 18:57:56 - Reply from 142.251.36.78: bytes=32 time=16ms TTL=116
18. 10. 2024 18:57:57 - Reply from 142.251.36.78: bytes=32 time=26ms TTL=116

Without the game running, the ping is about 30 ms and without any connection issues, so without the chance that my connection stop working always in the same time, when the request starts.

To Reproduce

Steps for the devs to reproduce the behavior:
1.) Download and install the game
2.) Install the 0.9.14.0 mode
3.) After first run, quit the game and run it again
4.) Wait few minutes and check the mode console for

[Info :Valheim Plus] Downloading config from: 'https://github.com/Grantapher/ValheimPlus/releases/download/0.9.14.0/valheim_plus.cfg'

5.) Game will be disconnected or stuck.

Troubleshooting

I Reinstalled the game and mode, trying this on another network but still the same.

Additional context

Game without any other modes or changes.

@CheliosSk CheliosSk added the bug Something isn't working label Oct 18, 2024
@CheliosSk
Copy link
Author

It looks like the issue start with the ZRpc timeout error.

[Warning: Unity Log] 10/18/2024 21:30:14: ZRpc timeout detected

Valheim plus then load and redownload the config file.

[Info   : Unity Log] Am I Host? False
[Info   :Valheim Plus] Unpatching.
[Info   :Valheim Plus] Successfully unpatched.
[Info   :Valheim Plus] Found config file at: 'C:\Program Files (x86)\Steam\steamapps\common\Valheim\BepInEx\config\valheim_plus.cfg'
[Info   :Valheim Plus] Loading config...
[Info   :Valheim Plus]
[Info   :Valheim Plus] [AdvancedBuildingMode] Section is NOT enabled.
[Info   :Valheim Plus]

Other NOT enabled sections.

[Info   :Valheim Plus] [Workbench] Section is NOT enabled.
[Info   :Valheim Plus]
[Info   :Valheim Plus] Downloading config from: 'https://github.com/Grantapher/ValheimPlus/releases/download/0.9.14.0/valheim_plus.cfg'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant