-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connection Failure with Octopi and X1 Carbon. #8
Comments
This is strange, because I don't have this issue with my X1. There's nothing really in the logs to help determine either why it might be happening. What firmware version are you on and are you connected to the cloud or not? |
Firmware is 01.07.02.00 (Latest). I am connected through the cloud. Should I move to LAN only? Only other I have connected is my Bambu Studio app on my desktop. |
It might help figure out the issue if you enable debug logging for all the "bambu" options in OctoPrint's logging section. And then we can possibly get more information back on the communication side. I think it might be timing out on retrieving the file list possibly. |
So I'm on an older firmware version on mine (I think), running in local only mode. |
Yep, just checked the firmware via HA. I'm currently running 01.07.00.00 firmware version. |
I just went to LAN only mode and restarted Octoprint. Same issue. I even tried to start a print from the X1C to see if that would establish a connection. No luck. Maybe a firmware limitation? |
Would have to check with some of the other guys that are integrating to validate that. Just not sure if they locked down the connections or not in that version. I know they locked down rooting the firmware with that version and they may have added other stuff too. |
curious if you've tried power cycling the printer. still curious if it's dying on retrieving the file list or not. |
Power cycled with no luck. Must be something with the new FW. Was looking to use it mainly for secondary camera timelapse. Had it working with Home Assistant but only captured ~85% of the layers. Might go back to that. |
Weird, I'm using the same underlying module that the ha integration is using. Would still be helpful to have some debug logs. |
I reimaged the RPi to go back to HA, but what is weird that I can't connect to the X1C through HA using Lan Only. Had to go back to Cloud. I wonder with the latest FW the connection must occur through the cloud? |
Hey guys.
I mentioned this on the hass integration repo as well.
I started off online with my A1, home assistant out of the box, registering
with bambu etc.
Than I went lan only, still works, no issue. Hass integration, octoprint,
sending, printing, orca running too, all at the same time.
S pozdravom / Üdvözlettel / With kind regards
Attila Tamas
***@***.***
0905 469 420
…On Fri, Mar 1, 2024, 03:57 jmf5123 ***@***.***> wrote:
I reimaged the RPi to go back to HA, but what is weird that I can't
connect to the X1C through HA using Lan Only. Had to go back to Cloud. I
wonder with the latest FW the connection must occur through the cloud?
—
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQFKHOK6USL4GPBVRBKA3PTYV7VBPAVCNFSM6AAAAABEAWPC32VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZSGM3TQOBVGM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I can confirm this issue. X1C on 01.07.02.00 |
Can one of you please enable debug logging for all the bambu items in OctoPrint's logging section and try the connection again, then after it fails share a system info bundle. |
Here you go. As an aside. Connections via MQTTX (MQTT Client) are also extremely faulty and I get timeouts almost every time. But sometimes it does work. It seems as if very high timeouts have to be set here. |
Yeah, both your logs are showing roughly the same thing. A connection between the plugin and the printer is never actually created.
which is coming right after the connection attempt from code: OctoPrint-BambuPrinter/octoprint_bambu_printer/virtual.py Lines 224 to 225 in 616fdf7
Not sure if I can do anything about that from a local only perspective, but it may be possible to establish a cloud connection with Bambu's server, assuming that works with HA's pybambu module. Is the HA integration working properly for you @jmf5123 with the cloud option? The only thing I'm concerned about is if the local only connections are blocked, the ftps connection might not work to retrieve file listing information. Would one of you be able to test that with filezilla client for me? |
FTPS is also not possible for me. |
So after some discussion with @WolfwithSword, one of the more experienced integrators of Bambu communications, the firmware version shouldn't be an issue. Since ftps is not possible it's leaning toward a potential network issue. He mentioned he's only seen it with specific configurations/equipment in the past. Do either of you have a non-standard networking setup? Such as multiple VLANs or unifi/ubiquiti equipment? Bambu connections can be spotty for both mqtt and ftps when going across vlans and sometimes don't play well with ubiquiti stuff. |
No non-standard set-up for me here. Moved my X1C back to the cloud and set up HA using HAOS on an RPi4. No issues with HACS or the Bambu Lab Integration. Was able to set up controls and cameras with automation. |
Yes, my Octoprint was in a separate VLAN. I moved it to the same VLAN as the X1C, but the problem is still not solved. |
So the plugin should work in cloud mode, I just haven't added the settings to the UI to configure it and never tested. I'll try this weekend to go through the process and see if I can get it connected that way. Right now it would be a matter of manually editing config.yaml of OctoPrint to set these values.
|
I've just added the options for connecting to cloud and have done some initial tests. For everything to work properly, you need to have |
Dear jneilliii Where can I read how to connect the built-in camera to the octoprint? initially, just a black screen |
Answered your question on the community forum. https://community.octoprint.org/t/octoprint-for-bambu-lab-a1-support-available/56294/55?u=jneilliii |
Seem to have no issues with install, but cannot complete or maintain a connection. Logs attached.
octoprint (2).log
The text was updated successfully, but these errors were encountered: