Skip to content

Title: GRBL (Network) with FluidNC (MKS DLC32 V2.1) connects over WebSocket but homing and jobs do not run #165

@chamusquino

Description

@chamusquino

Description

I am using Rayforge 1.1.2 on Windows with a Makerbase MKS DLC32 V2.1 board running FluidNC v3.7.6 over WiFi.

The controller works perfectly with LaserGRBL over WiFi (Telnet port 23) and also works fine with Rayforge over USB (GRBL Serial).

With Rayforge using GRBL (Network), the machine connects over WebSocket but:

$H (homing) does not move the machine.

No job can be started; preview/simulation fails with an error in the log.

Hardware / Firmware

Board: Makerbase MKS DLC32 V2.1

Firmware: FluidNC v3.7.6

WebUI: ESP3D-WEBUI @84de794

FluidNC status (WebUI):

Web port: 80

Data port (Telnet): 23

IP: 192.168.1.43

Mode: Client station, WiFi connected and stable

Rayforge setup

Version: 1.1.2

Machine driver: GRBL (Network)

Hostname/IP: 192.168.1.43

WebSocket port: 81

Connection status: Rayforge reports connected; WebSocket also works from browser at http://192.168.1.43/ws.

What works

USB (GRBL Serial) + Rayforge:

Homing $H works.

Jogging and running jobs work as expected.

WiFi + LaserGRBL:

Connects over Telnet port 23.

Homing and jobs run correctly.

What does not work (Rayforge GRBL Network + FluidNC)

Homing:

From Rayforge G-code console, sending $H when connected over WiFi does not move the machine.

No obvious ALARM: or error: message is shown (the machine is not in Alarm, and homing works with the same FluidNC config via USB/LaserGRBL).

Running jobs:

Clicking Preview/Simulation or trying to start a job shows these errors in the Rayforge terminal/log:

text
2026-03-09 19:17:12,457 - rayforge.ui_gtk.mainwindow - ERROR - Failed to aggregate ops for preview/simulation
RuntimeError: Job dependencies are not ready. Please wait and try again.
2026-03-09 19:17:12,497 - rayforge.ui_gtk.mainwindow - ERROR - Failed to aggregate ops for preview/simulation
RuntimeError: Job dependencies are not ready. Please wait and try again.
The same document and operations work correctly when I switch the same machine to USB (GRBL Serial).

Connection logs:

I also saw this error earlier when configuring the WebSocket port:

text
ERROR - Port could not be cast to integer value as '1.0'
This happened when the WebSocket port field was interpreted as 1.0 instead of an integer.
After explicitly setting 81 as integer, the connection is established, but homing and jobs still do not run.

Steps to reproduce

On FluidNC (MKS DLC32 V2.1):

Configure WiFi in client mode and confirm WebUI at http://192.168.1.43.

Confirm WebSocket endpoint at /ws works from browser.

Confirm homing and jobs work via LaserGRBL over Telnet port 23 and via USB with Rayforge.

In Rayforge 1.1.2:

Create or open a document with at least one valid operation (cut contour, etc.) and verify the toolpath preview is generated.

Configure machine as: GRBL (Network), Hostname/IP 192.168.1.43, WebSocket Port 81.

Connect to the machine (connection is successful).

Open the G-code console and send $H.

Observe:

The machine does not move for $H.

Attempting to preview or run the job shows Job dependencies are not ready. Please wait and try again. even though the same project works over USB.

Expected behavior

GRBL (Network) should behave similarly to GRBL (Serial) with FluidNC:

$H should initiate the homing cycle.

Jobs that run fine via USB should also run over WebSocket as long as the connection is established.

Question

Is GRBL (Network) officially expected to work with FluidNC WebSocket (MKS DLC32), and if so, is there any known limitation or extra configuration needed (e.g. specific status report settings, buffer handling, or homing commands) to get homing and job execution working over WiFi?

If useful, I can provide:

Full Rayforge debug logs while sending $H and starting a job over WiFi.

FluidNC config.yaml for the MKS DLC32 V2.1 laser setup.

Thanks a lot for any guidance or for clarifying the current level of FluidNC support in GRBL (Network).

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions