I think the above error is being cuased by general slow running of the system. This is specific to one environment which has no apparent difference.
We are seeing a socket wrror in this environment
WARN 2022-10-07 03:45:25,640 [33 ] c.Auditing.HttpContextClientInfoProvider - System.Net.Sockets.SocketException (11001): No such host is known. at System.Net.Dns.GetHostEntryOrAddressesCore(IPAddress address, Boolean justAddresses, AddressFamily addressFamily, ValueStopwatch stopwatch) at System.Net.Dns.GetHostEntry(IPAddress address) at Abp.AspNetCore.Mvc.Auditing.HttpContextClientInfoProvider.GetComputerName() WARN 2022-10-07 03:45:26,487 [33 ] c.Auditing.HttpContextClientInfoProvider - System.Net.Sockets.SocketException (11001): No such host is known. at System.Net.Dns.GetHostEntryOrAddressesCore(IPAddress address, Boolean justAddresses, AddressFamily addressFamily, ValueStopwatch stopwatch) at System.Net.Dns.GetHostEntry(IPAddress address) at Abp.AspNetCore.Mvc.Auditing.HttpContextClientInfoProvider.GetComputerName() WARN 2022-10-07 03:45:27,346 [30 ] c.Auditing.HttpContextClientInfoProvider - System.Net.Sockets.SocketException (11001): No such host is known. at System.Net.Dns.GetHostEntryOrAddressesCore(IPAddress address, Boolean justAddresses, AddressFamily addressFamily, ValueStopwatch stopwatch) at System.Net.Dns.GetHostEntry(IPAddress address) at Abp.AspNetCore.Mvc.Auditing.HttpContextClientInfoProvider.GetComputerName()
It happens everytime we load a view. The error is always throw fromscript below in the common-scripts file. Not able to share the code sorry
The excat error we get is "NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://XXXXXXXXXX/api/services/app/Session/GetCurrentLoginInformations'."
var app = app || {}; (function () { abp.services.app.session.getCurrentLoginInformations({ async: false }).done(function (result) { app.session = result; }); })();
If { async: false } is changed to { async: true } the error is not throw. Is there any negative impact changing this to true? Does this provide any further light on the issue?
Cheers
Thanks,
What settings would you expect for the default.cshtml? Our git repo does not show any change to this file from stock. All of the Default.cshtml files for the themes have the same build settings.
Also, the issue goes away if we restart the server or wait (random length of time). If the file were not embeded correctly you would expect it to fail 100% of the time.
If you mean the FalconDefaultBrandViewComponent.cs It is not. It is odd as it has happened twice in approx 4 weeks and is fine if you restart the server. It dosn;t seem like a file has the wrong properties
Thanks,
Everything runs as normal - but jsut this one method seems to be the one that fails.
<Event>
<System>
<Provider Name=".NET Runtime"/>
<EventID>1026</EventID>
<Level>1</Level>
<Task>0</Task>
<Keywords>Keywords</Keywords>
<TimeCreated SystemTime="2022-10-03T02:49:36Z"/>
<EventRecordID>799541265</EventRecordID>
<Channel>Application</Channel>
<Computer>pd1sdwk00001B</Computer>
<Security/>
</System>
<EventData>
<Data>Application: dotnet.exe
CoreCLR Version: 6.0.822.36306
.NET Version: 6.0.8
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Net.Sockets.SocketException (10013): An attempt was made to access a socket in a way forbidden by its access permissions.
at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)
at System.Net.Sockets.Socket.Listen(Int32 backlog)
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__DisplayClass30_01.<<StartAsync>g__OnBind|0>d.MoveNext() --- End of stack trace from previous location --- 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.AddressesStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(IEnumerable
1 listenOptions, AddressBindContext context, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Hosting.WebHost.StartAsync(CancellationToken cancellationToken)
at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token, String startupMessage)
at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token, String startupMessage)
at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token)
at Microsoft.AspNetCore.Hosting.WebHostExtensions.Run(IWebHost host)
at Syntaq.Falcon.Web.Startup.Program.Main(String[] args) in D:\Repos\Syntaq.Falcon\src\Syntaq.Falcon.Web.Mvc\Startup\Program.cs:line 13
Unfortunetley we dont have any steps to reproduce this problem. We only know how to rectify the issue.
IN terms of the log file. Are you referring to the aspnetzero audit log or the web server log. Both files has production data that we need to reolve, is is there anything specific we can look for or dig out to help?
Hi...
No we dont use redis cach management or any chace libraries and no we dont have any users in Germany, all local in Australia.
Any information on the steps to use the stepper componnet?
Where is the wizard css in 11.1? The wizard.js is there but no css