dotnet-postgres - webapi "dotnet watch run" Failed to determine the https port for redirect.
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
调研方向
首先,在一个全新的 dotnet-postgres 开发容器中复现编号步骤,然后检查与转发端口和 HTTPS 相关的模板配置。当生成的 webapi 可以通过其列出的 localhost 地址访问,且不再出现报告中的 HTTPS 重定向警告时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
When running "dotnet watch run" from the container terminal inside of a dotnet7 webapi template you get the below error.
How to reproduce
- Create new dev container for dotnet-postgres with no additional features.
- Open dev container terminal
- run
dotnet new webapi -o testapi cd testapi- run
dotnet watch run - Open browser and go to listed localhost address
You will then see the following error
warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
Failed to determine the https port for redirect.
Base OS: Arch Linux
Docker Info:
Client:
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc., 0.9.1)
compose: Docker Compose (Docker Inc., 2.14.2)
scan: Docker Scan (Docker Inc., v0.1.0-271-g6c852fac62)
Server:
Containers: 2
Running: 2
Paused: 0
Stopped: 0
Images: 8
Server Version: 20.10.22
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: false
userxattr: false
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 9ba4b250366a5ddde94bb7c9d1def331423aa323.m
runc version:
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: default
cgroupns
Kernel Version: 6.1.7-1-MANJARO
Operating System: Manjaro Linux
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 23.26GiB
Name: shane-laptop
ID: W55L:GLVC:D6X5:WTRI:4UFT:WNKE:QLM3:763G:3CJW:JEEP:H2DE:6TKI
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
- 主要语言
- Shell
- 星标
- 1.4k
- 派生
- 393
- 平均合并
- 5 天 5 小时
- 30 天内合并 PR
- 4
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
devcontainers/templates 的其他 Issue
-
rene未关闭
难度 5/5 一周以上 新手友好度 1/100
devcontainers/templates#455 ·
-
难度 4/5 3-5 天 新手友好度 55/100
devcontainers/templates#420 ·
-
git-lfs not found/usable/configured correctly in Python image(s), preventng any git action可能重新可做 @V-Subhankar-infy 于 62 天前认领,目前没有进行中的 PR。 未关闭info-needed
devcontainers/templates#427 · 6 条评论 · 1 个 reaction · 已指派 1 人 ·
-
难度 4/5 3-5 天 新手友好度 35/100
devcontainers/templates#375 · 1 条评论 · 1 个 reaction ·
-
难度 5/5 一周以上 新手友好度 25/100
devcontainers/templates#326 ·
查看 devcontainers/templates 的全部 Issue
相似的 Issue
-
package-update
难度 2/5 1-3 小时 新手友好度 72/100
oSoWoSo/vOid_Community_repOsitory#207 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
alunduil/alunduil-chezmoi#815 ·
维护者通常 1 天内回复
-
good first issue new package
难度 2/5 1-3 小时 新手友好度 68/100
wimpysworld/deb-get#2035 ·
维护者通常 1 天内回复
-
automation documentation
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 92/100
termux/termux-packages#32085 ·
维护者通常 1 天内回复