Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
admin
admin
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 51
    • Issues 51
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • F-Droid
  • adminadmin
  • Issues
  • #184

Closed
Open
Opened Aug 31, 2020 by Marcus@Bubu🐸

log.gz files served with missing content encoding

The log.gz files from f-droid.org are offered for download but should be shown inside the browser. It works on bubu1.eu/fdroid/repo.

Working:

$ curl -I https://bubu1.eu/fdroid/repo/info.metadude.android.divoc.schedule_75.log.gz
HTTP/2 200 
server: nginx/1.19.2
date: Mon, 31 Aug 2020 16:33:28 GMT
content-type: application/gzip
content-length: 424
last-modified: Sun, 30 Aug 2020 16:43:08 GMT
etag: "5f4bd71c-1a8"
content-type: text/plain
content-encoding: x-gzip
accept-ranges: bytes

Not working:

$ curl -I https://f-droid.org/repo/info.metadude.android.divoc.schedule_75.log.gz
HTTP/1.1 200 OK
Date: Mon, 31 Aug 2020 16:34:43 GMT
Server: Apache
Strict-Transport-Security: max-age=31536000; includeSubDomains
Last-Modified: Sun, 30 Aug 2020 16:43:08 GMT
ETag: "1a8-5ae1afb1a2d81"
Accept-Ranges: bytes
Content-Length: 424
Content-Encoding: x-gzip
Via: 1.1 f-droid.org (Apache/2.4.25)
Content-Type: application/x-gzip

The settings in .htaccess seem correct for f-droid.org (here) but the settings don't apply in production. Someone with webserver access would need to debug this.

Edited Aug 31, 2020 by Marcus
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: fdroid/admin#184