Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Our site has switched to the new Confluence editor, which may or may not be related to this problem.
I just tried creating a new diagram. It worked fine when previewing in the dialog but when I clicked Insert, creating the attachment failed. Looking at the Network tab in Chrome Dev Tools, I see that it POSTed to: /wiki/rpc/json-rpc/confluenceservice-v2/addAttachment and the response was 501 ("Not Implemented").
I have created PlantUML attachments in the past, but that was before our site switched to the new editor.
I haven't found any similar questions yet... help?
The call seems to have been removed and a Confluence Cloud release went out that implemented that change. We weren't aware it was going. You can track https://trello.com/c/SaGGpzOj/71-unabled-to-create-new-diagrams-on-drawio-for-confluence-cloud (it's draw.io, but the problem is the same thing).
We use draw.io also but I happened to hit this first in PlantUML.
It's unfortunate that they removed the call before people even knew that was happening.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We've deployed a fix for draw.io, currently working on the same change for PlantUML.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Fix for PlantUML deployed as well
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmm, I just gave it a try and it has no trouble inserting an image now, but it shows up as broken. I didn't see anything obviously wrong in the browser dev tools.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Shoot an email to support@draw.io and we'll setup a test Confluence instance to try and get a repro case there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just tested with draw.io, and that one is working fine, so this is something specific to the image attachment that's being created for Plant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We deliver via cloudflare, they had went bang a couple of hours ago and the edges caches have had inconsistent files in some places. It might be worth opening dev tools, setting browser cache off when dev tools are open and trying again, to try to flush things out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I see a 302 from plant.draw.io for the image going to an Atlassian URL. If I download the file on the other end of that redirect, it appears to be a broken image.
Ahh, I just took a look at what's inside the file. It appears to be base64 encoded. I just base64 decoded it and the image is actually in there, it's just being stored base64 instead of binary.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you view source of plant.draw.io/connect/plantuml/macroEditor-1-1-2.html, do you see a b64toBlob call on line 248?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, indeed, and now it works. I see what you mean about the Cloudflare caching. All appears to be well now, thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.