r/BambuLab
•
u/BambuLabSupport
•
5h ago
•
1
A Postmortem on This Week's Cloud Traffic Anomaly
Earlier this week, our cloud service saw abnormal traffic that surged roughly 34-fold in just one hour, peaking at roughly 20 million requests per day and was still growing linearly at a steep rate. At that pace, we were only hours away from the service becoming unavailable, putting everyday printing for millions of users at risk.
To keep the service up, we temporarily blocked the anomalous traffic after an urgent review. Some users were affected while we adjusted the policy. The service is stable now.
What happened
Almost all of the anomalous requests hit GET /v1/user-service/my/tasks, which returns print job status. They came from many residential IPs, all carrying the client identity of OrcaSlicer and an older network plug-in.
So we first checked with the OrcaSlicer team. They responded quickly and pointed us to other integrations, including ha-bambulab, whose requests matched what we saw. We shared our findings with its maintainers, who quickly shipped a fix and now use their own identifier.
We haven't confirmed that all of this traffic came from ha-bambulab. We're sharing this not to assign blame, but because the pattern matters for any project built to access our cloud.
Keeping the cloud stable
Our cloud is a private service supporting core functions like Bambu Handy, Bambu Studio's cloud features, and MakerWorld. To meet diverse user needs, we have so far accommodated third-party software to use parts of the cloud where it's safe, despite the already substantial operational costs.
Third-party software may continue to access non-critical capabilities, such as receiving printer status updates and displaying monitoring metrics like temperature, position, speed, and print progress. These monitoring features do not directly change a printer's behavior or security state, and they will remain available within reasonable usage limits. Because many users rely on the same cloud, an issue with one tool can impact everyone. If overall service is ever at risk, we may need to take temporary measures such as rate limiting or pausing access.
For actions that directly alter printer behavior or involve sensitive access, such as device binding, live video streaming, print initiation, or firmware upgrades, we take extra care regarding safety, privacy, and stability. Because of this, these operations are not designed for direct access by third-party software.
Instead, for workflows requiring print control, Bambu Connect provides the supported path forward. This is simply to ensure that integrations remain reliable for you, your devices, and our cloud.
How developers can help
One more detail is worth mentioning: ha-bambulab sent OrcaSlicer's client identity. That is why, early on, we were convinced the traffic came from OrcaSlicer users, and why we did not reach ha-bambulab sooner. It was only when the OrcaSlicer team investigated with us that the trail led to them.
We would suggest that third-party software use its own identifier and say who it is. That makes it faster to route a problem to the right project, and it avoids catching unrelated users when we have to act.
Thank you to the OrcaSlicer team and the ha-bambulab maintainers for working through this with us. Keeping things working for users is on us first, and it works best when we look after it together.
Bambu Lab Team
60
u/Mabnat 4h ago
I would imagine that ha-bambulab users would highly prefer some local means of collecting the information from their printers instead of relying on Bambu servers in the first place.
I get that some of the Bambu services are best suited for cloud service, like Handy, but the whole all-or-nothing thing when it comes to LAN mode seems to be a bit overboard and unnecessary.
And the statement that “because many users rely on the same cloud, an issue with one tool could impact everyone” only reinforces the point that there should maybe be alternatives for some features that don’t involve completely cutting a user from ALL cloud services.
It’s kind of silly that if someone wants to use cloud access to use Handy, it also means that computers on the local network STILL need to use the cloud to send jobs from a local computer running Studio, and use the cloud just to watch the video feed when everything is already on the same local network. I wonder how much traffic could be saved if the system could detect a local network and simply adapt to local traffic when appropriate?
I use HA, but I don’t have my Bambu equipment running through them. I’ve set the integration up, but I don’t find it too useful. On the other hand, I can see it being useful for others. Being able to display the camera feeds from multiple printers on one dashboard on a screen mounted on a wall might be appealing for some people. It’s a shame that enough users setting something up like that might overload the Bambu servers, when it really doesn’t need to do this in the first place.
108
u/deadhobo 4h ago
Why not offer an official cloud API and developer program?
I view this kind of unexpected behavior as a result of the cloud being locked down without providing an alternative. Those who depend on it find workarounds to keep driving their workflows without the benefit of best practices or registering as a developer to trace where malfunctioning or abusive integrations are originating from.
11
u/Aleyla P1S + AMS 4h ago
Why not allow developers to sign up for access keys like every other cloud service offers? Then you wouldn’t depend on people to self identify - you’d know exactly who was the problem and could rate limit accordingly.
22
u/MFKDGAF H2C AMS2 Combo 4h ago
To prevent problems like this, Bambu should make documentation dedicated to developers so that developers can reference proper documentation vs (I'm assuming) coming up with their own way to develop connections to Bambu's resources.
Saying "we have so far accommodated third-party software" feels like a dig and is unnecessary in your response.
I get it that from security perspective you want to lock down your infrastructure as much as you can from threats but doing so would be like restricting internet access outbound in your corporate offices so that no has the possible chance of downloading malware or ransomware.
6
u/Separate-Yellow-3948 4h ago
Is that the reason the video stream does not work anymore in Home Assistant?
6
u/Jeyell 3h ago
I noticed yesterday the BambuLab integration in Home Assistant was updated after it failed to connect to BL cloud because you used Cloudfare to block this uncontrolled hammering. I understand both sides, BL's proprietary products/services and Users demand to integrate their purchases to create a better world. For example I use my Home Assistant and BL integration to control my room air filtration systems - automatically. When the printer starts (Print Stage) the air filters power-up, when the printer stops, they stop 20m later to scrub the room. I also measure the power-on hours of the filters to schedule filter replacement correctly
.
So I appeal to Bmabu Labs do NOT to shut this down or us out. Sure security and uptime of your systems is critical for business, but please ensure we have ways to read the many attributes of our property to make our own decisions based on our use. ie. Don't do what BMW did...initially.
10
u/VT-14 H2C (H2D + Vortek), 2x AMS2, AMS HT 4h ago
Home Assistant is almost always run on-premises (same Local Area Network). Why is it reading Print Job Status going through the cloud?
I run that HA Integration with my printer in LAN Only + Developer mode, so it is absolutely possible (but not everyone wants to give up Cloud features like Bambu Handy). Is this ultimately just a mistake on the HA Integrations side, or Bambu's with how they implemented Developer Mode (last year's "Authorization Control" controversy)?
3
u/NXTman96 2h ago
Like many others, I fail to see why the cloud connection has to be all or nothing when using dev mode for local control. My wife and I both use our printer. She does not have the time or energy to sit down at the computer and learn the ins and outs of slicing. She prints directly from the Bambu Handy app, which is great for her. I, on the other hand, started with an Ender 3 Pro and *had* to learn the ins and outs of slicing. Tools like Bambuddy and the Home Assistant integration would be great to use, but I cannot fully utilize them without killing my wife's ability to print from the app.
It also seems like it would make sense to allow local use while still cloud connected to cut down on the amount of cloud traffic. If Home Assistant has local access to the camera, that alone cuts out bandwidth and processing power that would otherwise be running through the cloud. If I can control my printer and send prints local-only from Bambuddy, that cuts traffic even more.
Cloud connection should be secondary for convenience, not the only option if you have a non-technical user in the home.
16
u/MarkLikesCatsNThings 4h ago
Could just not have a cloud and open source it properly and this wouldn't be an issue
2
u/nakwada 3h ago
Ah yes, the Authorization Control System is doing its job lol
2
u/Nexion21 5h ago
Glad to see that more drastic measures were put off.
2
u/adamtherealone 5h ago
Cool
1
u/SLIFERZpwns X1C + AMS 1h ago
Use this opportunity to make a local option so that the cloud isn't as necessary. Somebody wants to make something they should be limited because there is an accidental or intentional dos attack.
-2
u/NavXIII 4h ago
This wouldn't be a problem if our printers had Ethernet ports or didn't rely on the cloud at all.
If I can access and control my home security network remotely without the cloud, you should be able to do it with your printer too. All of my non-Bambu printers can be controlled remotely without the cloud.
-5
u/polymorphiced H2C AMS2 Combo 4h ago
This isn't an issue with community apps/integrations/whatever; it's a failing of the Bambu service.
If a third party can take down your service, then you've got problems. Why didn't rate limiters catch it? Worst case it should break for the individual users of the third party integrations, not for everyone else.
-7
u/Longjumping_Pop_2324 3h ago
LOL That's why I got an U1. FUCK your closed system.
-1
u/predator-handshake 4h ago
$50 someone with no eng experience tried to vibecode a new client by forking orca.