#TypeError: Cannot set properties of undefined (setting 'payload')

1 messages · Page 1 of 1 (latest)

elder shale
#

⨯ TypeError: Cannot set properties of undefined (setting 'payload')
at tc (.next/server/chunks/7298.js:1:96501)

I am using the default Dockerfile and when i try to go to /admin i get that error though it renders the page but i can not login as the same error is thrown.
What could be causing it ?

When i build localy and start server.js everything works as expected

low orioleBOT
elder shale
#

there is some issues with proxying to https
as i can enter if i am entering via ip address

elder shale
#

So overview

I have made a new project and used the default Dockerfile to build an image.
Im using Hetzner VPS and I can access and use payload if im entering via IP address (There are no errors).

I have set
Coudflare for dns management and Full strict SSL
NGINX for distributing the requests on the server
I can enter the login page but instantly in the server im seeing this error. The same error is shown again if I try to login.
I have set CORS, CSRF and serverURL but nothing is changing.
Where is this coming from ?

⨯ TypeError: Cannot set properties of undefined (setting 'payload')
    at tc (.next/server/chunks/7298.js:1:96501)