data-api-builder icon indicating copy to clipboard operation
data-api-builder copied to clipboard

[Known Issue]: https://localhost:5001 not in Console Logs after `dab start`

Open JerryNixon opened this issue 1 year ago • 1 comments

What happened?

When using .NET 8 and Data API builder v1.1+ CLI, the Console Logs do not present the HTTPS URL.

Workaround

In your .env file, add the following line:

ASPNETCORE_URLS="http://localhost:5000;https://localhost:5001"

References

  1. https://learn.microsoft.com/en-us/dotnet/core/compatibility/containers/8.0/aspnet-port
  2. https://learn.microsoft.com/en-us/azure/data-api-builder/how-to-use-environments#create-environment-variables-file

Version

1.1+

What database are you using?

Azure SQL

What hosting model are you using?

Local (including CLI)

Which API approach are you accessing DAB through?

REST, GraphQL

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

JerryNixon avatar May 23 '24 22:05 JerryNixon

The corrected breaking change article is for .net7: https://learn.microsoft.com/en-us/dotnet/core/compatibility/aspnet-core/7.0/https-binding-kestrel

seantleonard avatar Jun 06 '24 20:06 seantleonard