2 issues #466

Closed
opened 2026-02-16 17:26:58 -05:00 by yindo · 5 comments
Owner

Originally created by @Sjdjdiejdrirhdkjej on GitHub (Jul 3, 2025).

Originally assigned to: @thdxr on GitHub.

I constantly hit these 2 issues while using opencode with mistral AI. One is a too many files open and a 400 Bad Request { "name": "ProviderInitError", "data" : {"providerID" :"mistral"}}

If you know how to resolve it, please do.

Thanks

Originally created by @Sjdjdiejdrirhdkjej on GitHub (Jul 3, 2025). Originally assigned to: @thdxr on GitHub. I constantly hit these 2 issues while using opencode with mistral AI. One is a `too many files open` and a `400 Bad Request { "name": "ProviderInitError", "data" : {"providerID" :"mistral"}}` If you know how to resolve it, please do. Thanks
yindo closed this issue 2026-02-16 17:26:58 -05:00
Author
Owner

@ErkanShakir3E commented on GitHub (Jul 7, 2025):

same here

@ErkanShakir3E commented on GitHub (Jul 7, 2025): same here
Author
Owner

@nefthy commented on GitHub (Jul 9, 2025):

POST "http://127.0.0.1:40961/session": 400 Bad Request {"name":"UnknownError","data":{"message":"Error:  EMFILE: too many open files, open 'path/.local/share/opencode/project/path/storage/migration'"}}

@nefthy commented on GitHub (Jul 9, 2025): POST "http://127.0.0.1:40961/session": 400 Bad Request {"name":"UnknownError","data":{"message":"Error:  EMFILE: too many open files, open 'path/.local/share/opencode/project/path/storage/migration'"}}
Author
Owner

@asfktz commented on GitHub (Jul 9, 2025):

Same with anthropic
  
Image

@asfktz commented on GitHub (Jul 9, 2025): Same with anthropic    ![Image](https://github.com/user-attachments/assets/8857826f-13ff-498c-a69b-e587b0cde7fc)
Author
Owner

@thdxr commented on GitHub (Jul 10, 2025):

can you clear the ~/.cache/opencode folder and see if it fixes?

@thdxr commented on GitHub (Jul 10, 2025): can you clear the `~/.cache/opencode` folder and see if it fixes?
Author
Owner

@thdxr commented on GitHub (Jul 10, 2025):

too many open files issue fixed

@thdxr commented on GitHub (Jul 10, 2025): too many open files issue fixed
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#466