Skip to content

Fix runtime setup, mapped ports, and proxy trust - #11

Merged
JayRHa merged 2 commits into
mainfrom
agent/fix-runtime-setup
Jul 26, 2026
Merged

JayRHa merged 2 commits into
mainfrom
agent/fix-runtime-setup

Conversation

@JayRHa

@JayRHa JayRHa commented Jul 26, 2026

Copy link
Copy Markdown
Owner

What changed

  • use the page origin for login/setup API calls so Docker port mappings and HTTPS proxies work
  • make documented environment variables effective, including DATABASE_URL and production mode
  • fix the Windows PowerShell setup parser/runtime errors
  • trust forwarding headers only from configured proxy IPs
  • create local log directories safely on a fresh checkout
  • add focused Python and PowerShell CI checks

Root cause

The login page hard-coded localhost:8000, settings deliberately ignored environment variables, the PowerShell setup mixed Bash syntax with PowerShell, and rate limiting accepted spoofable forwarding headers.

Validation

  • 3 passed with the focused pytest suite
  • setup.ps1 parses successfully in PowerShell
  • Python compile and diff checks pass

Closes #3.

@JayRHa
JayRHa marked this pull request as ready for review July 26, 2026 14:31
@JayRHa
JayRHa merged commit 5db253f into main Jul 26, 2026
1 check passed
@JayRHa
JayRHa deleted the agent/fix-runtime-setup branch July 26, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Initial Setup Wizard: 'Create Administrator & Login' button is green but nothing happens when clicked

2 participants