Unable to download Bug report

I am getting below error when I click on download. I couldn’t right click to save. So just left clicked and it opened new page. but it didn’t download anything.

at Microsoft.AspNetCore.Http.RequestDelegateFactory.g__ExecuteAwaited|129_0(ValueTask1 valueTask, HttpContext httpContext, JsonTypeInfo1 jsonTypeInfo)

91

at Duplicati.WebserverCore.Middlewares.WebsocketExtensions.<>c__DisplayClass0_0.<b__0>d.MoveNext()

92

— End of stack trace from previous location —

93

at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)

94

fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[1]

95

An unhandled exception has occurred while executing the request.

96

Duplicati.WebserverCore.Exceptions.UnauthorizedException: Authorization failed due to missing cookie.

97

at Duplicati.WebserverCore.Endpoints.V1.Auth.<>c.<b__3_0>d.MoveNext()

98

— End of stack trace from previous location —

99

at Microsoft.AspNetCore.Http.RequestDelegateFactory.g__ExecuteAwaited|92_0[T](Task`1 task)

100

at Duplicati.WebserverCore.Middlewares.HostnameFilter.InvokeAsync(EndpointFilterInvocationContext context, EndpointFilterDelegate next)

101

at Duplicati.WebserverCore.Middlewares.LanguageFilter.InvokeAsync(EndpointFilterInvocationContext context, EndpointFilterDelegate next)

102

at Microsoft.AspNetCore.Http.RequestDelegateFactory.g__ExecuteAwaited|129_0(ValueTask1 valueTask, HttpContext httpContext, JsonTypeInfo1 jsonTypeInfo)

103

at Duplicati.WebserverCore.Middlewares.WebsocketExtensions.<>c__DisplayClass0_0.<b__0>d.MoveNext()

104

— End of stack trace from previous location —

105

at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)

106

fail: Microsoft.AspNetCore.Server.Kestrel[13]

107

Connection id “0HN8OGNVRES8K”, Request id “0HN8OGNVRES8K:00000001”: An unhandled exception was thrown by the application.

108

System.InvalidOperationException: Response Content-Length mismatch: too few bytes written (0 of 7357844).

109

fail: Microsoft.AspNetCore.Server.Kestrel[13]

110

Connection id “0HN8OGNVRES8L”, Request id “0HN8OGNVRES8L:00000001”: An unhandled exception was thrown by the application.

111

System.InvalidOperationException: Response Content-Length mismatch: too few bytes written (0 of 7357844).

112

fail: Microsoft.AspNetCore.Server.Kestrel[13]

113

Connection id “0HN8OGNVRES8M”, Request id “0HN8OGNVRES8M:00000001”: An unhandled exception was thrown by the application.

114

System.InvalidOperationException: Response Content-Length mismatch: too few bytes written (0 of 7357844).

115

fail: Microsoft.AspNetCore.Server.Kestrel[13]

116

Connection id “0HN8OGNVRES8N”, Request id “0HN8OGNVRES8N:00000001”: An unhandled exception was thrown by the application.

117

System.InvalidOperationException: Response Content-Length mismatch: too few bytes written (0 of 7357844).

118

fail: Microsoft.AspNetCore.Server.Kestrel[13]

119

Connection id “0HN8OGNVRES8O”, Request id “0HN8OGNVRES8O:00000001”: An unhandled exception was thrown by the application.

120

System.InvalidOperationException: Response Content-Length mismatch: too few bytes written (0 of 7357844).

121

fail: Microsoft.AspNetCore.Server.Kestrel[13]

122

Connection id “0HN8OGNVRES8P”, Request id “0HN8OGNVRES8P:00000001”: An unhandled exception was thrown by the application.

123

System.InvalidOperationException: Response Content-Length mismatch: too few bytes written (0 of 7357844).

124

fail: Microsoft.AspNetCore.Server.Kestrel[13]

125

Connection id “0HN8OGNVRES8Q”, Request id “0HN8OGNVRES8Q:00000001”: An unhandled exception was thrown by the application.

126

System.InvalidOperationException: Response Content-Length mismatch: too few bytes written (0 of 7357844).

127

fail: Microsoft.AspNetCore.Server.Kestrel[13]

128

Connection id “0HN8OGNVRES96”, Request id “0HN8OGNVRES96:00000001”: An unhandled exception was thrown by the application.

129

System.InvalidOperationException: Response Content-Length mismatch: too few bytes written (0 of 7357843).

130

fail: Microsoft.AspNetCore.Server.Kestrel[13]

131

Connection id “0HN8OGNVRES97”, Request id “0HN8OGNVRES97:00000001”: An unhandled exception was thrown by the application.

132

System.InvalidOperationException: Response Content-Length mismatch: too few bytes written (0 of 7357843).

Thanks for reporting this. I have created an issue for fixing the bugreport download.

Do you need the bugreport database for something?

Thanks for looking into it. I was just exploring the available options. For now, I don’t need the bug report. But wanted to test integrity of my backup to check if everything fine or not.

The bugreport is essentially a copy of the local database with an attempt to remove all (local) filenames and other potentially sensitive information. The feature is intended to give developers a way to troubleshoot problems with the local database without exposing the any sensitive information that would otherwise be exposed.

Because you reported the problem, I have a fix ready for the bugreport problem.

The integrity test is part of each backup. Duplicati will always verify the remote storage, and sample a few files at the end of the backup to ensure everything is in order.