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.

Error could not find suitable formatter

See original GitHub issue

Hi,

Thank you so much for creating this amazing project, I hope I’ll be able to help in the future.

After running node server.js I got unlimited number of errors like the following:

{"name":"Wild Duck API","hostname":"Mohammed-Notebook","pid":31868,"level":40,"req":{"method":"GET","url":"/__webpack_hmr","headers":{"host":"localhost:8080","connection":"keep-alive","accept":"text/event-stream","cache-control":"no-cache","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36","referer":"http://localhost:8080/","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.8"},"remoteAddress":"127.0.0.1","remotePort":40726},"err":{"message":"could not find suitable formatter","name":"NotAcceptableError","stack":"NotAcceptableError: could not find suitable formatter\n at ServerResponse.__send (/path/wildduck/node_modules/restify/lib/response.js:400:32)\n at ServerResponse.send (/path/wildduck/node_modules/restify/lib/response.js:221:24)\n at /path/wildduck/node_modules/restify/lib/server.js:788:17\n at /path/wildduck/node_modules/restify/lib/server.js:1145:16\n at Immediate.<anonymous> (/path/wildduck/node_modules/vasync/lib/vasync.js:175:30)\n at runCallback (timers.js:785:20)\n at tryOnImmediate (timers.js:747:5)\n at processImmediate [as _immediateCallback] (timers.js:718:5)","code":"NotAcceptable"},"msg":"error retrieving formatter","time":"2017-10-12T13:09:07.255Z","v":0}

They appear one after one on the terminal.

My operating system is Linux Mint 18.02 which is built on top of Ubuntu 16.04

How can I fix this issue please?

All the best, Mohammed

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
andris9commented, Oct 12, 2017

Great! Maybe it was a mistake to use port 8080 for the API as it is quite common. Anyway you can also change the API port from the api settings.

1reaction
andris9commented, Oct 12, 2017

Something seems to be trying to openwebpa k event stream urls and the Wild Duck API does not know how to respond. Check that you do not have your webpack app open in some browser tab

Read more comments on GitHub >

github_iconTop Results From Across the Web

ESLint can't be used as a formatter until ...
The ESLint plugin seems to have stopped formatting TypeScript files. I searched online, changelogs, and open issues. I cannot find any ...
Read more >
Problem with using Black code formatter; can't import _ast3
However, when I try to run the "black --help" after installation, I get the error: "ImportError: cannot import the name '_ast3' from ...
Read more >
Resolved - Accessing String Tables from Code
Dict without formatter: Error parsing format string: No suitable Formatter could be found at 53. // Array, with and without formatter: Error ......
Read more >
Getting error while issuing SDCLI format command from ...
While running the SDCLI command from command prompt for formatting PL/SQL code, I am getting the below error. Could not find a suitable...
Read more >
SAP message PT045 Could not determine a suitable format
What causes this issue? The system could not establish a suitable format for the number of lines/columns in the report you wish to...
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