question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Internal Error 500: Running any snippet will cause an error

See original GitHub issue

Describe the bug

I used the command ‘dotnet try --verbose’ and the site started up. But if I run any code snippets on the website, I get an error:

[MLS.Agent.Middleware.ExceptionFilter] ? System.NotSupportedException: Unsupported log file format. Latest supported version is 7, the log file has version 9.

Did this error occur while using dotnet try or online?

  • dotnet-try
  • online

What kind of error was it?

  • User Interface (UI): For example the output never displayed
  • Service Error: For example “The service is temporarily unavailable. We are working on it”
  • Other:

2020-07-08T08:24:01.7676428Z [|6143940c-482c8867e8e63d61.1.] [MLS.Agent.Middleware.ExceptionFilter] ? System.NotSupportedException: Unsupported log file format. Latest supported version is 7, the log file has version 9. at Microsoft.Build.Logging.StructuredLogger.BinLogReader.Replay(Stream stream) in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BinLogReader.cs:line 53

Screenshots

image image

Please complete the following:

  • OS
    • Windows 10
    • macOS
    • Linux (Please specify distro)
    • iOS
    • Android
  • Browser
    • Chrome
    • Edge
    • Safari

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
zmjackcommented, Jul 9, 2020

@colombod Thanks! I tried the newer version and it’s working now.

But I think it still has some bugs.

Please look at the GIF: Honeycam 2020-07-09 15-54-25

When I run a snippet, a red block will be displayed if the file ‘package_fullBuild.binlog’ is not in the directory (./snippets). Wait until the file is generated and everything is fine.

1reaction
colombodcommented, Jul 14, 2020

@colombod Thanks! I tried the newer version and it’s working now.

But I think it still has some bugs.

Please look at the GIF: Honeycam 2020-07-09 15-54-25

When I run a snippet, a red block will be displayed if the file ‘package_fullBuild.binlog’ is not in the directory (./snippets). Wait until the file is generated and everything is fine.

Looks like that the binlog generation is in flight when you attempt the first run. Looks like a race condition to address

Read more comments on GitHub >

github_iconTop Results From Across the Web

500 Internal Server Error - HTTP - MDN Web Docs - Mozilla
This error response is a generic "catch-all" response. Usually, this indicates the server cannot find a better 5xx error code to response.
Read more >
HTTP 500 Internal Server Error: What It Means & How to Fix It
This error is a server response to stop sending requests because of overloaded resources. This code might show up if your site needs...
Read more >
How to Fix 500 Internal Server Error - YouTube
Read the whole post about 500 Internal Server Error here - https://visualcomposer.com/blog/how-to-fix- http - error - 500 /In this video, I' ll ......
Read more >
500 Internal Server Error for php file not for html - Stack Overflow
Are you typing /index. · Check your logs ( /var/log/apache/error. · may your php code have some errors · 500 Internal Server Error...
Read more >
How to Fix a 500 Internal Server Error on Your WordPress Site
If the 500 error is displaying because of a fatal PHP error, you can also try enabling PHP error reporting. Simply add the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found