Skip to content

Ports for API calls are not being forwarded correctly when using VSCode in Codespaces #205228

@ccastrotrejo

Description

@ccastrotrejo

ADD ISSUE DESCRIPTION HERE

Version: 1.86.0-insider
Commit: 8172579
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0
Embedder: codespaces

General issue idea:

For Logic Apps (Standard) vscode extension we run a local func host start process which starts the local server in port 7071. (the port doesn't automatically starts, there are a series of steps you must do to make the server run), The port is automatically forwarded, which is good. However if we make API calls to the localhost:7071 the api calls don't go through it. It seems that isn't active. I tried making the calls manually by changing the localhost:7071 to the forwarded address and then it works. Is there a way the API calls can automatically go through the forwarded address?

All this works fine in a local environment. We are trying to make it work in a codespace environment.

Screenshots

Screenshot 2024-02-14 at 9 31 35 AM Screenshot 2024-02-14 at 9 35 41 AM

Steps to Reproduce:

  1. You can take a look on how to do this in here: https://learn.microsoft.com/en-us/azure/logic-apps/create-single-tenant-workflows-visual-studio-code#run-test-and-debug-locally
  2. This is a really specific logic apps scenario, I am more than happy to help with this issue.

Metadata

Metadata

Assignees

Labels

*as-designedDescribed behavior is as designed

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