iamcco / markdown-preview.nvim

markdown preview plugin for (neo)vim
MIT License
6.36k stars 268 forks source link

Preview produces 400 Bad Requests in Browser, Unsupported Protocol version #657

Closed sboesebeck closed 3 months ago

sboesebeck commented 3 months ago

Describe the bug I try to use Markdown Preview. Type in :MarkdownPreview and the browser opens. White page. The browser shows errors in the console:

[Error] Failed to load resource: the server responded with a status of 400 (Bad Request) (socket.io, line 0)    http://localhost:8694/socket.io/?bufnr=11&EIO=3&transport=polling&t=OvjTJ9T

When calling the link, the result is:

{
  "code": 5,
  "message": "Unsupported protocol version"
}

To Reproduce Steps to reproduce the behavior:

  1. open a markdown file in neovim
  2. type :MarkdownPreview
  3. admire the blank page

Expected behavior I thought, I'd see some kind of preview 😉

Desktop (please complete the following information):

Log:

empty
sboesebeck commented 3 months ago

I am not sure, what happened, but it seems to be fixed now.