github / github/codespaces-nextjs

Build completely broken in codespaces now.

オープン
#13 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
152
フォーク
210
PR マージ指標
30日以内にマージされた PR はありません

説明

Hello,

I have a codespace build of nextjs, and vite from the codespaces templates
and neither of them work out of the box due to https issues. I'm not sure if the hosting domain for the port forwarded sites has changed, but using .dev means the browser is forced to connect using https and I am pretty sure that neither nextjs or vite are configured to use https which causes ssl issues.

If I load the codespace into my local vs code instance and start the vite/nextjs instance there I can connect just fine. So I imagine for these templates to work again either:

1) Don't serve these port forwarded instances from a .dev domain so developers can connect to them via http
2) Update these templates to work for a https connection and make that a default since .dev domains can only be connected to via https

### Simple Browser
![ssl_issue](https://github.com/github/codespaces-nextjs/assets/14841355/893d71b9-5697-41b2-ad79-457dc84ee6df)
### Normal Browser (see SSL error)
![ssl_issue_2](https://github.com/github/codespaces-nextjs/assets/14841355/9a4786aa-8e61-4370-9929-7f22d7463ff9)

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず Codespaces Next.js および Vite テンプレートで問題を再現し、ポートフォワーディングされた URL が HTTPS をどのように処理するかを調査します。両方のテンプレートが Codespaces から起動し、転送されたサイトが HTTP 経由または動作する HTTPS 設定によって SSL エラーなしで読み込まれれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
nextjs, vite
領域
developer-experience, web-dev
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。