Opened 8 years ago

Closed 8 years ago

#5445 closed defect (fixed)

Atlas doesn't handle Onionoo's HTTPS redirects correctly

Reported by: karsten Owned by: hellais
Priority: High Milestone:
Component: Metrics/Relay Search Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

After moving Onionoo to a host that provides HTTPS, or rather a host that enforces HTTPS by redirecting HTTP requests to HTTPS, Atlas has a problem: it doesn't handle HTTP 302 redirects correctly. It simply says "Backend error!" The problem goes away with HTTPS Everywhere enabled, because then the client rewrites the HTTP link to HTTPS. But without HTTPS Everywhere, the server sends a 302 and the client gets confused.

An easy fix is to replace the three HTTP URLs in Atlas' sources with HTTPS URLs. That's probably a good idea, regardless of the stated issue.

Child Tickets

Attachments (1)

0001-Replace-HTTP-with-HTTPS-links.patch (2.2 KB) - added by karsten 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by karsten

comment:1 Changed 8 years ago by karsten

Status: newneeds_review

See the attached patch, tested on my local VM.

comment:2 Changed 8 years ago by karsten

Resolution: fixed
Status: needs_reviewclosed

I see the patch has been merged and is working. Thanks! Closing.

Note: See TracTickets for help on using tickets.