CmlLib / CmlLib.Core

.NET Minecraft Launcher Library. All Version, Auth, Forge, Java, Crossplatform
MIT License
216 stars 42 forks source link

[BUG] #75

Closed Ahmed3457 closed 9 months ago

Ahmed3457 commented 1 year ago

Describe the bug A clear and concise description of what the bug is. an error message is shown at start up image

Logs If applicable, add log file to help explain your problem. log file location: <game_directory>/logs/latest.log

Environment (please complete the following information):

Additional context Add any other context about the problem here.

Ahmed3457 commented 1 year ago

btw i was using the example launcher provided in the latest release

rudde0 commented 1 year ago

Could you try again with this changes:

ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
AlphaBs commented 1 year ago

Old Windows does not support latest TLS/SSL connection.

Especially Windows 7 users often experience this error. It can be solved by just running Windows update.