Hopwire Hopwire

Docs

hopwire.yaml

Reference of the project config that hopwire up reads. Every field with its type, default, validation rule and error message, how entry ports are numbered, and what hopwire up does with the file.

hopwire.yaml describes every local service of a project in one file. hopwire up reads it and starts all of them at once: one traffic log and one inspector for all services, a loopback entry point per service, and public URLs and P2P sharing as the file says.

The file is strict. Unknown keys, a wrong type or a value outside the rules stop hopwire up with one sentence that names the offending field by its path, for example services.api.local. Nothing is guessed and nothing is started.

Quick start

The smallest file that works:

yaml
version: 1
services:
    web:
        local: http://127.0.0.1:3000
sh
$ hopwire up
Config       /home/you/project/hopwire.yaml (1 service)
Service      web
Mode         private (local only, no network connection beyond loopback)
Forwarding   http://127.0.0.1:4041 -> http://127.0.0.1:3000
Traffic log  <log-key> (0 exchanges)
Inspector    http://127.0.0.1:4040/<key>

Send requests to http://127.0.0.1:4041 instead of http://127.0.0.1:3000. Each one is forwarded, written to the traffic log and shown in the inspector.

Where the file is read from

text
hopwire up [--config <path>]
  • Without --config, hopwire up reads hopwire.yaml in the working directory.
  • --config <path> names another file. A relative path is resolved against the working directory.
  • hopwire up takes no arguments and no other option of its own. The global options --data-dir <path>, -h, --help and --version work as with every command.

Error sentences name the file the way you would: relative to the working directory when it lies inside it, by its whole path otherwise.

Situation Message
No hopwire.yaml in the working directory There is no hopwire.yaml in this directory; create one (hopwire.example.yaml shows every field) or name a file with --config <path>.
The file given to --config does not exist The config file <path> does not exist; check the path given to --config.
The file cannot be read (a directory, missing permission) The config file <path> cannot be read (<code>); check that it is a readable file. <code> is the error code of the system, for example EISDIR or EACCES.
--config with an empty value --config needs the path of a config file
An extra argument Too many arguments; the command is hopwire up [--config <path>]
An option of another command, for example --listen --listen is not an option of hopwire up

The last three are usage errors: exit code 2, followed by the line Run "hopwire --help" for usage. Every other failure on this page, an invalid file included, exits with code 1. Every message goes to stderr as one sentence.

Structure

yaml
version: 1            # required
inspector:
    port: 4040        # optional
edge:
    url: ws://127.0.0.1:8787     # required as soon as a service is public
controlPlane:
    url: https://hopwire.to # optional
p2p:
    share: false      # optional
    allow:            # optional
        - <public key>
services:             # required, at least one
    <name>:
        local: http://127.0.0.1:3000   # required
        public: false                  # optional
        subdomain: <name>              # optional
        auth:
            basic: <user>:<password>   # optional

Top-level keys: version, inspector, edge, controlPlane, p2p and services. Nothing else is accepted, at any level.

Fields

version

Type number
Required yes
Value 1, the only version of the format

"1" in quotes is a string and is refused.

Problem Message
Missing hopwire.yaml: version is missing; add "version: 1" to the file.
Anything but the number 1 hopwire.yaml: version must be 1, the only version of the format this tunnel reads.

inspector.port

Type whole number, 0 to 65535
Required no
Default 4040

The loopback port of the inspector, which shows the traffic of all services at http://127.0.0.1:<port>. 0 picks a free port; the Inspector line of the startup output says which one. hopwire up always runs with the inspector.

Problem Message
Not a whole number, or out of range hopwire.yaml: inspector.port must be a port number between 0 and 65535 (0 picks a free one).
The port is taken when hopwire up starts Port 4040 for the inspector is already in use; choose another one with inspector.port in hopwire.yaml.
The port needs privileges Port 80 for the inspector needs privileges this user does not have; choose a port above 1023 with inspector.port in hopwire.yaml.

The last two are found at start, not while the file is read. Nothing is left running after either.

edge.url

Type string, a ws:// or wss:// URL without a path
Required only when at least one service has public: true
Default none

The edge that serves the public URLs. The URL must be a bare origin: no path, query, fragment, user or password. ws:// is only accepted for an edge on this machine (localhost, 127.x.x.x, [::1]), because the token travels in a header of the connect request. Everything else must be wss://.

A local edge under wrangler dev listens on ws://127.0.0.1:8787.

