The Movie Database Support

I use NextJS with APP derectori. I need to get api data for server-side. But I have this error

    at Object.fetch (node:internal/deps/undici/undici:11457:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Cause: [Error: D0340000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:c:\ws\deps\openssl\openssl\ssl\record\ssl3_record.c:355:
] {
  library: 'SSL routines',
  reason: 'wrong version number',
  code: 'ERR_SSL_WRONG_VERSION_NUMBER'
}
 ⨯ Internal error: TypeError: fetch failed
    at Object.fetch (node:internal/deps/undici/undici:11457:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
digest: "2026204822"

2 replies (on page 1 of 1)

Jump to last post

@alexwoods said:
Have problem with get api data for server-side.
I use NextJS with APP derectori. I need to get api data for server-side.
But I have this error

    at Object.fetch (node:internal/deps/undici/undici:11457:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Cause: [Error: D0340000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:c:\ws\deps\openssl\openssl\ssl\record\ssl3_record.c:355:
] {
  library: 'SSL routines',
  reason: 'wrong version number',
  code: 'ERR_SSL_WRONG_VERSION_NUMBER'
}
 ⨯ Internal error: TypeError: fetch failed
    at Object.fetch (node:internal/deps/undici/undici:11457:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
digest: "2026204822"

I'm not a code programmer or data communications expert.
I read in your error report:
ERR_SSL_WRONG_VERSION_NUMBER
Maybe these links will help:

SSL ERROR
2023-10-19 https://www.themoviedb.org/talk/6531b98e9ac535087755c46a
2021-05-11 https://www.themoviedb.org/talk/609b316c8dbc33005858d98e
2020-12-07 https://www.themoviedb.org/talk/5fce79b8c0348b0040124570
2020-10-02 https://www.themoviedb.org/talk/5f769ee4021cee00372ae511
2020-06-21 https://www.themoviedb.org/talk/5eef5fc22e2b2c00376cc835
2020-04-16 https://www.themoviedb.org/talk/5e987f2fb339030015a2743c
2019-12-17 https://www.themoviedb.org/talk/5df8e40d26dac10012566e2c
https://www.themoviedb.org/talk/search?advanced_search=&query=SSL&with_category=&with_status%5B%5D=closed&with_status%5B%5D=open

It looks like you're trying to connect via SSL3 (which is TLS 1.0) which has been deprecated for multiple years. You need to make sure you are trying to connect with TLS 1.1 or higher.

TLS 1.1 is going to be deprecated soon, so you should really make sure you're using TLS 1.2 or 1.3.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login