anchordotdev / cli

MIT License
149 stars 4 forks source link

Error: lookup vape-store.lcl.host: no such host #39

Open wrxngdev opened 4 days ago

wrxngdev commented 4 days ago

Are there any additional details you would like to share?


Command: anchor lcl Executable: C:\Program Files\Anchor CLI\anchor.exe Version: 0.1.2 (windows/amd64) Commit: 021bf29c9ba180eb6ad62ae8438867c8d0dcd26b BuildDate: 2024-09-17T12:45:38Z Arguments: [] Flags: [] Timestamp: 2024-09-20T11:24:13.0586425Z Stdout:

    - Loaded anchor.toml configuration. You can use `--skip-config` to ignore this file.

# Signin to Anchor.dev `anchor auth signin`
    | Please sign up or sign in with your Anchor account.
    | 
    | Once authenticated, we can provision your personalized Anchor resources to
    | power HTTPS in your local development environment.
    - Copied your user code HXDX-DWHJ to your clipboard.
    - Opened https://anchor.dev/users/sign_in/cli?signup_src=lclhost in your browser.
    - Signed in as niko.nikoloski16@outlook.de.
| Let's set up fast and totally free lcl.host HTTPS!

# Setup lcl.host HTTPS Local Development Environment `anchor lcl`
    | We'll set you up to use HTTPS locally in your browsers and other programs.

# Audit lcl.host HTTPS Local Development Environment `anchor lcl audit`
    | We'll compare your local development CA certificates from Anchor and your local trust stores.
    - Compared local and expected CA certificates: need to install 2 missing certificates.

# Initial System Configuration for lcl.host Local HTTPS Development `anchor lcl bootstrap`
    | We'll configure your browsers and OS to trust your local development certificates.
    - Checked diagnostic service on Anchor.dev: need to provision service.
    - Entered niko.lcl.host domain for lcl.host diagnostic certificate.
    - Resolved niko.lcl.host domain: failed!
    | The entered domain name is either invalid or cannot be resolved from
    | your machine, possibly due to rebinding protection on your DNS server.
    | Learn more here: https://lcl.host/dns-rebinding

# Setup lcl.host Application `anchor lcl setup`
    | We'll integrate your application and system for HTTPS local development.
    - Using wrxngdev, the only available organization. You can also use `--org wrxngdev`.
    - Using localhost, the only available realm. You can also use `--realm localhost`.
    - No services found, so we'll create one.
    - Scanned current directory.
    - Entered javascript application server type.
    - Entered vape-store application name.
    - Entered vape-store.lcl.host domain for local application development.
    - Resolved vape-store.lcl.host domain: failed!
    | The entered domain name is either invalid or cannot be resolved from
    | your machine, possibly due to rebinding protection on your DNS server.
    | Learn more here: https://lcl.host/dns-rebinding
geemus commented 1 day ago

@wrxngdev Hey, sorry to hear you are having issues with this. The entered subdomain appears to be valid, so rebinding protection seems more likely. The link at the end of the output https://lcl.host/dns-rebinding provides some information that can hopefully help point you in the right direction, but do let us know if you still have questions.