FluidNC Disconnecting

My FluidNC keeps on disconnecting. First I get a message on the screen that communication has been lost!. If I take no action it next says that it has timed out. Eventually the screen says connection error…connection with board is lost and it gives me a button to reconnect. This is happening a lot!

If I ignore it my cnc keeps on running until the job is complete. If I reset the connection the cnc stops and cannot be restarted without restarting both the computer and FluidNC.

Everything else is working really great! But it loses the connection frequently.

What version of FluidNC?

Using AP mode or STA?

What version of WebUI? v2 or v3?

1 Like

3.8.0
AP
V3

It’s a new ESP32 from Ryan and just installed. First cuts.

The problem with disconnecting was happening before the new ESP32 was installed. I was hoping the new one would solve the problem. I can still use my cnc as long as I don’t try to reconnect while it is running.

One thing that may be affecting you is that it looks like you are using the WebUI from the captive portal.

This is the site that automatically pops up when you connect to the AP. WebUI uses features that are known to have issues operating in this mode, and will normally not operate correctly under these conditions.

The connection needs to be used as a normal connection, even though it has no internet.

Try connecting using http://192.168.0.1 if you are using default on AP mode, or http://fludnc.local if mDNS is still enabled.

Also, the default state of FluidNC does not allow to reconnect to the machine while in motion. The $HTTP/BlockDuringMotion setting controls this. It was implemented in FluidNC as page refreshes can overload the RAM and crash the board.

It is recommended, as much as possible, to only connect with 1 device at a time, and to keep the interface open while a job is running.

I control mine with an iPad, and have it set to not turn the screen off so it stays connected for the duration of the job.

If for some reason keeping the interface open for the entire duration of the job isn’t possible, you can try disabling the BlockDuringMotion setting, but it could also lead to some issues if the board is already overloaded

1 Like

Do you have any wires over the ESP antenna?

What version of windows is that, it might be a setting in the wifi? Since there is not internet it does not like to stay connected, so you have to tick the box, “connect to this network anyway”

With V3, it is pretty smart and will not let a connection while it is busy, but it should let you back in eventually.

I thought V3 prevents this?

it does try to, but does it based on web address, and this Microsoft one is not in the list. Microsoft may have changed it over time
image

2 Likes

Wild, thanks for the detailed info.

My cnc is running right now. Once it is done I will get some more info.

I did find my iPad using the FluidNC website and shut it down. But that doesn’t explain all the prior instances since today was the first time I tried to use the iPad.

The laptop is using Windows 11.

I suggest you change the password to the jackpot, that will kick everything else off including phones, and make sure only one device tries to connect.

Correction….i have 3.8.2. V3.

Here is a picture of my jackpot board.

I appear to have my limit switch wires too close to the antenna…?

I tried http://192.168.0.1 and nothing happens. Http:// FluidNC.local works. I gather I should be using that rather than going to the available web pages and selecting FluidNC to open the UI.

I normally only have one device using FluidNC. Yesterday was unusual. I tried the IPad to see if it would act the same as the laptop but it wouldn’t connect.

Keeping the interface open while using the cnc is not a problem. The laptop is dedicate to the cnc and not used for any other purpose. I also have it set to stay on until I shut it off.

I have had my laptop/jackpot on for the past hour without it disconnecting.

There’s the problem. You have your wires right over the antenna, so it is blocked on both sides.


Run then this way. Or under the board.


Better ?

I hope so. I would guess that should fix your problems. Give it a test run and see how it goes.

Looks like you are using a memory card extender as well. Make sure that is not crossing too many wires, if you still have issue take it off and try again.

The memory card extender isn’t crossing any wires.

I have everything turned on and no problems so far.

I gather I shouldn’t be using the captive portal……ie, choosing FluidNC on the available website screen? HTTP://192.168.0.1 doesn’t do anything but http://fluidnc.local seems to work.