Skip to content

[Bug] asExternalUri never returns #14248

Closed
@jeromelaban

Description

@jeromelaban

Bug description

Since what I think is coder/code-server#5624, awaiting vscode.env.asExternalUri(vscode.Uri.parse("http://localhost:12345"); never returns.

Steps to reproduce

I don't have a simple repro available, but the promise awaiting vscode.env.asExternalUri does not return.

Here's an larger repro:

  1. Open: https://gitpod.io/#https://github.com/unoplatform/uno.quickstart
  2. Install the suggested Uno Platform extension
  3. Once the C# environment is setup, with the commmand palette use the command "Omnisharp: Select project" (or click on the project name in the status bar)
  4. Select the MyApp.Wasm project
  5. If the vscode.env.asExternalUri works, the output for Uno Platform - Hot Reload will show Application started. Press Ctrl+C to shut down..

Currently, that message does not appear.

Workspace affected

No response

Expected behavior

A new listening port is opened based on the external uri.

Example repository

No response

Anything else?

No response

Metadata

Metadata

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions