Skip to content

Issue with API Key #1

@sizhky

Description

@sizhky

I've used

textual-web --signup
╭────────────────────────────────────╮
│ You have signed up to textual-web! │
╰────────────────────────────────────╯
 • Wrote auth to '/Users/sizhky/.config/textual-web/auth.json'
 • Your API key is 'XXX'
 • Wrote 'ganglion.toml'

Run 'textual-web --config ganglion.toml' to get started.

Running textual-web with this key works and creates a URL at https://textual-web.io/sizhky/tdx

But the same textual-web --config ganglion.toml -e local does not work

It throws error -

connecting to Ganglion
WARNING  Received forbidden response, check your API Key

ganglion get-account-from-api-key XXX also does not work. It returns -

Not found

If I change ganglion.config to have

app_url_format = "http://127.0.0.1:8080/sizhky/{application}"

and run textual-web -r "tdx" --config server.toml -e local

I just get a Not Found on the webpage http://127.0.0.1:8080/sizhky/tdx


TLDR, trying to launch textual-web locally with following config throws error -

[app.tdx]
command = "tdx"
slug = "tdx"

[account]
api_key = "XXX"

Throws
WARNING Received forbidden response, check your API Key

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