GrblServer icon indicating copy to clipboard operation
GrblServer copied to clipboard

Maximum accepted frame size

Open dronecz opened this issue 10 years ago • 1 comments

Hi,

I just did make GrblServer work on Raspberry Pi 2 and when I try to upload gcode file, whole webpage grey out and do nothing. When I look to RPi via SSH a have on previus line this message:

Frame size of 531313 bytes exceeds maximum accepted frame size.

When I try tu upload another file (about 60 kB), everything is ok and I can execute CNC.

I there somewhere some settings which I can change to make it work?

I´ve build CNC and I want to use your sw control it.

Also thanks for very good work.

dronecz avatar Dec 27 '15 19:12 dronecz

Thank you for using and reporting.

Current implementation of uploading is limited by websocket frame size. ref. https://github.com/cho45/GrblServer/blob/master/server.ts#L236.

memo:

  1. quickfix: increase this numbers (and make configurable)
  2. implement uploading with another method (eg POST)

cho45 avatar Dec 27 '15 23:12 cho45