Without a public service the key is validated when present and otherwise not used.

Problem Message
Not a string, not a ws/wss URL, or with a path hopwire.yaml: edge.url must be a ws:// or wss:// URL without a path, for example wss://edge.hwr.sh or ws://127.0.0.1:8787 for wrangler dev.
ws:// to another machine hopwire.yaml: edge.url must use wss:// unless the edge runs on this machine; over ws:// the token would travel unencrypted.
Missing while a service is public hopwire.yaml: edge.url is missing, and a service is public; add the URL of the edge, for example ws://127.0.0.1:8787 for wrangler dev.

controlPlane.url

Type string, an http:// or https:// URL without a path
Required no
Default none

The control plane that issues connect tokens for the public services. The same rule as for the edge: a bare origin, and http:// only for a control plane on this machine, because the API token travels in a header of every request.

The key decides where public services get their token:

  • With controlPlane.url: the account of hopwire login. This machine has to be logged in at exactly that control plane. A subdomain in the file has to be reserved by the organisation the API token acts in; a public service without one is served under the fixed URL of that organisation. HOPWIRE_DEV_TOKEN is not used, whatever it holds.
  • Without it: the dev token of a local edge, read from the environment variable HOPWIRE_DEV_TOKEN.

Token and account are only read when a service is public. A file without a public service never looks at them.

Problem Message
Not a string, not an http/https URL, or with a path hopwire.yaml: controlPlane.url must be an http:// or https:// URL without a path, for example https://hopwire.to.
http:// to another machine hopwire.yaml: controlPlane.url must use https:// unless the control plane runs on this machine; over http:// the API token would travel unencrypted.
Set, a service is public, and this machine is not logged in hopwire.yaml: controlPlane.url is set, so the public services use your account there, but this machine is not logged in; run hopwire login --api <url> first.
Set, a service is public, and this machine is logged in elsewhere hopwire.yaml: controlPlane.url is <url>, but this machine is logged in at <other url>; run hopwire login --api <url>, or change the URL in the file.
Not set, a service is public, and HOPWIRE_DEV_TOKEN is empty or not set A service in hopwire.yaml is public and needs a token: set controlPlane.url in the file to use your account (hopwire login), or set HOPWIRE_DEV_TOKEN to the dev token of a local edge (HOPWIRE_DEV_TOKEN in its .dev.vars).

p2p.share

Type boolean
Required no
Default false

Private mode: No account, no servers of ours, end-to-end encrypted between you and the teammates you choose.

true announces the traffic log, so teammates can follow it with hopwire watch <log-key>, and lets them reach every service of the file with hopwire connect <peer-key> --port <port> --service <name>. Sharing is for the whole file: there is no per-service switch.

Read this before you turn it on:

  • The shared log holds headers and bodies as captured, including credentials.
  • It is the whole log of the data directory, earlier runs included, whether those were shared or not.
  • The peer key is not a secret: the nodes of the DHT see it. Without p2p.allow, anyone with the log key can read the log and anyone who knows the peer key can reach the services.

With false, no identity is created and nothing connects to the DHT.

Problem Message
Not true or false hopwire.yaml: p2p.share must be true or false.

The file is YAML 1.2: yes, on and 1 are not booleans and are refused.

p2p.allow

Type list of strings, each a public key of 64 hexadecimal characters
Required no
Default no list: every key is let in

The only public keys that may watch and connect. Each teammate prints theirs with hopwire id. Upper and lower case are both accepted and treated as the same key.

An empty list is refused. To let everyone with the keys in, remove the key from the file.

The list is validated whether or not p2p.share is true, and only has an effect when it is.

Problem Message
Not a list hopwire.yaml: p2p.allow must be a list of public keys, as "hopwire id" prints them.
Empty list hopwire.yaml: p2p.allow must list at least one public key; remove the key to let every teammate with the keys in.
An entry that is not a key (here the first) hopwire.yaml: p2p.allow[0] must be a public key: 64 hexadecimal characters, as "hopwire id" prints them.

services

Type mapping of service names to their settings
Required yes, with at least one service

One entry per local service. The name shows in the inspector and in the output of hopwire up, is written to the traffic log with every exchange, and is what a teammate passes to --service.

Service names. 1 to 255 bytes without control characters. A name is the text of its key, so 8080: names a service "8080". A number and the same number in quotes (1 and "1") are one name and cannot both be used.

Order. Services are started, numbered and printed in the order of the file.

