cho45 / GrblServer

64 stars 18 forks source link

Maximum accepted frame size #6

Open dronecz opened 8 years ago

dronecz commented 8 years ago

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.

cho45 commented 8 years ago

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)