JakeWharton / JakeWharton/plex-auto-trash

Error: Invalid value for "--base-url": Expected URL scheme 'http' or 'https' but no colon was found

Open
#83 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
34
Forks
1
Avg merge
2h 5m
Merged PRs (30d)
18

Description

Running over Docker but I keep getting the error "Error: Invalid value for "--base-url": Expected URL scheme 'http' or 'https' but no colon was found" in my logs.

```
services:
plex-auto-trash:
container_name: plex-auto-trash
image: jakewharton/plex-auto-trash:latest
restart: unless-stopped
environment:
- "PLEX_AUTO_TRASH_TOKEN=###"
- "PLEX_AUTO_TRASH_BASE_URL=http://192.168.10.50:32400"
- "PLEX_AUTO_TRASH_CRON=0 * * * *"
- "PLEX_AUTO_TRASH_IDLE_MINUTES=5"
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure with the shown Docker environment and trace how PLEX_AUTO_TRASH_BASE_URL is converted into the --base-url option. Check the URL parsing or command-line entry point, then verify that the provided http://192.168.10.50:32400 value is accepted without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, kotlin
Domain
cli, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.