Problem Message
Missing hopwire.yaml: services is missing; add at least one service with its local URL.
Not a mapping hopwire.yaml: services must be a mapping of service names to their settings.
Empty mapping hopwire.yaml: services must name at least one service with its local URL.
A key that is a list or a mapping hopwire.yaml: services has a key that is a list or a mapping; name each service with one plain word or number.
Two keys that are one name hopwire.yaml: services.1 is given twice; a number and the same number in quotes are one service name, so give each service its own.
The same key twice hopwire.yaml is not valid YAML: Map keys must be unique at line 6, column 5; correct the file and start again.
Empty name, control characters or more than 255 bytes hopwire.yaml: services[""] is not a usable service name; use 1 to 255 bytes without control characters.
A service without settings (web: and nothing below) hopwire.yaml: services.web must be a mapping with the keys local, public, subdomain and auth.

services.<name>.local

Type string, an http:// URL on this machine without a path
Required yes

Where the service listens. The host must be a loopback address: localhost, 127.x.x.x or [::1]. Only http://, and only a bare origin: no path, query, fragment, user or password. Hopwire only forwards to loopback addresses.

Problem Message
Missing hopwire.yaml: services.web.local is missing; it must be an http URL on this machine without a path, for example http://127.0.0.1:3000; Hopwire only forwards to loopback addresses.
Anything else that is not such a URL (https://, another host, a path, a number) hopwire.yaml: services.web.local must be an http URL on this machine without a path, for example http://127.0.0.1:3000; Hopwire only forwards to loopback addresses.

services.<name>.public

Type boolean
Required no
Default false

true serves the service under a public URL through the edge. Each public service gets its own subdomain and its own connection to the edge. It needs edge.url and a token (see controlPlane.url).

A service with false is reachable through its entry point only, and by teammates when p2p.share is true.

Problem Message
Not true or false hopwire.yaml: services.web.public must be true or false.

services.<name>.subdomain

Type string
Required no
Default none: the fixed t-... URL of your organisation (a random t-... name with the dev token)

The subdomain a public service is served under.

Rules:

  • 3 to 63 characters: lowercase letters, digits and hyphens.
  • Does not start or end with a hyphen.
  • Does not start with t- (the space of fixed URLs and random names).
  • Not a reserved name: www, api, app, edge, admin, mail, status, docs, hopwire.
  • Two public services cannot share one subdomain.

Without the key:

  • With the dev token (no controlPlane.url), the CLI makes up t- followed by 12 characters, new on every start.
  • With controlPlane.url, the service is served under the fixed URL of your organisation, the same on every start. Only one service can be online under it at a time.

With controlPlane.url, a subdomain in the file has to be one your organisation reserved.

On a service that is not public the key is checked against the format rules and otherwise not used. It does not count for the duplicate check either.

Problem Message
Not a string, or against a rule hopwire.yaml: services.api.subdomain must be 3 to 63 lowercase letters, digits or hyphens, must not start or end with a hyphen, must not start with t- and must not be a reserved name such as www or api.
Used by two public services hopwire.yaml: services.hooks.subdomain is also the subdomain of the service api; a subdomain serves one service, so give each its own.

services.<name>.auth.basic

Type string, user:password
Required no
Default none: the public URL is open to everyone who knows it

HTTP Basic Auth in front of a public service. The edge asks every public request for these credentials before the request reaches this machine.

Rules:

  • A user, a colon, a password. Neither part is empty.
  • The user contains no colon. The password may.
  • No control characters.
  • At most 512 bytes in UTF-8.

auth takes the one key basic. On a service that is not public the value is checked and otherwise not used.

Problem Message
Not a string, or against a rule hopwire.yaml: services.api.auth.basic must be user:password with a user that contains no colon, a password, no control characters and at most 512 bytes.

See Basic Auth for how it behaves and what to watch out for.

Messages for the file as a whole

Problem Message
Empty file hopwire.yaml is empty; it needs "version: 1" and at least one service.
The file is a list or a plain value hopwire.yaml must be a mapping with the keys version, inspector, edge, controlPlane, p2p and services.
YAML syntax error hopwire.yaml is not valid YAML: <what> at line <n>, column <n>; correct the file and start again.
An alias without its anchor, or aliases nested too deep hopwire.yaml is not valid YAML: an alias (*name) has no anchor, or aliases are nested too deep; correct the file and start again.
An unknown top-level key, for example service hopwire.yaml: service is not a key Hopwire knows; the file takes version, inspector, edge, controlPlane, p2p and services.
An unknown key in a section hopwire.yaml: inspector.host is not a key Hopwire knows; inspector takes port.
An unknown key in a service hopwire.yaml: services.web.port is not a key Hopwire knows; a service takes local, public, subdomain and auth.
A section that is not a mapping hopwire.yaml: inspector must be a mapping with the key port.

The same pattern holds for the other sections: edge takes url, controlPlane takes url, p2p takes share and allow, auth takes basic.

How messages are built:

  • With a field: <file>: <path> <problem>. Without one: <file> <problem>.
  • A path reads like services.api.local or p2p.allow[0]. A service name that is not made of letters, digits, _ and - only is quoted: services["my app"].local.
  • One problem per run: the first one found stops the start.
  • A syntax error gives the kind of problem and its position, and never quotes a line of the file. The value of auth.basic is never repeated, in no message.

YAML anchors and aliases work:

yaml
version: 1
services:
    web: &service
        local: http://127.0.0.1:3000
    api: *service

Entry ports

Every service gets a loopback entry point on 127.0.0.1. The ports are not set in the file. They are counted:

  1. The first service gets 4041.
  2. Each following service gets the next port, in the order of the file.
  3. The port of inspector.port is left out. With inspector.port: 4042, three services get 4041, 4043 and 4044.
  4. A port that another program holds is not an error: the service takes a free port instead.
  5. A count that runs past 65535 takes a free port as well.

The Forwarding line of each service says where it really listens. Read the ports from there, not from the rule, when a port might be taken.

With the default inspector port:

Position in the file Entry point
1st service http://127.0.0.1:4041
2nd service http://127.0.0.1:4042
3rd service http://127.0.0.1:4043

Moving a service up or down in the file changes its port. Adding one at the end does not change the others.

What hopwire up does

In this order:

  1. Reads and validates the file. An invalid file stops here.
  2. If a service is public: reads the token (HOPWIRE_DEV_TOKEN) or the account, as described under controlPlane.url.
  3. Opens the traffic log of the data directory. All services write to this one log.
  4. Starts the entry point of every service, in the order of the file.
  5. With p2p.share: true: loads or creates the identity of this machine and announces log and services to teammates.
  6. Connects every public service to the edge, one connection and one subdomain each.
  7. Starts the inspector.
  8. Prints the startup lines, then one line per exchange.

If a step fails, everything started before it is closed again and the command exits with code 1.

The data directory is --data-dir <path>, else $HOPWIRE_HOME, else ~/.hopwire. Only one tunnel can use a data directory at a time:

text
The data directory <path> is in use by another tunnel; stop that one or choose another directory with --data-dir <path>.

Startup output

text
Config       <path of the file> (<n> services)
Service      <name>
Mode         <mode of this service>
Forwarding   <entry point> -> <local URL>
Public URL   <url>                         only for a public service
...                                        the four lines again for each service
Traffic log  <log-key> (<n> exchanges)
Peer key     <public key of this machine>  only with p2p.share: true
Notice       ...                           only with p2p.share: true
Inspector    http://127.0.0.1:<port>/<key>

Config always shows the whole path of the file. With one service it reads (1 service).

The Mode line of a service is one of:

Service p2p.share Line
not public false Mode private (local only, no network connection beyond loopback)
not public true Mode private (direct P2P: no account, no servers of ours, end-to-end encrypted between you and the teammates you choose)
public false Mode public (public URL through the edge; needs a token, requests pass through the edge)
public true Mode public and private P2P (public URL through the edge, plus direct P2P with the teammates you choose)

A public service with auth.basic marks its URL: Public URL <url> (asks for the user and password of auth.basic). If the edge did not report a URL, the line reads Public URL subdomain <name> (the edge did not report its URL).

The Notice line with p2p.share: true:

  • Without p2p.allow: Notice The shared log contains headers and bodies as captured, including credentials. It is the whole log of this data directory, earlier runs included. Anyone with the log key can read it. The peer key is not a secret (the nodes of the DHT see it), and anyone who knows it can reach the service; restrict both with p2p.allow in hopwire.yaml.
  • With p2p.allow: the same first two sentences, then Only the 2 allowed keys can read it or reach the service. (or Only the one allowed key ...).

While it runs

One line per exchange: method, path, status, duration. With several services each line starts with the service name, padded to the longest name:

text
web  GET     /a  200  3ms
api  POST    /b  200  12ms

With one service the name is left out:

text
GET     /a  200  3ms

Other lines you may see:

Line Meaning
Edge connection lost; the public URL is offline, next attempt in 1.0 s The connection of a public service to the edge dropped; it is tried again.
Edge connected again; the public URL is served It is back.
Could not write to the traffic log; the request was still forwarded The exchange was not recorded.

With several services the edge lines end in (service <name>) and the log line starts with the service name.

In the inspector

  • All services show up in one inspector. Every exchange carries the name of its service.
  • Replay sends an exchange to the local URL of its own service.

Stopping

  • Ctrl-C (or SIGTERM) closes everything in order and exits with code 0: entry points and inspector, connections to the edge, P2P, then the traffic log.
  • A shutdown that takes longer than 4 seconds is cut short: Shutdown took too long; exiting without waiting for the rest.
  • A second Ctrl-C exits at once, with code 130 (143 for SIGTERM).
  • If a public service can no longer be served for good (the edge gave its subdomain to another tunnel, or no longer accepts the token), the reason is printed and the whole command stops with exit code 1, the other services included.

Several services

yaml
version: 1

p2p:
    share: true

services:
    web:
        local: http://127.0.0.1:3000
    api:
        local: http://127.0.0.1:8080
    worker:
        local: http://127.0.0.1:9000
sh
$ hopwire up
Config       /home/you/project/hopwire.yaml (3 services)
Service      web
Mode         private (direct P2P: no account, no servers of ours, end-to-end encrypted between you and the teammates you choose)
Forwarding   http://127.0.0.1:4041 -> http://127.0.0.1:3000
Service      api
Mode         private (direct P2P: no account, no servers of ours, end-to-end encrypted between you and the teammates you choose)
Forwarding   http://127.0.0.1:4042 -> http://127.0.0.1:8080
Service      worker
Mode         private (direct P2P: no account, no servers of ours, end-to-end encrypted between you and the teammates you choose)
Forwarding   http://127.0.0.1:4043 -> http://127.0.0.1:9000
Traffic log  <log-key> (0 exchanges)
Peer key     <peer-key>
Notice       The shared log contains headers and bodies as captured, including credentials. It is the whole log of this data directory, earlier runs included. Anyone with the log key can read it. The peer key is not a secret (the nodes of the DHT see it), and anyone who knows it can reach the service; restrict both with p2p.allow in hopwire.yaml.
Inspector    http://127.0.0.1:4040/<key>

A teammate reaches one of them by its name:

sh
$ hopwire connect <peer-key> --port 5000 --service api

When the file has more than one service, --service is needed:

text
The peer runs several services; choose one with --service <name>.

A name that is not in the file:

text
The peer has no service named "apii"; ask your teammate for the name it was started with (--name, or the service name in hopwire.yaml).

To follow all three in their own inspector, the teammate runs hopwire watch <log-key>.

Basic Auth

yaml
services:
    api:
        local: http://127.0.0.1:8080
        public: true
        auth:
            basic: demo:change-me

How it behaves:

  • The edge checks every request to the public URL. Without the right credentials it answers 401 with the body Authentication required and the header WWW-Authenticate: Basic realm="Hopwire". Such a request never reaches this machine.
  • The edge removes the Authorization header from requests it checked. Your local service does not see the credentials.
  • It protects the public URL only. Requests through the loopback entry point and from teammates over P2P are not asked for it.
  • The CLI sends the credentials to the edge with every connect request. The edge keeps a SHA-256 hash of them, not the credentials.
  • The credentials are never printed: not in the startup lines, not in an error.

The password is in the file in clear text. There is no way to reference an environment variable or a secret store from hopwire.yaml. So:

  • Keep hopwire.yaml out of version control. Add it to .gitignore and commit an example file with a placeholder instead.
  • Do not reuse a password that protects anything else.
  • Anyone who can read the file can read the password. Restrict its permissions (chmod 600 hopwire.yaml) on a shared machine.
  • Replace the placeholder of the example file before the URL goes to anyone.

Quoting. demo:change-me needs no quotes. Quote the value when the password contains characters YAML reads as syntax, such as #, a colon followed by a space, or a leading *, &, ! or @:

yaml
auth:
    basic: 'demo:pa#ss: word'

Example file

hopwire.example.yaml shows every field. Copy it to hopwire.yaml in the project directory and run hopwire up, or keep another name and run hopwire up --config <path>.

yaml
# Project config of `hopwire up`: every local service of a project in one file.
#
# Copy it to hopwire.yaml in the project directory (git-ignored here, because auth.basic holds a password) and run
# `hopwire up`, or keep another name and run `hopwire up --config <path>`.
# Unknown keys, another version, a local URL that is not on this machine or a malformed subdomain stop `hopwire up`
# with the path of the offending field, for example "services.api.local".

# The one version of this format.
version: 1

# The inspector shows the traffic of all services: http://127.0.0.1:<port>. Default 4040; 0 picks a free port.
inspector:
    port: 4040

# The edge that serves the public URLs. Needed as soon as one service has `public: true`.
# Local development: `npm run dev --workspace @hopwire/edge` (wrangler dev) listens on ws://127.0.0.1:8787.
# Anything that is not on this machine has to be wss://.
edge:
    url: ws://127.0.0.1:8787

# The control plane that issues connect tokens for public services. It has to be the one this machine is logged in
# to (`hopwire login --api <url>`); a subdomain below then has to be reserved by the organisation the API token acts
# in, and a public service without one is served under the fixed URL of that organisation. Without this key, public
# services use the dev token of a local edge from the environment variable HOPWIRE_DEV_TOKEN.
# controlPlane:
#     url: http://localhost:8089

# Private mode: direct P2P with teammates, no account, no servers of ours.
p2p:
    # true announces the traffic log (`hopwire watch <log-key>`) and lets teammates reach every service below
    # (`hopwire connect <peer-key> --port <port> --service <name>`). The shared log holds headers and bodies as
    # captured, including credentials.
    share: false
    # Only these public keys may watch and connect (each teammate prints theirs with `hopwire id`).
    # Without the list everyone who has the keys gets in.
    # allow:
    #     - 0000000000000000000000000000000000000000000000000000000000000000

# One entry per local service; the name shows in the inspector and is what a teammate passes to --service.
# Every service gets a loopback entry point, counted up from 4041 in the order of this file (the port of the
# inspector is left out).
services:
    # Private: reachable through its entry point, and by teammates when p2p.share is true.
    web:
        # An http URL on this machine without a path.
        local: http://127.0.0.1:3000

    # Public under a subdomain of its own, and only for those who know user and password.
    api:
        local: http://127.0.0.1:8080
        public: true
        # 3 to 63 lowercase letters, digits or hyphens; not starting with t-, not a reserved name such as www.
        subdomain: demo-api
        auth:
            # user:password, asked for by the edge (HTTP Basic Auth) before a request reaches this machine.
            # Replace the placeholder before the URL goes to anyone.
            basic: demo:change-me

    # Public without a subdomain: a random t-... name is used, new on every start.
    hooks:
        local: http://127.0.0.1:4000
        public: true

Run as it is, the example starts three services: web on http://127.0.0.1:4041, api on 4042 and hooks on 4043. Two are public, so it needs a local edge on ws://127.0.0.1:8787 and its dev token:

sh
$ HOPWIRE_DEV_TOKEN=<dev token of the local edge> hopwire up --config hopwire.example.yaml

Plans and limits

hopwire.yaml itself is not tied to a plan: the file, the inspector, the traffic log and private mode work without an account. Plans apply to the public services of a file that uses controlPlane.url, because those go through the edge under the plan of your organisation. With the dev token of a local edge there is no plan.

  • Tunnels online at once. Every service with public: true is one tunnel. Free allows 1 online at a time, Pro 3, Team 15, counted across every machine of the organisation. A connect beyond the limit is refused with 429, and hopwire up then stops with the edge's sentence (Your organisation already has <n> of <limit> tunnels online, ...) and exit code 1, like for any public service that cannot start.
  • Daily limits. Requests, data and in-flight time are counted per organisation, across all public services of the file and every machine of the organisation. At a limit the edge answers 429 until 00:00 UTC. There is never an overage charge. Each public service prints its own Usage line at the start.
  • Warning page on Free. Browsers that load an HTML page from a public URL of a Free organisation see a warning page first. Webhooks, API calls and curl do not.
  • Idle disconnect on Free. The edge closes a public tunnel after 24 hours without a request, and hopwire up stops with exit code 1.
  • Names. A public service without subdomain gets the organisation's one fixed t-... URL, the same on every start. Only one service can be online under it at a time. Reserved names (subdomain) are a Pro and Team feature (5 and 25 names).

Basic Auth at the edge is included on every plan. The full table of limits is in Public mode.