docs.ubuntu.com icon indicating copy to clipboard operation
docs.ubuntu.com copied to clipboard

Snap Store Proxy register link gives "Server error (500)"

Open keestux opened this issue 3 years ago • 6 comments
trafficstars

Summary

Trying to follow the "Troubleshoot issues" link results in a "Server error (500)".

Process

  • go to https://docs.ubuntu.com/snap-store-proxy/en/register
  • at the bottom, click on "Troubleshoot issues" (is https://docs.ubuntu.com/snap-store-proxy/en/trouble.html)

Current and expected result

You get "Server error (500)". I would expect to see a page describing how to troubleshoot issues.

keestux avatar Mar 31 '22 18:03 keestux

@keestux thanks for opening this issue, can you confirm how you got to this docs page please?

cristinadresch avatar Apr 04 '22 08:04 cristinadresch

You've lost me with that question :-)

I started with googling; "how to setup ubuntu snap mirror" which got me to https://docs.ubuntu.com/snap-store-proxy/en/install and so on.

keestux avatar Apr 04 '22 19:04 keestux

A conversation with the store team: "https://github.com/canonical-ols/snapstore-snap-docs/blob/main/en/trouble.md is the source, I don't know how that gets built but it doesn't look like dynamic content that would 500 in and of itself. What do the logs for docs.ubuntu.com say?" (which we don't manage) @sowasred2012 - where do the logs for docs.ubuntu.com live?

Lukewh avatar Apr 08 '22 13:04 Lukewh

Please notice that the link on the page is https://docs.ubuntu.com/snap-store-proxy/en/trouble.html

If the .html is stripped you get a link that gives the intended page. In other words, https://docs.ubuntu.com/snap-store-proxy/en/trouble

keestux avatar Apr 09 '22 09:04 keestux

docs.ubuntu.com doesn't seem to be set up with sentry properly, as https://sentry.is.canonical.com/canonical/docs-ubuntu-com/ is empty. Which is a shame. I've filed https://github.com/canonical-web-and-design/docs.ubuntu.com/issues/330.

In theory logs go into https://logging.comms.canonical.com/search?rangetype=relative&fields=message%2Csource&width=1852&highlightMessage=&relative=300&q=service%3Adocs.ubuntu.com, but there don't seem to be any there either. I've filed https://github.com/canonical-web-and-design/docs.ubuntu.com/issues/331.

However, cloning and running this site with:

snap install documentation-builder
./build-docs.sh
dotrun build
dotrun serve

I can then go to http://0.0.0.0:8007/snap-store-proxy/en/trouble.html and get the error:

image

This is as far as I've got for now. Any chance someone else could carry this on from here?

nottrobin avatar Apr 11 '22 22:04 nottrobin

@nottrobin any thoughts on this?

petesfrench avatar Jul 08 '22 08:07 petesfrench

Closing this as Snap Store Proxy has been moved to RTD.

SecondSkoll avatar Sep 09 '24 04:09 SecondSkoll