MCCTeam / Minecraft-Console-Client

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

Forge StartEncryption Handshake did not complete successfully #1189

Closed henrydatei closed 4 years ago

henrydatei commented 4 years ago

Prerequisites

Bug description A bug report should contain the following items:

[Main]

General settings

Leave blank to prompt user on startup

Use "-" as password for offline mode

login= password= serverip=minetania.net

Advanced settings

language=en_GB consoletitle=%username%@%serverip% - Minecraft Console Client internalcmdchar=slash # Use 'none', 'slash' or 'backslash' splitmessagedelay=2 # Seconds between each part of a long message botowners=Player1 # Use name list or myfile.txt with one name per line botmessagedelay=2 # Seconds to delay between message a bot makes to avoid accidental spam mcversion=1.12.2 # Use 'auto' or '1.X.X' values brandinfo=vanilla # Use 'mcc','vanilla', or 'none' chatbotlogfile= # Leave empty for no logfile privatemsgscmdname=tell # Used by RemoteControl bot showsystemmessages=true # System messages for server ops showxpbarmessages=true # Messages displayed above xp bar showchatlinks=true # Show links embedded in chat messages terrainandmovements=true # Uses more ram, cpu, bandwidth inventoryhandling=true # Toggle inventory handling sessioncache=disk # How to retain session tokens. Use 'none', 'memory' or 'disk' resolvesrvrecords=fast # Use 'false', 'fast' (5s timeout), or 'true'. Required for joining some servers. accountlist=accounts.txt # See README > 'Servers and Accounts file' for more info about this file serverlist=servers.txt # See README > 'Servers and Accounts file' for more info about this file playerheadicon=true # Only works on Windows XP-8 or Windows 10 with old console exitonfailure=false # Disable pauses on error, for using MCC in non-interactive scripts debugmessages=true # Please enable this before submitting bug reports. Thanks! scriptcache=true # Cache compiled scripts for faster load on low-end devices timestamps=false # Prepend timestamps to chat messages

[AppVars]

yourvar=yourvalue

can be used in some other fields as %yourvar%

%username% and %serverip% are reserved variables.

[Proxy] enabled=false # Use 'false', 'true', or 'login' for login only type=HTTP # Supported types: HTTP, SOCKS4, SOCKS4a, SOCKS5 server=0.0.0.0:0000 # Proxy server must allow HTTPS for login, and non-443 ports for playing username= # Only required for password-protected proxies password= # Only required for password-protected proxies

[ChatFormat]

Do not forget to uncomment (remove '#') these settings if modifying them

builtins=true # MCC built-in support for common message formats

public=^<([a-zA-Z0-9_]+)> (.+)$

private=^([a-zA-Z0-9_]+) whispers to you: (.+)$

tprequest=^([a-zA-Z0-9_]+) has requested (?:to|that you) teleport to (?:you|them).$

[MCSettings] enabled=true # If disabled, settings below are not sent to the server locale=en_US # Use any language implemented in Minecraft renderdistance=medium # Use tiny, short, medium, far, or chunk amount [0 - 255] difficulty=normal # MC 1.7- difficulty. peaceful, easy, normal, difficult chatmode=enabled # Use 'enabled', 'commands', or 'disabled'. Allows to mute yourself... chatcolors=true # Allows disabling chat colors server-side main_hand=left # MC 1.9+ main hand. left or right skin_cape=true skin_hat=true skin_jacket=false skin_sleeve_left=false skin_sleeve_right=false skin_pants_left=false skin_pants_right=false

Bot Settings

[Alerts] enabled=false alertsfile=alerts.txt excludesfile=alerts-exclude.txt beeponalert=true

[AntiAFK] enabled=false delay=600 #10 = 1s command=/ping

[AutoRelog] enabled=false delay=10 retries=3 #-1 = unlimited kickmessagesfile=kickmessages.txt

[ChatLog] enabled=false timestamps=true filter=messages logfile=chatlog-%username%-%serverip%.txt

[Hangman] enabled=false english=true wordsfile=hangman-en.txt fichiermots=hangman-fr.txt

[ScriptScheduler] enabled=false tasksfile=tasks.ini

[RemoteControl] enabled=true autotpaccept=true tpaccepteveryone=false

[AutoRespond] enabled=false matchesfile=matches.ini

* **What I expected to happen instead:** Join the server successfully
* **If applicable, add screenshots to help explain your problem:** That's the output

$ mono MinecraftClient_new.exe MinecraftClient.ini Console Client for MC 1.4.6 to 1.16.1 - v1.16.1 - By ORelio & Contributors AppVeyor build 363, built on Sat 08/08/2020 from commit 7415109 [MCC] [Settings] Loading Settings from /home/henry/Downloads/MinecraftClient.ini Resolving minetania.net... Found server mc2.minetania.net:25565 for domain minetania.net [SessionCache] Initializing FileSystemWatcher for file: /home/henry/Downloads/SessionCache.ini Loading session cache from disk: SessionCache.ini Loaded session: : Session data has been successfully loaded from disk. Connecting to Minecraft.net... Performing request to authserver.mojang.com

POST /authenticate HTTP/1.1 Host: authserver.mojang.com User-Agent: MCC/1.16.1 Content-Type: application/json Content-Length: 149 Connection: close

{"agent": { "name": "Minecraft", "version": 1 }, "username": "", "password": "", "clientToken": "***" }

< HTTP/1.1 200 OK < Content-Type: application/json < Content-Length: 535 < Connection: close < Accept-Ranges: bytes < Date: Sun, 09 Aug 2020 10:38:12 GMT < Server: Restlet-Framework/2.4.1 < Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept < X-Cache: Miss from cloudfront < Via: 1.1 c6649c9545bbfa66bc79c9ba552d7a4a.cloudfront.net (CloudFront) < X-Amz-Cf-Pop: < X-Amz-Cf-Id: < < {"accessToken":"","selectedProfile":{"legacy":true,"name":"","id":""},"availableProfiles":[{"legacy":true,"name":"","id":""}]} Saving session cache to disk Success. (session ID: ) Using Minecraft version 1.12.2 (protocol v340) Checking if server is running Forge... §1127Firefall 1.8.x, 1.9.x, 1.10.x, 1.11.x, 1.12.x, 1.13.x, 1.14.x, 1.15.x, 1.16.x§f§3§lMineTania.net§3§l §f§l- Dein Adventure Netzwerk §3[§71§3.§78§3-§71§3.§716§3] §3Beta Launch Week3145200 {"version":{"name":"Firefall 1.8.x, 1.9.x, 1.10.x, 1.11.x, 1.12.x, 1.13.x, 1.14.x, 1.15.x, 1.16.x","protocol":736},"players":{"max":5200,"online":313},"description":{"extra":[{"color":"dark_aqua","bold":true,"clickEvent":{"action":"open_url","value":"http://MineTania.net"},"text":"MineTania.net"},{"color":"dark_aqua","bold":true,"text":" "},{"color":"white","bold":true,"text":"- Dein Adventure Netzwerk "},{"color":"dark_aqua","text":"["},{"color":"gray","text":"1"},{"color":"dark_aqua","text":"."},{"color":"gray","text":"8"},{"color":"dark_aqua","text":"-"},{"color":"gray","text":"1"},{"color":"dark_aqua","text":"."},{"color":"gray","text":"16"},{"color":"dark_aqua","text":"] "},{"color":"dark_aqua","text":"Beta Launch Week"}],"text":""},"favicon":"data:image/png;base64,C","modinfo":{"type":"FML","modList":[]}} Loading session cache from disk: SessionCache.ini Loaded session: : Loaded session: :*** Server is running Forge without mods. Server version : Firefall 1.8.x, 1.9.x, 1.10.x, 1.11.x, 1.12.x, 1.13.x, 1.14.x, 1.15.x, 1.16.x (protocol v736, with Forge). Server reports a different version than manually set. Login may not work. Translations file loaded. Version is supported. Logging in... Crypto keys & hash generated. Checking Session... Performing request to sessionserver.mojang.com

POST /session/minecraft/join HTTP/1.1 Host: sessionserver.mojang.com User-Agent: MCC/1.16.1 Content-Type: application/json Content-Length: 401 Connection: close

{"accessToken":"","selectedProfile":"","serverId":"570de6048ef80e21fb1d69d8fe1faabdc2ff75f5"}

< HTTP/1.1 204 No Content < Connection: close < Date: Sun, 09 Aug 2020 10:38:13 GMT < x-minecraft-request-id: 30bf5a971419aede < Cache-Control: no-store < X-Cache: Miss from cloudfront < Via: 1.1 df792ea3bbbe656e2f5c7b61aa85cc47.cloudfront.net (CloudFront) < X-Amz-Cf-Pop: < X-Amz-Cf-Id: < <

Login failed :

Forge StartEncryption Handshake did not complete successfully Failed to login to this server. Not connected to any server. Use '/help' for help. Or press Enter to exit Minecraft Console Client.


* **Specify which kind of operating system you are running:** Ubuntu 18.04.4 LTS
ORelio commented 4 years ago

Thanks for providing debug output. I think it's a regression from a recent commit, should be okay now in the newest build.