Skip to content

Faust gives incorrect error when site is password protected with http basic auth #1850

Closed

Description

@mindctrl

Description

If a site is password protected with Basic Auth, any commands that talk with the WP site will cause Faust to throw an error message that isn't exactly accurate. You will see:

error - Ensure your FAUST_SECRET_KEY environment variable matches your Secret Key in the Faust WordPress plugin settings

We should try to detect this situation and provide a more accurate error message.

Steps to reproduce

  1. Enable http basic auth on your WP site
  2. Configure Faust to point to the above WP site
  3. Run npm run dev
  4. See inaccurate error message

Additional context

No response

@faustwp/core Version

3.x

@faustwp/cli Version

3.x

FaustWP Plugin Version

1.2.2

WordPress Version

6.4.3

Additional environment details

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Activity

  1. added
    [Type] Bug
    Good First Issue
    on Mar 15, 2024
  2. VanshMehta588 commented on May 26, 2025

    @VanshMehta588

    is it resolved i am also facing same issue

  3. moved this from 🆕 Backlog to ✅ Closed in Headless OSSon Apr 14, 2026
  4. added a commit that references this issue on Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First Issue[Type] Bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions