LostRuins / koboldcpp

Run GGUF models easily with a KoboldAI UI. One File. Zero Install.
https://github.com/lostruins/koboldcpp
GNU Affero General Public License v3.0
5.25k stars 360 forks source link

trycloudflare CURLEWRITEERROR #1155

Open Erquint opened 1 month ago

Erquint commented 1 month ago

Describe the Issue

Load Text Model OK: True
Embedded KoboldAI Lite loaded.
Embedded API docs loaded.
Downloading Cloudflare Tunnel for Windows...
Remote Tunnel Failed!
Command 'curl -fL https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-windows-amd64.exe -o cloudflared.exe' returned non-zero exit status 23.

Additional Information: Windows 10x64. KCPP 1.75.2. koboldcpp_cu12.exe executable ran from an unrestricted path. Curl exit code 23 CURLEWRITEERROR. I'd mention the launch flags if KCPP printed them to the terminal upon launching from GUI.

LostRuins commented 1 month ago

Using the tunnel option means it needs to download a Cloudflare tunnel binary. The error says this failed, check if your directory is read only.

Erquint commented 1 month ago

I don't think that's it.
Which directory is it operating curl in?
The one in which koboldcpp_cu12.exe is located or do you need me to unpack it..?
image

Erquint commented 2 weeks ago

Is Cygwin, MSYS2, Git Bash or something of that ilk used for curl?

LostRuins commented 2 weeks ago

curl is a standalone binary. It should come with every windows install.

You can test it in the command prompt with curl example.com

Erquint commented 1 week ago

Yes, I'm aware. I use it.
It would help my own troubleshooting if you would tell me if Cygwin, MSYS2, Git Bash or something of that ilk used by koboldcpp. I think I spotted one of them acting weird around curl recently on a random occasion…

LostRuins commented 1 week ago

Nope, only basic curl is used. You can run it in a python debugger and step through the source, nothing special is done.