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

cloudflare tunnel management does not work correctly. #1163

Open
0wwafa opened this issue Oct 13, 2024 · 2 comments
Open

cloudflare tunnel management does not work correctly. #1163

0wwafa opened this issue Oct 13, 2024 · 2 comments

Comments

@0wwafa
Copy link

0wwafa commented Oct 13, 2024

If I use --remotetunnel, it downloads cloudflared (even if I have it already in my system,

anyway, running with --remotetunnel, the tunnel breaks after a while (few minutes).

if instead I do:

#!/bin/bash
./koboldcpp-linux-x64-nocuda --model llama3 &>ai.log &
sleep 3
cloudflared tunnel --url http://localhost:5001 &>cft.log &
disown -a
while ! grep -q "  https" cft.log; do sleep 0.5; done
echo "Connect to:"
grep "  https" cft.log |cut -d " " -f 5

everything works.
I don't know exactly what is wrong but that is the way I use.

@LostRuins
Copy link
Owner

It'll download cloudflared if it can't find the file.
I'm not sure why the tunnel would break

@0wwafa
Copy link
Author

0wwafa commented Oct 18, 2024

It'll download cloudflared if it can't find the file. I'm not sure why the tunnel would break

It might have to do in the way you manage the output. Cloudlfared must output data as a stream and not be interrupted or stopped.

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