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

Report: Jina dalle-flow Server run successfully on native Windows #129

Open
brokeDude2901 opened this issue Oct 26, 2022 · 0 comments
Open

Comments

@brokeDude2901
Copy link

brokeDude2901 commented Oct 26, 2022

Require cloudflared for windows, but works just fine, be sure to run under http2 mode
Example cmd file:

start /B "" python3 -m jina flow --uses D:\work\dalle\dalle-flow\flow.yml

del /f D:\work\dalle-flow_cloudflared.log
start /B "" D:\work\cloudflared-windows-amd64.exe tunnel --protocol http2 --url http://localhost:51005 > D:\work\dalle-flow_cloudflared.log 2>&1

image

Example Powershell script to get cloudflared ip from dalle-flow_clouflared.log

$var = Select-String -Pattern ".trycloudflare.com " -SimpleMatch D:\work\dalle-flow_cloudflared.log
$new_array = $var -split "\s+"
$new_array[3]
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

1 participant