Code Monkey home page Code Monkey logo

Comments (14)

derekhe avatar derekhe commented on June 25, 2024

from msfs2020-map-enhancement.

N71ST avatar N71ST commented on June 25, 2024

Seems to be a consistent pattern that the program has a backend server "Reached max retry" error on first load but will run fine after clicking "Reload."
Running Windows 11 23H2 Build (22631-2715).
Seems to be a new behavior since 7.4.

MSFS version: Store
MSFS version: 1.35.15.0 (SU 14 latest beta)
Mod version: 7.4.1
Device ID: 5949GQASBTJ2SA2VATB257N9V8RVCJPNWR4C7C1QBF1V06XH73J0
Screenshot:
image

from msfs2020-map-enhancement.

N71ST avatar N71ST commented on June 25, 2024

from msfs2020-map-enhancement.

richgillin avatar richgillin commented on June 25, 2024

Same result here. Win11 23H2. with 7.4.4 Pro. Before and after update. Detail: Error: Reached max retry

from msfs2020-map-enhancement.

derekhe avatar derekhe commented on June 25, 2024

Please all try the method here: #361 (comment)
And paste me the result, and I can analysis.

from msfs2020-map-enhancement.

N71ST avatar N71ST commented on June 25, 2024

from msfs2020-map-enhancement.

derekhe avatar derekhe commented on June 25, 2024

Where is the screenshots? I can't see them.

from msfs2020-map-enhancement.

N71ST avatar N71ST commented on June 25, 2024

from msfs2020-map-enhancement.

matthewvh avatar matthewvh commented on June 25, 2024

My issue, 485,was closed last week even though it wasnt actually fixed. This is theissue I was having and am still having. I took a screenshot of the command prompt. Please see below. This version also causes a lot of bandwidth/offline issues
msfs core

from msfs2020-map-enhancement.

N71ST avatar N71ST commented on June 25, 2024

from msfs2020-map-enhancement.

derekhe avatar derekhe commented on June 25, 2024

from msfs2020-map-enhancement.

N71ST avatar N71ST commented on June 25, 2024

from msfs2020-map-enhancement.

matthewvh avatar matthewvh commented on June 25, 2024

from msfs2020-map-enhancement.

derekhe avatar derekhe commented on June 25, 2024

It would help if you could tell me which port is occupied by which other software?Also, this error occurs EVERY time the program is first executed. (I use Apple Maps) But, every time this error occurs,  clicking on “OK” to ackmowledge the error message and then clicking the “Reload” button on the startup screen ALWAYS resolves it without me doing anything else. So, somehow, the port conflict gets resolved just by clicking “Reload” on the startup screen. This behavior is 100% repeatable.  If clicking “Reload” works every time, then whatever code executes when I click “Reload” makes the error go away without my having to do anything else. This suggests that whatever causes the error and whatever fixes the error are both in your code or there is a timing issue. On Nov 20, 2023, at 5:59 PM, hesicong @.> wrote: Your port is occupied by other software. Please visit the wiki page to find out the solution

------------------ Original ------------------ From: N71ST @.
> Date: Tue,Nov 21,2023 4:42 AM To: derekhe @.> Subject: Re: [derekhe/msfs2020-map-enhancement] Version 7.4.1 beta: Programfails with backend server error on first run but always loads ok after I hitreload. (Issue #502) Here is the output from core.exe: C:\Program Files\MSFS2020 Map Enhancement\resources\core\release>core [15:31:28 INF] App started ver=7.4.4.0 device id=5949GQASBTJ2SA2VATB257N9V8RVCJPNWR4C7C1QBF1V06XH73J0 [15:31:28 INF] Starting server [15:31:28 INF] Configuring YARP WebProxyConfig { Address = , BypassOnLocal = , UseDefaultCredentials = } [15:31:49 INF] Device Information {"OS": {"Name": "Microsoft Windows 11 Pro", "VersionString": "10.0.22631"}, "CPU": {"NumberOfCores": 24, "NumberOfLogicalProcessors": 32, "Name": "13th Gen Intel(R) Core(TM) i9-13900K"}, "Memory": {"TotalPhysical": 34114117632, "AvailablePhysical": 17533911040}, "VideoController": {"Name": "USB Mobile Monitor Virtual Display", "DriverVersion": "2.0.0.1", "Manufacturer": "Amyuni"}, "DriveList": [{"Caption": "ST6000DM004-2EH11C", "Size": 6001172513280}, {"Caption": "Samsung SSD 980 PRO 2TB", "Size": 2000396321280}, {"Caption": "Seagate FireCuda 520 SSD ZP2000GM30002", "Size": 2000396321280}, {"Caption": "Samsung SSD 970 EVO Plus 2TB", "Size": 2000396321280}, {"Caption": "Samsung SSD 870 EVO 2TB", "Size": 2000396321280}]} [15:31:50 ERR] Hosting failed to start System.IO.IOException: Failed to bind to address http://0.0.0.0:42098: address already in use.
---> Microsoft.AspNetCore.Connections.AddressInUseException: Only one usage of each socket address (protocol/network address/port) is normally permitted.
---> System.Net.Sockets.SocketException (10048): Only one usage of each socket address (protocol/network address/port) is normally permitted. at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName) at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Bind(EndPoint localEP) at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint) at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
--- End of inner exception stack trace --- at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind() at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass28_01.<<StartAsync&gt;g__OnBind|0&gt;d.MoveNext() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.EndpointsStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(ListenOptions[] listenOptions, AddressBindContext context, Func2 useHttps, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication1 application, CancellationToken cancellationToken) at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken) at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync&gt;b__15_1(IHostedService service, CancellationToken token) at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List1 exceptions, Func3 operation) [15:31:50 FTL] Image server unexpected error System.IO.IOException: Failed to bind to address http://0.0.0.0:42098: address already in use.
---> Microsoft.AspNetCore.Connections.AddressInUseException: Only one usage of each socket address (protocol/network address/port) is normally permitted.
---> System.Net.Sockets.SocketException (10048): Only one usage of each socket address (protocol/network address/port) is normally permitted. at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName) at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Bind(EndPoint localEP) at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint) at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
--- End of inner exception stack trace --- at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind() at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass28_01.<<StartAsync&gt;g__OnBind|0&gt;d.MoveNext() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.EndpointsStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(ListenOptions[] listenOptions, AddressBindContext context, Func2 useHttps, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication1 application, CancellationToken cancellationToken) at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken) at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync&gt;b__15_1(IHostedService service, CancellationToken token) at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List1 exceptions, Func3 operation) at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Start(IHost host) at core.ImageServer.ImageServer.StartServer() in D:\dev\msfs2020-map-enhancement-dotnet\core\ImageServer\ImageServer.cs:line 37 at core.Program.Main(String[] args) in D:\dev\msfs2020-map-enhancement-dotnet\core\Program.cs:line 37 C:\Program Files\MSFS2020 Map Enhancement\resources\core\release> From: hesicong @.
> Sent: Monday, November 20, 2023 7:06 AM To: derekhe/msfs2020-map-enhancement @.> Cc: N71ST @.>; Author @.> Subject: Re: [derekhe/msfs2020-map-enhancement] Version 7.4.1 beta: Program fails with backend server error on first run but always loads ok after I hit reload. (Issue #502) Where is the screenshots? I can't see them. — Reply to this email directly, view it on GitHub <#502 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AT5YNIAVT5EWUEX7KDJ6EATYFNBTBAVCNFSM6AAAAAA7P423M6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJYHE2DCNRXGA> . You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AT5YNIDOKWN4X6SRSWWKPXTYFNBTBA5CNFSM6AAAAAA7P423M6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTMNLMOM.gif> Message ID: @. @.> > — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

I guess the core.exe starts slow so the software report error. I will add more logs to help me investigate why.

from msfs2020-map-enhancement.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.