MCCTeam / Minecraft-Console-Client

Lightweight console for Minecraft chat and automated scripts
https://mccteam.github.io
Other
1.57k stars 380 forks source link

sometimes it stuck at "Checking if server is running forge..." #1357

Closed twnku closed 3 years ago

twnku commented 3 years ago
AppVeyor build 426, built on Fri 11/27/2020 from commit 9b5fde0
[MCC] [Settings] Loading Settings from \..\Minecraft Console Client\MinecraftClient.ini
Resolving survival.manacube.net...
13:37:42 [MCC] [Translations] No translation file found for en. (Looked '\..\Minecraft Console Client\\lang\mcc\en.ini'
13:37:42 [MCC] [Translations] No translation file found for system language (en). (Looked '\..\Minecraft Console Client\\lang\mcc\en.ini'
13:37:42 Color test: Your terminal should display [0123456789ABCDEF]: [0123456789ABCDEF]
Connecting to Minecraft.net...
13:37:42 Performing request to authserver.mojang.com
13:37:42 > POST /authenticate HTTP/1.1
13:37:42 > Host: authserver.mojang.com
13:37:42 > User-Agent: MCC/1.16.4
13:37:42 > Content-Type: application/json
13:37:42 > Content-Length: 175
13:37:42 > Connection: close
13:37:42 >
13:37:42 > {"agent": { "name": "Minecraft", "version": 1 }, "username": "[Redacted]", "password": "[Redacted]", "clientToken": "[Redacted]" }

13:37:42 < HTTP/1.1 200 OK
13:37:42 < Content-Type: application/json
13:37:42 < Content-Length: 529
13:37:42 < Connection: close
13:37:42 < Accept-Ranges: bytes
13:37:42 < Date: Sun, 29 Nov 2020 13:37:42 GMT
13:37:42 < Server: Restlet-Framework/2.4.1
13:37:42 < Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept
13:37:42 < X-Cache: Miss from cloudfront
13:37:42 < Via: 1.1 603961b1b2dad8873023f00c2744bd6f.cloudfront.net (CloudFront)
13:37:42 < X-Amz-Cf-Pop: IAD66-C2
13:37:42 < X-Amz-Cf-Id: [Redacted]==
13:37:42 <
13:37:42 < {"accessToken":"[Redacted]","clientToken":"[Redacted]","availableProfiles":[{"name":"[Redacted]","id":"[Redacted]"}],"selectedProfile":{"name":"[Redacted]","id":"[Redacted]"}}
Success. (session ID: [Redacted])
13:37:42 Using Minecraft version 1.15.2 (protocol v578)
Checking if server is running Forge...

so i was using the old version before, then after #1321 i update the console client for latest version. but i noticed that there is "Checking if server is running Forge...", and sometimes for few servers it will took quite long until it changes to "Logging in.."

is it possible to change the timeout settings for checking the forge version or logging in? like it will timeout itself after 5-10 minutes?

ORelio commented 3 years ago

Added TCP read timeout to server ping as well. Hop it helps.

twnku commented 3 years ago

is possible if i can change the timeout limit?

ReinforceZwei commented 3 years ago

Technically yes. You have to download this project and open it with Visual Studio 2017/2019, change the timeout value and recompile it yourself.

ORelio commented 3 years ago

Not yet but we could add a setting if necessary.

At87668 commented 11 months ago

Not yet but we could add a setting if necessary.

Please add a setting in config, thanks.

milutinke commented 11 months ago

Not yet but we could add a setting if necessary.

Please add a setting in config, thanks.

Already added a long time ago.