Skip to content

[Bug]: yarn dev / checkout extensions / --tunnel-url #118

@awd

Description

@awd

Please confirm that you have:

  • Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
  • Reproduced the issue in the latest CLI version.

What type of project are you working on?

extension

Expected behavior

Running yarn dev with a custom tunnel url should work, and the extension preview and dev-console should also work.

Run: yarn dev --tunnel-url=https://shopify-cli-bugs.ngrok.io

Visit: https://shopify-cli-bugs.ngrok.io/extensions/dev-console

The dev console should load.

Actual behavior

When accessing the defined tunnel url dev console, the browser shows an error like:

ERR_NGROK_3200
Tunnel shopify-cli-bugs.ngrok.io not found

Stack trace

No response

Reproduction steps

  1. run: yarn dev --tunnel-url=https://shopify-cli-bugs.ngrok.io
  2. visit: https://shopify-cli-bugs.ngrok.io/extensions/dev-console
  3. error

You'll need to use a custom tunnel name through ngrok.

When yarn dev generates a random ngrok url - the dev console loads, as does the checkout ui extension preview.

Operating System

Mac OS Monterey

CLI version (run shopify version if you're not sure)

latest / 3.x

Shell

iTerm2

Ruby version (run ruby -v if you're not sure)

3.1.2

What language and version are you using in your application?

Ruby 3.1.2

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions