-
Notifications
You must be signed in to change notification settings - Fork 335
Description
直接访问 8080,得到如下错误:koalawiki-1 | [06:33:40 INF] Request starting HTTP/1.1 GET http://192.168.2.165:8080/ - null null
$>b__10>d.MoveNext() in /src/src/KoalaWiki/Program.cs:line 290
koalawiki-1 | [06:33:41 ERR] HTTP GET / responded 500 in 76.0108 ms
koalawiki-1 | System.IO.FileNotFoundException: Could not find file '/app/wwwroot/index.html'.
koalawiki-1 | File name: '/app/wwwroot/index.html'
koalawiki-1 | at System.IO.FileInfo.get_Length()
koalawiki-1 | at Microsoft.AspNetCore.Http.SendFileFallback.SendFileAsync(Stream destination, String filePath, Int64 offset, Nullable1 count, CancellationToken cancellationToken) koalawiki-1 | at Microsoft.AspNetCore.Http.SendFileResponseExtensions.SendFileAsyncCore(HttpResponse response, String fileName, Int64 offset, Nullable1 count, CancellationToken cancellationToken)
koalawiki-1 | at Program.<>c__DisplayClass0_0.<<
koalawiki-1 | --- End of stack trace from previous location ---
koalawiki-1 | at Serilog.AspNetCore.RequestLoggingMiddleware.Invoke(HttpContext httpContext)
koalawiki-1 | [06:33:41 ERR] Connection id "0HNFPK7S5IM66", Request id "0HNFPK7S5IM66:00000001": An unhandled exception was thrown by the application.
koalawiki-1 | System.IO.FileNotFoundException: Could not find file '/app/wwwroot/index.html'.
koalawiki-1 | File name: '/app/wwwroot/index.html'
koalawiki-1 | at System.IO.FileInfo.get_Length()
koalawiki-1 | at Microsoft.AspNetCore.Http.SendFileFallback.SendFileAsync(Stream destination, String filePath, Int64 offset, Nullable1 count, CancellationToken cancellationToken) koalawiki-1 | at Microsoft.AspNetCore.Http.SendFileResponseExtensions.SendFileAsyncCore(HttpResponse response, String fileName, Int64 offset, Nullable1 count, CancellationToken cancellationToken)
koalawiki-1 | at Program.<>c__DisplayClass0_0.<<$>b__10>d.MoveNext() in /src/src/KoalaWiki/Program.cs:line 290
koalawiki-1 | --- End of stack trace from previous location ---
koalawiki-1 | at Serilog.AspNetCore.RequestLoggingMiddleware.Invoke(HttpContext httpContext)
koalawiki-1 | at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
koalawiki-1 | at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
Originally posted by @AllenEllen in #258