Closed x23n5902y closed 2 years ago
Artifactory at jfrog is returning ridiculousness when asked for repodata/repomd.xml:
(pulp) [tmp]$ http GET https://apache.jfrog.io/ui/native/couchdb-rpm/el8/x86_64/repodata/repomd.xml
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: public, max-age=0
Connection: keep-alive
Content-Encoding: gzip
Content-Security-Policy: script-src 'self' cdn.heapanalytics.com heapanalytics.com www.google-analytics.com youtube.com www.youtube.com 'unsafe-eval' https://js.driftt.com https://widget.drift.com; frame-src youtube.com www.youtube.com js.driftt.com widget.drift.com; media-src js.driftt.com; font-src 'self' data: https://heapanalytics.com; base-uri 'self'; style-src 'self' 'unsafe-inline' https://heapanalytics.com; form-action 'self'; frame-ancestors 'self'
Content-Type: text/html; charset=UTF-8
Date: Thu, 03 Mar 2022 19:12:46 GMT
Etag: W/"a63-17ebb8562a0"
Feature-Policy: geolocation 'none';microphone 'none';camera 'none';payment 'none'
Last-Modified: Wed, 02 Feb 2022 17:39:48 GMT
Referrer-Policy: no-referrer
Strict-Transport-Security: max-age=15724800; includeSubDomains
Transfer-Encoding: chunked
Vary: Accept-Encoding
X-Content-Security-Policy: script-src 'self' cdn.heapanalytics.com heapanalytics.com www.google-analytics.com youtube.com www.youtube.com 'unsafe-eval' https://js.driftt.com https://widget.drift.com; frame-src youtube.com www.youtube.com js.driftt.com widget.drift.com; media-src js.driftt.com; font-src 'self' data: https://heapanalytics.com; base-uri 'self'; style-src 'self' 'unsafe-inline' https://heapanalytics.com; form-action 'self'; frame-ancestors 'self'
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Request-ID: 5f18b5f355fe854427417f255a8b3064
X-Webkit-Csp: script-src 'self' cdn.heapanalytics.com heapanalytics.com www.google-analytics.com youtube.com www.youtube.com 'unsafe-eval' https://js.driftt.com https://widget.drift.com; frame-src youtube.com www.youtube.com js.driftt.com widget.drift.com; media-src js.driftt.com; font-src 'self' data: https://heapanalytics.com; base-uri 'self'; style-src 'self' 'unsafe-inline' https://heapanalytics.com; form-action 'self'; frame-ancestors 'self'
X-Xss-Protection: 1; mode=block
<!doctype html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><meta name=importmap-type content=systemjs-importmap><link rel=apple-touch-icon sizes=180x180 href=./apple-touch-icon.png><link rel=icon type=image/png sizes=32x32 href=./favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=./favicon-16x16.png><link rel=mask-icon href=./safari-pinned-tab.svg color=#f5f5f2><link rel="shortcut icon" href=./favicon.ico><script type=systemjs-importmap>{
"imports": {
"@jfrog/ui-platform-microfrontend-distribution": "/ui/api/v1/distribution/webapp/js/app.js"
}
}</script><script src=/ui/externals/import-map-overrides/dist/import-map-overrides.js></script><script src=/ui/externals/systemjs/dist/s.min.js></script><base href=/ui/ ><title>JFrog</title><style>@keyframes heartbeatOut{from{opacity:1}50%{opacity:0;transform:scale(.8)}to{opacity:0;transform:scale(.8)}}@keyframes heartbeat{from{transform:scale3d(1,1,1)}50%{transform:scale3d(1.15,1.15,1.15)}to{transform:scale3d(1,1,1)}}.pounding-heart-container{display:none;align-items:center;justify-content:center;position:absolute;left:0;right:0;top:0;bottom:0;z-index:9999999999;background:linear-gradient(132.49deg,#414857 14.17%,#252831 83.36%)}.pounding-heart-container.show-splash{display:flex}.logo{width:130px;-webkit-backface-visibility:hidden;-ms-transform:translateZ(0);-webkit-transform:translateZ(0);transform:translateZ(0)}.logo.pulse{animation:heartbeat 1.7s infinite}.logo.zoom-out{animation:heartbeatOut 1s forwards}</style><link href=/ui/css/app.7fa62c69.css rel=preload as=style><link href=/ui/css/chunk-vendors.7890f761.css rel=preload as=style><link href=/ui/js/app.2c3dcb2c.js rel=preload as=script><link href=/ui/js/chunk-vendors.c1872b3e.js rel=preload as=script><link href=/ui/js/preloader.58e23e59.js rel=preload as=script><link href=/ui/css/chunk-vendors.7890f761.css rel=stylesheet><link href=/ui/css/app.7fa62c69.css rel=stylesheet></head><body><div class="pounding-heart-container show-splash"><img class="logo pulse" src=/ui/img/jfrog.e7e805da.svg></div><noscript><strong>We're sorry but jfrog webapp doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><link rel=stylesheet type=text/css href=/ui/webapp/css/vendorStyles.css><link rel=stylesheet type=text/css href=/ui/webapp/css/application.css><div id=app></div><script src=/ui/js/chunk-vendors.c1872b3e.js></script><script src=/ui/js/app.2c3dcb2c.js></script><script src=/ui/js/preloader.58e23e59.js></script></body></html>
try https://apache.jfrog.io/artifactory/couchdb-rpm/el8/x86_64/ instead. I get the impression the /ui/ is not meant to actually be used to consume content
Correct, the couchdb documentation links a .repo file, and the URL in that .repo file follows the format @jlsherrill described, rather than the URL mentioned in the original post.
Version
Describe the bug Error: 'Cannot detect compression type' while sinchronization from apache.jfrog.io
To Reproduce
Expected behavior synchronization should pass without errors
Additional context Add any other context about the problem here. Please provide links to any previous discussions via Discourse or Bugzilla.