Code Monkey home page Code Monkey logo

Comments (5)

kevinmitch14 avatar kevinmitch14 commented on May 23, 2024 1

This was introduced in v14.1.1 stable release.

from next.js.

4lejandrito avatar 4lejandrito commented on May 23, 2024 1

Maybe caused by #62561? I am experiencing a similar issue in 14.1.1-canary.75 but not in 14.1.1-canary.74.

Edit: Oh sorry I did not read the description 😓.

from next.js.

4lejandrito avatar 4lejandrito commented on May 23, 2024 1

The problem here is not only with the hostname but also with the protocol. When running behind an nginx on https:

  • Before #62561 the protocol is https and the hostname mysite.com and the redirects work fine.
  • After #62561 the protocol is still https but the hostname is 0.0.0.0:3000 which listens on http and not on https (this is handled by nginx). This causes the redirects to break with failed to get redirect response TypeError: fetch failed + ERR_SSL_WRONG_VERSION_NUMBER.

I am debating whether or not to create a separate issue for this, since the root cause is the same one.

from next.js.

kevinmitch14 avatar kevinmitch14 commented on May 23, 2024 1

Yeah I thought this issue would be picked up quickly as I think it's a pretty fundamental issue/regression.

It made it off canary and into a stable release so surely other people are going to be affected by this.

from next.js.

4lejandrito avatar 4lejandrito commented on May 23, 2024

I reported a separate issue: #63114. Same root cause.

from next.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.