4tendev
django.core.exceptions.DisallowedHost: Invalid HTTP_HOST header: '34.127.112.140:7021'.
Invalid HTTP_HOST header: '34.127.112.140:7021'. You may need to add '34.127.112.140' to ALLOWED_HOSTS.
Invalid HTTP_HOST header: ':::8000'. The domain name provided is not valid according to RFC 1034/1035.
15 replies
fetching from front in private network but getting error
django.core.exceptions.DisallowedHost: Invalid HTTP_HOST header: 'pergamer_back.railway.internal:8000'. The domain name provided is not valid according to RFC 1034/1035.
oh now django dont accept it
92 replies
fetching from front in private network but getting error
for example
in browser :
Application error: a server-side exception has occurred (see the server logs for more information).
Digest: 2964946319
in server log
Error: Failed to fetch data
at getData (/app/.next/server/chunks/145.js:1:11775)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async User (/app/.next/server/chunks/145.js:1:11846)
[Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.] {
digest: '2964946319'
}
92 replies