JustArchiNET / ArchiSteamFarm

C# application with primary purpose of farming Steam cards from multiple accounts simultaneously.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swagger url is not obtainable in win x64

matroxI opened this issue · comments

Checklist

ASF version

Latest stable release

ASF variant

win-x64

Bug description

When I try to load http://localhost:1242/swagger I get an error http 500. Everything is fine with the generic version of the application. This is not only happening to me and seems to be a common problem for all win x64 users. I checked on three different computers with win x64, which are located on different networks (remote servers) and all had this problem. The exact same behavior was mentioned in this issue.

Expected behavior

Actual behavior

Steps to reproduce

No response

Possible reason/solution

No response

Can you help us with this bug report?

No, I don't have time, skills or willings for any of that

Full log.txt recorded during reproducing the problem

-

Global ASF.json config file

No response

BotName.json config of all affected bot instances

No response

Additional info

No response

Can confirm, indeed does not work on Win-x64. Full log attached.
log.txt

I do confirm the behavior.

In my opinion is how NET 8.0 is handling the JsonSerializer when publishing for release, since in development/debugging mode i can run just fine on my browser the swagger endpoint.

Documentation: https://devblogs.microsoft.com/dotnet/system-text-json-in-dotnet-8/

I can try to fix it, but can't guarantee at this time of the year.

Thanks for report, this has been fixed as of V5.5.1.0.