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

pkgdown::build_favicons(): HTTP 500 Internal Server Error #2839

Closed
lschneiderbauer opened this issue Jan 17, 2025 · 5 comments
Closed

pkgdown::build_favicons(): HTTP 500 Internal Server Error #2839

lschneiderbauer opened this issue Jan 17, 2025 · 5 comments

Comments

@lschneiderbauer
Copy link

Hi all,

since a couple of weeks I seem to only get a HTTP 500 Internal Server Error in response to
calling pkgdown::build_favicons() from an R package environment.

> pkgdown::build_favicons()
── Building favicons ─────────────────────────────────────────────────────
ℹ Building favicons with <https://realfavicongenerator.net>...
Error in `pkgdown::build_favicons()`:
! API request failed.
Caused by error in `httr2::req_perform()`:
! HTTP 500 Internal Server Error.
Run `rlang::last_trace()` to see where the error occurred.

Best, L

@jayhesselberth
Copy link
Collaborator

jayhesselberth commented Jan 17, 2025

That's not an issue with https://realfavicongenerator.net, I can build locally without issue.

Can you retry after installing the dev version of pkgdown:

# Install development version from GitHub
# install.packages("pak")
pak::pak("r-lib/pkgdown")

@lschneiderbauer
Copy link
Author

Interesting.

I have the same issue when using the latest development version.

@lschneiderbauer
Copy link
Author

Oh, do I actually need to create an account there to be able to use the service?
https://realfavicongenerator.net/developers/favicon-generation/interactive-api

@jayhesselberth
Copy link
Collaborator

No, you don't need an account. pkgdown uses an API key.

@jayhesselberth
Copy link
Collaborator

Assuming this was an intermittent internet issue. Closing for now.

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

2 participants