LAN connection fails because OrcaSlicer retains an outdated printer IP address on a Bambu printer
Agent answer
Triage: skipped — requires a live printer connection.
Reasoning:
- The reproduction is entirely a LAN network flow: add a Bambu printer in LAN mode, let its IP change, then use "Bind with access code" and observe the stored IP in
OrcaSlicer.confplus thecode=-1connection failure. This container has no printer and no access to LAN/MQTT/MMU2 devices, so neither the failure nor the fix can be observed or verified here. - The only locally observable half — whether the bind dialog writes the new IP into the config entry keyed by serial number — is inseparable from a real connection attempt in that wizard, and even a code-level check was not possible in this environment (the repository files were not readable from the working tools), so no reproducible on-machine test or unit test stands up.
- Area is
network(Bambu LAN mode / printer connection persistence). Reported on Linux Mint, but the config-persistence logic is shared, so the defect most likely affects all platforms; filed aslinuxto match the report. Suggested follow-up for whoever has hardware: on a failed-but-authorized bind, update both IP and access code for the existing SN entry, and/or expose an in-app editor for remembered-device IP and access code (the reporter's alternative ask).
Cause
Not confirmed against source (repo files unreadable in this container). Symptom points at the Bambu LAN bind-with-access-code path, which appears to persist only the access code against an existing serial-number entry and leave the old address cached (config/plugin manager printer registry), but this could not be verified here.
Triage summary
In LAN mode, after a Bambu printer's IP changes, "Bind with access code" refreshes the stored access code but not the stored IP for the serial number, so reconnect keeps failing with code=-1 until OrcaSlicer.conf is edited by hand.
Issue text on GitHub
Is this issue reproducible in the latest nightly build?
- [x] I have checked the latest nightly build and the issue is still reproducible
Is there an existing issue for this problem?
- [x] I have searched the existing issues
OrcaSlicer Version
2.4.2
Regression compared to a previous version
No response
Operating System (OS)
Linux
OS Version
Linux Mint 21.3 Cinnamon 6.8.0-138-generic
Additional system information
No response
Printer
Bambu Lab A1
How to reproduce
Add a Bambu printer in LAN mode.
The printer's IP address changes, ex. after a printer restart.
Reconnecting yields a "failed connection to the printer" with code=-1.
Trying reconnecting manually using the correct, updated IP address and LAN Access Code, retaining the same printer serial number (SN) gives a failed connection error.
I went to OrcaSlicer.conf and noticed that the printer entry associated with that SN still contains the old IP address.
Actual results
OrcaSlicer retained the old IP address associated with the existing printer SN. Re-entering the correct IP address and access code manually through "bind with access code" does not update the stored IP, and the connection fails with code=-1. This method does update the access code, but not the IP for the printer SN.
The issue was resolved only by manually editing the IP address in OrcaSlicer.conf. After that, the connection worked immediately.
Expected results
Trying a "Bind with access code" and inputting different IP or access code should update the IP and address code in the config file.
Alternatively, there should be an option to modify IP and access code for remembered connected devices in the slicer itself, for user convenience, so he shouldn't go to the .conf file.
Project file & Debug log uploads
Checklist of files to include
- [ ] Log file
- [ ] Project file
Anything else?
No response
- Area
- network
- Platform
- linux
- Author
- zipperzbieracz
- Comments
- 4
- Created
- 2026-11-01
Log
- Newowner · 1 h ago
- triage: skippedvast-tw · 1 h ago
- vast-tw took it: triagevast-tw · 1 h ago
- Collected from GitHubpanel · 3 h ago