Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Maximum accepted frame size #6

Open
dronecz opened this issue Dec 27, 2015 · 1 comment
Open

Maximum accepted frame size #6

dronecz opened this issue Dec 27, 2015 · 1 comment

Comments

@dronecz
Copy link

dronecz commented Dec 27, 2015

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
Copy link
Owner

cho45 commented Dec 27, 2015

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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants