I am using neovim with lazyvim in archlinx of wsl2 in a windows terminal in win11 system . everything goes well , But when I run :CopilotChatExplain , I get this :
Failed to get response: { exit = 23, message = 'get https://api.github.com/copilot_internal/v2/token - curl error exit_code=23 stderr={ "curl: (23) Failed writing received data to disk/application" }', stderr = '{ "curl: (23) Failed writing received data to disk/application" }' }
I try to figure out whther it is caused by permission issue and I change the owner and permisson of tmp directory but there is no use;
I also found that when I input CopilotChatExplain , the directory /tmp/neovim.user would appear a new directory with unregular name like x9TYqz, and there is a new file named 1-copilot.log . The whole document tree just like this : /tmp/neovim.user/x9qTYZ/1-copilot.log , I suspect this is where the curl put the data but I checked out the permissions here is right .
I am using neovim with lazyvim in archlinx of wsl2 in a windows terminal in win11 system . everything goes well , But when I run :CopilotChatExplain , I get this :
Failed to get response: { exit = 23, message = 'get https://api.github.com/copilot_internal/v2/token - curl error exit_code=23 stderr={ "curl: (23) Failed writing received data to disk/application" }', stderr = '{ "curl: (23) Failed writing received data to disk/application" }' }I try to figure out whther it is caused by permission issue and I change the owner and permisson of tmp directory but there is no use;
I also found that when I input CopilotChatExplain , the directory /tmp/neovim.user would appear a new directory with unregular name like x9TYqz, and there is a new file named 1-copilot.log . The whole document tree just like this : /tmp/neovim.user/x9qTYZ/1-copilot.log , I suspect this is where the curl put the data but I checked out the permissions here is right .