-
-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to self host on ECS but receiving Internal Server Error #693
Comments
Can you confirm that you set the build args and environment variables from
the Setup guide? https://promptfoo.dev/docs/usage/self-hosting/#setup
…On Fri, Apr 19, 2024 at 8:07 AM CarlosEduardo ***@***.***> wrote:
I am trying to self host the provided docker file on ECS with Fargate
launch type but the following error is occuring when trying to access the
port 3000.
`error Failed to handle request for /favicon.ico
TypeError: fetch failed
at node:internal/deps/undici/undici:12618:11
at process.processTicksAndRejections
(node:internal/process/task_queues:95:5)
at async invokeRequest
(/app/node_modules/next/dist/server/lib/server-ipc/invoke-request.js:21:12)
at async requestHandler
(/app/node_modules/next/dist/server/lib/start-server.js:336:33)
at async Server.
(/app/node_modules/next/dist/server/lib/start-server.js:152:13) {
cause: Error: connect ECONNREFUSED 127.0.0.1:44759
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 44759
}
}
TypeError: fetch failed
at node:internal/deps/undici/undici:12618:11
at process.processTicksAndRejections
(node:internal/process/task_queues:95:5)
at async invokeRequest
(/app/node_modules/next/dist/server/lib/server-ipc/invoke-request.js:21:12)
at async requestHandler
(/app/node_modules/next/dist/server/lib/start-server.js:336:33)
at async Server.
(/app/node_modules/next/dist/server/lib/start-server.js:152:13) {
cause: Error: connect ECONNREFUSED 127.0.0.1:44759
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 44759
}
}
- error Failed to handle request for /`
I think I am missing something.
—
Reply to this email directly, view it on GitHub
<#693>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACLYJSEV4N7KOQDQZPSMX3Y6EXLJAVCNFSM6AAAAABGPLMGGCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TGMRUGAYDGMA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Yes, I built it locally with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to self host the provided docker file on ECS with Fargate launch type but the following error is occuring when trying to access the port 3000.
`error Failed to handle request for /favicon.ico
TypeError: fetch failed
at node:internal/deps/undici/undici:12618:11
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async invokeRequest (/app/node_modules/next/dist/server/lib/server-ipc/invoke-request.js:21:12)
at async requestHandler (/app/node_modules/next/dist/server/lib/start-server.js:336:33)
at async Server. (/app/node_modules/next/dist/server/lib/start-server.js:152:13) {
cause: Error: connect ECONNREFUSED 127.0.0.1:44759
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 44759
}
}
TypeError: fetch failed
at node:internal/deps/undici/undici:12618:11
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async invokeRequest (/app/node_modules/next/dist/server/lib/server-ipc/invoke-request.js:21:12)
at async requestHandler (/app/node_modules/next/dist/server/lib/start-server.js:336:33)
at async Server. (/app/node_modules/next/dist/server/lib/start-server.js:152:13) {
cause: Error: connect ECONNREFUSED 127.0.0.1:44759
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 44759
}
}
I think I am missing something.
The text was updated successfully, but these errors were encountered: