Skip to content
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

"Error 502 bad gateway" when trying to view a specific package #298

Closed
LaurentTreguier opened this issue Mar 23, 2018 · 8 comments
Closed

Comments

@LaurentTreguier
Copy link

I've recently registered a new package on code.dlang.org, named dls at version 0.1.0. My dub.json file specified the package version manually, and going on the package page, I saw that this was considered obsolete. After a few changes to my package, removing the version from dub.json and tagging a new version (0.1.1), going to the package page gives me an almost blank page; and then code.dlang.org only gives "Error 502 bad gateway" when trying to see any other page for the next minute or so.
image
Maybe this is somehow linked to #294 as the problem started occuring after an update to the package ?
I don't think I've done any wrong change from the 0.1.0 version, but if it is of any relevance, here are the dub.json file and the changes from v0.1.0 to v0.1.1.
Apart from the code, the only changes are adding a REAME.md, and removing the version section (as it's obsolete) and configurations section of dub.json (as dub detects the configurations automatically).

@wilzbach
Copy link
Member

There's some discussion on #dub at Slack about this.
In short:

@WebFreak001
Copy link
Member

you can wait until this patch is applied to dub (who knows when), or you can remove the subcolumns in the table in your readme which breaks it. (You have more columns than header columns somewhere)

@LaurentTreguier
Copy link
Author

I'm using | in the contents of my table, inside backquotes... I guess that's what's breaking everything. I'll update my README and push an updated version in the next few days (it's not urgent anyway)

@LaurentTreguier
Copy link
Author

Removing the pipes in my table indeed fixes it. I'm closing this since there is already an issue and a PR

@s-ludwig
Copy link
Member

The quickfix for the crash has been deployed, but I'll open separate issue against vibe.d for the correct output.

@wilzbach
Copy link
Member

I can still crash the registry when I open http://code.dlang.org/packages/dls

@LaurentTreguier
Copy link
Author

LaurentTreguier commented Mar 25, 2018

That's weird... It doesn't seem to happen to me anymore, I can see the page just fine now

@wilzbach
Copy link
Member

A sorry. Probably was a super-aggressive browser cache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants