Skip to content

HTTPS FEED_URL not supported: scheme check missing 'https' #59

Description

@buzztee

Bug Description

When using a HTTPS URL as FEED_URL (e.g. https://api.airplanes.live/...),
adsbcot silently does nothing. No ADSBWorker task is created, no error is raised.

Root Cause

In functions.py line 81, the scheme check only includes http but not https:

if feed_url.scheme in ["http", "file", "ws", "wss"]:

Since urlparse("https://...") returns scheme https, the condition is never true and no worker task is added to the task set.

Fix

if feed_url.scheme in ["http", "https", "file", "ws", "wss"]:

Environment

  • adsbcot version: 9.0.1
  • Python: 3.9
  • OS: Rocky Linux

Impact

Any user using a modern HTTPS API endpoint (like airplanes.live) as FEED_URL gets no data and no error message – very hard to debug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions