github / github/codespaces-nextjs

Build completely broken in codespaces now.

Offen
#13 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
152
Forks
210
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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)

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, das Problem in den Codespaces Next.js- und Vite-Vorlagen zu reproduzieren, und untersuche, wie ihre per Port-Weiterleitung bereitgestellten URLs mit HTTPS umgehen. Erledigt ist die Aufgabe, wenn beide Vorlagen aus Codespaces gestartet werden und ihre weitergeleiteten Sites ohne SSL-Fehler geladen werden, entweder über HTTP oder mit einer funktionierenden HTTPS-Konfiguration.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
nextjs, vite
Bereich
developer-experience, web-dev
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.