jan icon indicating copy to clipboard operation
jan copied to clipboard

bug: Failed to fetch on Mac happens after initially working

Open 0xSage opened this issue 5 months ago • 0 comments

Describe the bug From user: I also get this after a few minutes of chatting. Am on latest Mac software, M2, 16gb RAM, 1TB SSD. Occurs with 3 different models, all 7B or under. Have followed the guidance on the website but still happens. Have tried Nightly build. Same problem. Otherwise really loving Jan

Yes, works for a bit then the error. I'm out at the moment so will have a look at the developer log when I'm back home. Thanks

Discord link

Steps to reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots

This is the log when I get the Failed to Fetch error:

index.js:2168 


       POST http://127.0.0.1:3928/inferences/llamacpp/chat_completion net::ERR_CONNECTION_REFUSED
(anonymous) @ index.js:2168
Observable._trySubscribe @ index.js:2084
(anonymous) @ index.js:2078
errorContext @ index.js:1822
Observable.subscribe @ index.js:2069
(anonymous) @ index.js:2562
(anonymous) @ index.js:2392
src_awaiter @ index.js:2388
handleMessageRequest @ index.js:2543
(anonymous) @ index.js:2430
(anonymous) @ layout-dd157c14184b7a88.js:422
emit @ layout-dd157c14184b7a88.js:421
emit @ 756-4d2e062eac001f75.js:330
resendChatMessage @ page-d10b7877d143e0c9.js:2882
onRegenerateClick @ page-d10b7877d143e0c9.js:3137
await in onRegenerateClick (async)
Hi @ 618f8807-c0370e0f50991ad5.js:209
Ni @ 618f8807-c0370e0f50991ad5.js:210
Oi @ 618f8807-c0370e0f50991ad5.js:210
Nn @ 618f8807-c0370e0f50991ad5.js:347
Zm @ 618f8807-c0370e0f50991ad5.js:348
(anonymous) @ 618f8807-c0370e0f50991ad5.js:359
Ak @ 618f8807-c0370e0f50991ad5.js:261
ll @ 618f8807-c0370e0f50991ad5.js:304
zm @ 618f8807-c0370e0f50991ad5.js:351
xm @ 618f8807-c0370e0f50991ad5.js:326
wm @ 618f8807-c0370e0f50991ad5.js:325
And then 
POST http://127.0.0.1:3928/inferences/llamacpp/chat_completion net::ERR_CONNECTION_REFUSED
(anonymous) @ index.js:2168
Observable._trySubscribe @ index.js:2084
(anonymous) @ index.js:2078
errorContext @ index.js:1822
Observable.subscribe @ index.js:2069
(anonymous) @ index.js:2562
(anonymous) @ index.js:2392
src_awaiter @ index.js:2388
handleMessageRequest @ index.js:2543
(anonymous) @ index.js:2430
(anonymous) @ layout-dd157c14184b7a88.js:422
emit @ layout-dd157c14184b7a88.js:421
emit @ 756-4d2e062eac001f75.js:330
resendChatMessage @ page-d10b7877d143e0c9.js:2882
onRegenerateClick @ page-d10b7877d143e0c9.js:3137
await in onRegenerateClick (async)
Hi @ 618f8807-c0370e0f50991ad5.js:209
Ni @ 618f8807-c0370e0f50991ad5.js:210
Oi @ 618f8807-c0370e0f50991ad5.js:210
Nn @ 618f8807-c0370e0f50991ad5.js:347
Zm @ 618f8807-c0370e0f50991ad5.js:348
(anonymous) @ 618f8807-c0370e0f50991ad5.js:359
Ak @ 618f8807-c0370e0f50991ad5.js:261
ll @ 618f8807-c0370e0f50991ad5.js:304
zm @ 618f8807-c0370e0f50991ad5.js:351
xm @ 618f8807-c0370e0f50991ad5.js:326
wm @ 618f8807-c0370e0f50991ad5.js:325
951-d008b48ecfe94f3e.js:11 
 POST file:///Applications/Jan.app/Contents/Resources/app.asar/renderer/xxx/e/?ip=1&_=1704641641413&ver=1.96.1&retry_count=1&& net::ERR_FILE_NOT_FOUND
Jn    @    951-d008b48ecfe94f3e.js:11
value    @    951-d008b48ecfe94f3e.js:11
value    @    951-d008b48ecfe94f3e.js:11
(anonymous)    @    951-d008b48ecfe94f3e.js:11
setTimeout (async)
value    @    951-d008b48ecfe94f3e.js:11
(anonymous)    @    951-d008b48ecfe94f3e.js:11
setTimeout (async)
value    @    951-d008b48ecfe94f3e.js:11
(anonymous)    @    951-d008b48ecfe94f3e.js:11
setTimeout (async)
value    @    951-d008b48ecfe94f3e.js:11
(anonymous)    @    951-d008b48ecfe94f3e.js:11
setTimeout (async)
value    @    951-d008b48ecfe94f3e.js:11
(anonymous)    @    951-d008b48ecfe94f3e.js:11
setTimeout (async)
value    @    951-d008b48ecfe94f3e.js:11
(anonymous)    @    951-d008b48ecfe94f3e.js:11
setTimeout (async)
value    @    951-d008b48ecfe94f3e.js:11
(anonymous)    @    951-d008b48ecfe94f3e.js:11
setTimeout (async)
value    @    951-d008b48ecfe94f3e.js:11
(anonymous)    @    951-d008b48ecfe94f3e.js:11
setTimeout (async)
value    @    951-d008b48ecfe94f3e.js:11
(anonymous)    @    951-d008b48ecfe94f3e.js:11
setTimeout (async)
value    @    951-d008b48ecfe94f3e.js:11
(anonymous)    @    951-d008b48ecfe94f3e.js:11
setTimeout (async)
value    @    951-d008b48ecfe94f3e.js:11
(anonymous)    @    951-d008b48ecfe94f3e.js:11
setTimeout (async)
value    @    951-d008b48ecfe94f3e.js:11
(anonymous)    @    951-d008b48ecfe94f3e.js:11
setTimeout (async)
value    @    951-d008b48ecfe94f3e.js:11
(anonymous)    @    951-d008b48ecfe94f3e.js:11
setTimeout (async)
value    @    951-d008b48ecfe94f3e.js:11
(anonymous)    @    951-d008b48ecfe94f3e.js:11
setTimeout (async)
value    @    951-d008b48ecfe94f3e.js:11
(anonymous)    @    951-d008b48ecfe94f3e.js:11

Environment details

  • Operating System: [Specify your OS. e.g., MacOS Sonoma 14.2.1, Windows 11, Ubuntu 22, etc]
  • Jan Version: [e.g., 0.1.3]
  • Processor: [e.g., Apple M1, Intel Core i7, AMD Ryzen 5, etc]
  • RAM: [e.g., 8GB, 16GB]
  • Any additional relevant hardware specifics: [e.g., Graphics card, SSD/HDD]

Additional context Add any other context or information that could be helpful in diagnosing the problem.

0xSage avatar Jan 07 '24 15:01 0xSage