Next.js Discord

Discord Forum

Failed to proxy; SSL; next-intl

Answered
Brown bear posted this in #help-forum
Open in Discord
Brown bearOP
I am not sure if it's a Next.JS or next-intl problem, but it keeps returning me this error in production:
Failed to proxy https://localhost:80/en Error: write EPROTO 0098B1D7117F0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:354:
2023-08-23T12:05:19.832591712Z
    at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16) {
  errno: -71,
  code: 'EPROTO',
  syscall: 'write'
[9}
Error: write EPROTO 0098B1D7117F0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:354:
2023-08-23T12:05:19.833735365Z
    at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16) {
  errno: -71,
  code: 'EPROTO',
  syscall: 'write'
}


my folder structure is like that:
┬ src
├─┬ app
│ └── [locale]
└────┬─ layout.tsx
     └─ page.tsx


im running this on linux

and this is my metadata: (ignore this and the image)
Answered by Brown bear
Solved!
View full answer

5 Replies

Brown bearOP
Solved!
Answer
French Spaniel
Where is this hosted?
@French Spaniel Where is this hosted?
Brown bearOP
can i send the url?
French Spaniel
No need to do that just curious the provider your are using, Vercel?
Brown bearOP
no