Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
None
Description
Some URLsĀ on gerrit are not accessbile unless authenticated. There are also some relocation done and not handled by the documentation fetcher.
Both issues cause major problems when retrieving markdown files to generate documentation site. See for example this page
To reproduce a typical access made by doc fetcher:
# curl -vL "https://gerrit.automotivelinux.org/gerrit/gitweb?p=src/app-framework-main.git;a=blob_plain;f=docs/4-quick-tutorial.md;hb=master" ... < HTTP/1.1 302 Found * Server nginx/1.12.1 is not blacklisted < Server: nginx/1.12.1 < Date: Fri, 01 Dec 2017 18:27:56 GMT < Content-Length: 0 < Connection: keep-alive < Location: https://gerrit.automotivelinux.org/gerrit/login/%2Fgitweb%3Fp%3Dsrc%2Fapp-framework-main.git%3Ba%3Dblob_plain%3Bf%3Ddocs%2F4-quick-tutorial.md%3Bhb%3Dmaster ... < HTTP/1.1 401 Unauthorized * Server nginx/1.12.1 is not blacklisted < Server: nginx/1.12.1 < Date: Fri, 01 Dec 2017 18:27:56 GMT < Content-Type: text/html; charset=UTF-8 < Content-Length: 8468 < Connection: keep-alive ...
We see both issues: 302 + 401.
See attached logs for details.