Skip to content
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

Doesn't work if internet is turned off. #45

Open
ssarraju opened this issue Mar 10, 2024 · 1 comment
Open

Doesn't work if internet is turned off. #45

ssarraju opened this issue Mar 10, 2024 · 1 comment

Comments

@ssarraju
Copy link

When internet is turned off, it throws below error

⨯ Error: failed to pipe response at pipeToNodeResponse (/app/node_modules/next/dist/server/pipe-readable.js:111:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async NextNodeServer.runEdgeFunction (/app/node_modules/next/dist/server/next-server.js:1225:13) at async NextNodeServer.handleCatchallRenderRequest (/app/node_modules/next/dist/server/next-server.js:247:37) at async NextNodeServer.handleRequestImpl (/app/node_modules/next/dist/server/base-server.js:807:17) at async invokeRender (/app/node_modules/next/dist/server/lib/router-server.js:163:21) at async handleRequest (/app/node_modules/next/dist/server/lib/router-server.js:342:24) at async requestHandlerImpl (/app/node_modules/next/dist/server/lib/router-server.js:366:13) at async Server.requestListener (/app/node_modules/next/dist/server/lib/start-server.js:140:13) { [cause]: SyntaxError: Unexpected non-whitespace character after JSON at position 101 at JSON.parse (<anonymous>) at Object.start (/app/.next/server/pages/api/chat.js:1:822) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) } Error: aborted at connResetException (node:internal/errors:787:14) at abortIncoming (node:_http_server:793:17) at socketOnClose (node:_http_server:787:3) at Socket.emit (node:events:530:35) at TCP.<anonymous> (node:net:337:12) { code: 'ECONNRESET' } ⨯ Error: failed to pipe response at pipeToNodeResponse (/app/node_modules/next/dist/server/pipe-readable.js:111:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async NextNodeServer.runEdgeFunction (/app/node_modules/next/dist/server/next-server.js:1225:13) at async NextNodeServer.handleCatchallRenderRequest (/app/node_modules/next/dist/server/next-server.js:247:37) at async NextNodeServer.handleRequestImpl (/app/node_modules/next/dist/server/base-server.js:807:17) at async invokeRender (/app/node_modules/next/dist/server/lib/router-server.js:163:21) at async handleRequest (/app/node_modules/next/dist/server/lib/router-server.js:342:24) at async requestHandlerImpl (/app/node_modules/next/dist/server/lib/router-server.js:366:13) at async Server.requestListener (/app/node_modules/next/dist/server/lib/start-server.js:140:13) { [cause]: SyntaxError: Unexpected non-whitespace character after JSON at position 99 at JSON.parse (<anonymous>) at Object.start (/app/.next/server/pages/api/chat.js:1:822) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) } Error: aborted at connResetException (node:internal/errors:787:14) at abortIncoming (node:_http_server:793:17) at socketOnClose (node:_http_server:787:3) at Socket.emit (node:events:530:35) at TCP.<anonymous> (node:net:337:12) { code: 'ECONNRESET' } o ⨯ Error: failed to pipe response at pipeToNodeResponse (/app/node_modules/next/dist/server/pipe-readable.js:111:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async NextNodeServer.runEdgeFunction (/app/node_modules/next/dist/server/next-server.js:1225:13) at async NextNodeServer.handleCatchallRenderRequest (/app/node_modules/next/dist/server/next-server.js:247:37) at async NextNodeServer.handleRequestImpl (/app/node_modules/next/dist/server/base-server.js:807:17) at async invokeRender (/app/node_modules/next/dist/server/lib/router-server.js:163:21) at async handleRequest (/app/node_modules/next/dist/server/lib/router-server.js:342:24) at async requestHandlerImpl (/app/node_modules/next/dist/server/lib/router-server.js:366:13) at async Server.requestListener (/app/node_modules/next/dist/server/lib/start-server.js:140:13) { [cause]: SyntaxError: Unexpected non-whitespace character after JSON at position 99 at JSON.parse (<anonymous>) at Object.start (/app/.next/server/pages/api/chat.js:1:822) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) } Error: aborted at connResetException (node:internal/errors:787:14) at abortIncoming (node:_http_server:793:17) at socketOnClose (node:_http_server:787:3) at Socket.emit (node:events:530:35) at TCP.<anonymous> (node:net:337:12) { code: 'ECONNRESET' }

@ivanfioravanti
Copy link
Owner

Are you connecting directly to Ollama on localhost or through Docker?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants