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

Search does not work well #1072

Closed
dschrempf opened this issue May 13, 2022 · 11 comments
Closed

Search does not work well #1072

dschrempf opened this issue May 13, 2022 · 11 comments

Comments

@dschrempf
Copy link

Hi!

For a few weeks now, I have the following (weird) problem:

Hackage search and clicking the "Advanced options" button:

  • Works fine with Chromium.
  • Does not work at all with Qutebrowser.
  • With Firefox, and when the ?terms= inquiry is left empty (which is the default when clicking "Search" on the top row), it takes around 10 seconds until the table is rendered and the "Advanced options" becomes responsive.

Does anybody else experience problems with Hackage search?

@gbaz
Copy link
Contributor

gbaz commented May 14, 2022

With a new hackage redeploy (soon, I promise!) the responsiveness should be fixed: #1049

qutebrowser will be fixed by: #1062

@gbaz
Copy link
Contributor

gbaz commented May 15, 2022

ok, redeploy done.

@MichelBoucey
Copy link

At the moment search requests are still broken.

https://hackage.haskell.org/packages/search?terms=lens`

gives :

Error with Hackage server: Unexpected content-type: For this resource the content-type was expected to be application/json, rather than multipart/form-data; boundary=---------------------------55663260525875955564249068061

@andreasabel
Copy link
Member

I don't get this error.

@noughtmare
Copy link

noughtmare commented May 15, 2022

If I open e.g. https://hackage.haskell.org/packages/search?terms=lens with Firefox I get this message in red:

Error with Hackage server: Unexpected content-type: For this resource the content-type was expected to be application/json, rather than multipart/form-data; boundary=---------------------------363225731826631620603428404

image

Edge gives a similar message:

image

@dschrempf
Copy link
Author

On Qutebrowser and Firefox, search works for me now! I don't get any error messages. Thank you!

@tfausak
Copy link

tfausak commented May 15, 2022

Search is also broken for me. I've tried Firefox, Chrome, and Edge on Windows 10. I've also tried Safari on iOS 15.4.

image

@tfausak
Copy link

tfausak commented May 15, 2022

It seems to be working now for me.

@gbaz
Copy link
Contributor

gbaz commented May 15, 2022

When we redeployed the server, we needed to force fastly to purge the cached search script in favor of the new one. Apologies for not realizing this after the deploy. Should now be resolved for everyone.

@gbaz
Copy link
Contributor

gbaz commented May 15, 2022

Closing as the redeploy should have improved the above linked issues as well.

@gbaz gbaz closed this as completed May 15, 2022
@gbaz
Copy link
Contributor

gbaz commented May 15, 2022

(a hard refresh of the page to clear the cache may be necessary for end-users as well, sorry!)

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

6 participants