racket / racket-pkg-website

A frontend for the Racket Package Catalog.
Other
9 stars 15 forks source link

Package submission fails (with an empty form as result) #76

Closed sschwarzer closed 2 years ago

sschwarzer commented 3 years ago

I tried to enter a package at https://pkgd.racket-lang.org/pkgn/create with the information in the attached screenshots. The second attempt was without tags since there already had been a problem with the server not accepting a . in a tag, so I tried without tags to avoid other potential tag-related problems.

In both cases (see screenshots) the response from the package server was just an empty form (more precisely: only my mail address is pre-filled) and my package isn't in the index. There wasn't even the "Save failed" message on the response page.

The problem may be related to the new git+https "protocol", but I was able to enter another package with this protocol: https://pkgd.racket-lang.org/pkgn/package/todo-txt . That said, I don't know if any of the software of the package server changed between entering the first (successful) and the second (unsuccessful) package.

create_package5

create_package6

sschwarzer commented 3 years ago

I just tried again and was able to add the package data with a workaround:

jbclements commented 3 years ago

Bump! Same problem, same solution.

sschwarzer commented 3 years ago

Bump! Same problem, same solution.

Thanks for the heads-up.

I wouldn't call it a solution, though. ;-)

racket-discourse-github-bot commented 2 years ago

This issue has been mentioned on Racket Discussions. There might be relevant details there:

https://racket.discourse.group/t/package-server-new-package-workaround/530/3

jryans commented 2 years ago

With https://github.com/racket/racket-pkg-website/pull/80 merged and deployed, this should now be fixed. 😄

The root cause ended up being a memory threshold that was set too low, causing the web server continuations to expire after only 2 minutes, which is why it worked sometimes: you had to submit the form within 2 minutes of loading it. This has been fixed, so you now have much more time to work through the form.