I've been encountering this issue on the site more and more recently, but it seems like if a browser is kept open for too long some images stop loading on D&D Beyond.
When attempting to connect to one of the images directly I get an error "Your request header section exceeds the maximum allowed size".
The issue appears to be that D&D Beyond is accumulating too many cookies in the browser, and when the browser sends all of these they are resulting in a header size larger than the site allows, causing some requests to be rejected. A quick look at cookies shows me a whole mess of "ddb.toast" cookies for various homebrew pages, along with several dozen tracking related cookies, so it's no wonder the header size is growing too large.
As a part time web developer myself there are two simple solutions to this one that I'm aware of:
Cut down on the dang cookies! There are definitely too many of them, with overly long names and content, though this may be easier said than done. For starters get rid of the homebrew "toast" cookies; they seem to be related to the annoying "you posted your first magic item" or whatever messages which repeat too much as it is. Please store that data with the account instead and ditch the cookies. Cutting down on the tracking cookies wouldn't hurt either.
Use a sub-domain for images. This is fairly common practice; you put the main site at www.dndbeyond.com then you serve up all images from static.dndbeyond.com or images.dndbeyond.com or whatever; this way browsers won't send any of the www.dndbeyond.com cookies when requesting the images, which keeps the requests small (and saves bandwidth). How easy this is to do depends on your web hosting software but on nginx for example it's fairly easy to add a sub-domain that's identical to the main one (optionally configure it to ignore requests for anything that isn't an image since that's all you want it for). Then all you need to do is change the URLs for affected images to use this sub-domain instead of www.dndbeyond.com.
The images that are most affected for me at least are custom images I've uploaded for character sheet thumbnails, as well as images for homebrew items (I think this may be the thumbnails again), and also sometimes user thumbnails on the forums. I'm assuming main site images, book content etc. already use CDNs or similar so they aren't affected (as they're using a different domain) as I've not noticed any of them failing to load (could be coincidence though).
I can resolve this issue temporarily for myself by clearing all of the sites cookies, but like I say, the site just has so many of them (and loads of them have either long names, long contents or both), so the issue just comes back again after a few days. Closing and reopening my browser also clears some of the cookies, and may get me below the request header limit, but not always.
I assume I'm a bit more susceptible than most because I have a large number of the homebrew related cookies, but I expect regular users are dangerously close to the limit as well if that's all it takes to tip it over the edge, so it's worth fixing regardless.
Former D&D Beyond Customer of six years: With the axing of piecemeal purchasing, lack of meaningful development, and toxic moderation the site isn't worth paying for anymore. I remain a free user only until my groups are done migrating from DDB, and if necessary D&D, after which I'm done. There are better systems owned by better companies out there.
I have unsubscribed from all topics and will not reply to messages. My homebrew is now 100% unsupported.
Sorry to bump this, but the issue is still happening.
However, I think I've found the cookie that is to blame, it's named "Ratings" and seems to be filling up with the word "undefined" over and over again, here's what it currently looks like for me:
I believe the cookie is related to upvoting on forum posts which means only users who upvote a lot will be affected. I also think it's related to another bug I've noticed, which is that sometimes the forums don't show when I've already upvoted a post (allowing me to "upvote" again but actually I'm removing and adding my vote repeatedly).
If you could pass this info on then hopefully it can be fixed easily, or at least the cookie's expiration time can be reduced or something as a quick fix. Fortunately deleting just this cookie seems to fix both issues (images not loading and forum upvotes going weird) without logging me out, so I can just do that in the meantime.
Former D&D Beyond Customer of six years: With the axing of piecemeal purchasing, lack of meaningful development, and toxic moderation the site isn't worth paying for anymore. I remain a free user only until my groups are done migrating from DDB, and if necessary D&D, after which I'm done. There are better systems owned by better companies out there.
I have unsubscribed from all topics and will not reply to messages. My homebrew is now 100% unsupported.
THIS! I followed the process in both my home and work PCs and keep cookie editor extension mentioned there on all the time. I do not suffer from this issue anymore on those browsers. Unfortunately this does not carry over to browsers that can't use that edit cookie extension, such as my phone's Chrome browser. I still get this issue when browsing dndbeyond using my phone.
I've griped about this issue forever it seems. I have an active ticket with the support desk since last fall that I've kinda just given up on following considering there is so much more complete information in that Portraits Not Loading thread and even in this thread and the dozens of others.
I've found this issue affects any images loading from dndbeyond, PDF downloads of character sheets form dndbeyond, the Insert Code function of the RTF editors used in different places all over dndbeyond, and the RTF editor entirely will fail to load if my dndbeyond site cookie is too big. I used to run into this issue constantly.
Timeline of my frustrations:
"Look, this is a problem." *chirp* *chirp*
"Argh! here's a text dump of the issue, I found the problem!" *chirp* *chirp*
"Here's some screenshots of what I'm talking about, please help me!" *chirp* *chirp*
"Do you see all the bug posts complaining about this issue?" *chirp* *chirp*
"Hey, I figured out a simple workaround that just involves a cookie editor extension, 3 clicks, and a hard refresh, but it works" *chirp* *chirp*
some random programmer that contributes on the fan made browser extension, AboveVTT "Try this extension to completely eliminate that thing causing the issue" OH HECK YEAH
support ticket says something about looking at the timing of keeping persistent cookies. Really? It's been over 6 months and that's the response?
There's an extension that fixes it for you dndbeyond, I've given up on you fixing this.
I was just looking at the Ratings cookie, and it applies to the domain ".dndbeyond.com", not just "www.dndbeyond.com". So even if they are able to start serving up images from an "images.dndbeyond.com" subdomain, the Ratings cookie will still keep being sent with them. I'd say changing the Ratings cookie's domain is a very good starting point.
Rollback Post to RevisionRollBack
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
To post a comment, please login or register a new account.
I've been encountering this issue on the site more and more recently, but it seems like if a browser is kept open for too long some images stop loading on D&D Beyond.
When attempting to connect to one of the images directly I get an error "Your request header section exceeds the maximum allowed size".
The issue appears to be that D&D Beyond is accumulating too many cookies in the browser, and when the browser sends all of these they are resulting in a header size larger than the site allows, causing some requests to be rejected. A quick look at cookies shows me a whole mess of "ddb.toast" cookies for various homebrew pages, along with several dozen tracking related cookies, so it's no wonder the header size is growing too large.
As a part time web developer myself there are two simple solutions to this one that I'm aware of:
The images that are most affected for me at least are custom images I've uploaded for character sheet thumbnails, as well as images for homebrew items (I think this may be the thumbnails again), and also sometimes user thumbnails on the forums. I'm assuming main site images, book content etc. already use CDNs or similar so they aren't affected (as they're using a different domain) as I've not noticed any of them failing to load (could be coincidence though).
I can resolve this issue temporarily for myself by clearing all of the sites cookies, but like I say, the site just has so many of them (and loads of them have either long names, long contents or both), so the issue just comes back again after a few days. Closing and reopening my browser also clears some of the cookies, and may get me below the request header limit, but not always.
I assume I'm a bit more susceptible than most because I have a large number of the homebrew related cookies, but I expect regular users are dangerously close to the limit as well if that's all it takes to tip it over the edge, so it's worth fixing regardless.
Former D&D Beyond Customer of six years: With the axing of piecemeal purchasing, lack of meaningful development, and toxic moderation the site isn't worth paying for anymore. I remain a free user only until my groups are done migrating from DDB, and if necessary D&D, after which I'm done. There are better systems owned by better companies out there.
I have unsubscribed from all topics and will not reply to messages. My homebrew is now 100% unsupported.
I will forward this on to the appropriate team.
Homebrew Rules || Homebrew FAQ || Snippet Codes || Tooltips
DDB Guides & FAQs, Class Guides, Character Builds, Game Guides, Useful Websites, and WOTC Resources
Sorry to bump this, but the issue is still happening.
However, I think I've found the cookie that is to blame, it's named "Ratings" and seems to be filling up with the word "undefined" over and over again, here's what it currently looks like for me:
I believe the cookie is related to upvoting on forum posts which means only users who upvote a lot will be affected. I also think it's related to another bug I've noticed, which is that sometimes the forums don't show when I've already upvoted a post (allowing me to "upvote" again but actually I'm removing and adding my vote repeatedly).
If you could pass this info on then hopefully it can be fixed easily, or at least the cookie's expiration time can be reduced or something as a quick fix. Fortunately deleting just this cookie seems to fix both issues (images not loading and forum upvotes going weird) without logging me out, so I can just do that in the meantime.
Former D&D Beyond Customer of six years: With the axing of piecemeal purchasing, lack of meaningful development, and toxic moderation the site isn't worth paying for anymore. I remain a free user only until my groups are done migrating from DDB, and if necessary D&D, after which I'm done. There are better systems owned by better companies out there.
I have unsubscribed from all topics and will not reply to messages. My homebrew is now 100% unsupported.
I hope they are able to switch to using a subdomain to serve up images, I think that would make a big difference.
The cookies would likely still interfere with character sheet PDFs though.
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)
I know editing/making false the "ratings" cookie used to fix this issue, but it didn't this time.
I can happily say though that just deleting it outright DID solve the issue.
EDIT: Never mind; it worked for ONE character sheet (the one I had open when I deleted the cookie) and doesn't seem to have worked for any others.
There is a semipermanent fix available here that will allow you to upvote as normal and not have to worry about the bug:
https://www.dndbeyond.com/forums/d-d-beyond-general/bugs-support/108539-portraits-not-loading?comment=133
Creating Epic Boons on DDB
DDB Buyers' Guide
Hardcovers, DDB & You
Content Troubleshooting
THIS! I followed the process in both my home and work PCs and keep cookie editor extension mentioned there on all the time. I do not suffer from this issue anymore on those browsers. Unfortunately this does not carry over to browsers that can't use that edit cookie extension, such as my phone's Chrome browser. I still get this issue when browsing dndbeyond using my phone.
I've griped about this issue forever it seems. I have an active ticket with the support desk since last fall that I've kinda just given up on following considering there is so much more complete information in that Portraits Not Loading thread and even in this thread and the dozens of others.
I've found this issue affects any images loading from dndbeyond, PDF downloads of character sheets form dndbeyond, the Insert Code function of the RTF editors used in different places all over dndbeyond, and the RTF editor entirely will fail to load if my dndbeyond site cookie is too big. I used to run into this issue constantly.
Timeline of my frustrations:
There's an extension that fixes it for you dndbeyond, I've given up on you fixing this.
How to: Replace DEX in your AC | Jump & Suffocation stats | Build a (Spell & class effect buff system | Wild Shape effect system) | Tool Proficiencies as Custom Skills | Spells at higher levels explained | Superior Fighting/Martial Adept Fix | Snippet Codes Explored - Subclasses | Snippet Math Theory | Homebrew Weapons Explained
Check out my: FEATS | MAGIC ITEMS | MONSTERS | SUBCLASSES Artificer Specialist: Weaveblade
Dndbeyond images not loading A PERMANENT WORKAROUND!!! (thank you Jay_Lane)
I was just looking at the Ratings cookie, and it applies to the domain ".dndbeyond.com", not just "www.dndbeyond.com". So even if they are able to start serving up images from an "images.dndbeyond.com" subdomain, the Ratings cookie will still keep being sent with them. I'd say changing the Ratings cookie's domain is a very good starting point.
Helpful rewriter of Japanese->English translation and delver into software codebases (she/e/they)