Hello I'm following the tutorial (<quickstart>, <S...
# ask-for-help
u
Hello I'm following the tutorial (quickstart, SD-XL-TURBO) I test tutorial on GCP VM connect using by external IP Quickstart is work well But SD-XL-TURBO get error (I test using SwaggerUI)
Copy code
Failed to fetch.
Possible Reasons:

CORS
Network Failure
URL scheme must be "http" or "https" for CORS request.
QuickStart Log 2024-02-27T060811+0000 [WARNING] [cli] Converting 'Summarization' to lowercase: 'summarization'. 2024-02-27T060829+0000 [WARNING] [cli] Converting 'Summarization' to lowercase: 'summarization'. 2024-02-27T060830+0000 [INFO] [cli] Starting production HTTP BentoServer from "service:Summarization" listening on http://localhost:3000 (Press CTRL+C to quit) /home/kkhong/.local/lib/python3.9/site-packages/torch/_utils.py831 UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly. To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage() return self.fget.__get__(instance, owner)() 2024-02-27T060848+0000 [INFO] [entry_serviceSummarization1] 223.62.212.119:16936 (scheme=http,method=GET,path=/,type=,length=) (status=200,type=text/html; charset=utf-8,length=2945) 33.529ms (trace=1b24c59eedbc065ef6e97b5766b72f8f,span=8abf13c6629d1826,sampled=0,service.name=Summarization) 2024-02-27T060848+0000 [INFO] [entry_serviceSummarization1] 223.62.212.119:16936 (scheme=http,method=GET,path=/static_content/swagger-ui.css,type=,length=) (status=304,type=,length=) 13.965ms (trace=cf0a4ae1f0dc41af07fc63e65123c47b,span=2ba8574ccf761637,sampled=0,service.name=Summarization) 2024-02-27T060848+0000 [INFO] [entry_serviceSummarization1] 223.62.212.119:54633 (scheme=http,method=GET,path=/static_content/index.css,type=,length=) (status=304,type=,length=) 14.675ms (trace=044eb5524bffc07939cf3fff436efaa9,span=f4296f20ef628518,sampled=0,service.name=Summarization) 2024-02-27T060848+0000 [INFO] [entry_serviceSummarization1] 223.62.212.119:54634 (scheme=http,method=GET,path=/static_content/swagger-ui-bundle.js,type=,length=) (status=304,type=,length=) 0.776ms (trace=1e4b9a42befe8abf36be6df5c82fe2d9,span=08da720ab2500445,sampled=0,service.name=Summarization) 2024-02-27T060848+0000 [INFO] [entry_serviceSummarization1] 223.62.212.119:54633 (scheme=http,method=GET,path=/static_content/swagger-ui-standalone-preset.js,type=,length=) (status=304,type=,length=) 0.864ms (trace=64222a52f1405f350a9fb0f21c05e601,span=0c8cefd0b8a41752,sampled=0,service.name=Summarization) 2024-02-27T060848+0000 [INFO] [entry_serviceSummarization1] 223.62.212.119:16936 (scheme=http,method=GET,path=/static_content/swagger-initializer.js,type=,length=) (status=304,type=,length=) 0.802ms (trace=ac2ad01a99813ce5b3d2df6fc5f35ed6,span=d9366b18472e82be,sampled=0,service.name=Summarization) 2024-02-27T060849+0000 [INFO] [entry_serviceSummarization1] 223.62.212.119:16936 (scheme=http,method=GET,path=/docs.json,type=,length=) (status=200,type=application/json,length=5611) 21.074ms (trace=74a2905d313fea56213008ca03682049,span=a4f8a3185b76678c,sampled=0,service.name=Summarization) 2024-02-27T060902+0000 [INFO] [entry_serviceSummarization1] 223.62.212.119:54637 (scheme=http,method=POST,path=/summarize,type=application/json,length=633) (status=200,type=text/plain; charset=utf-8,length=317) 3251.407ms (trace=b814cfcceed00dadb5bf7f866407355b,span=18fbe121e1ae7268,sampled=0,service.name=Summarization) SDXLTurbo Log 2024-02-27T061046+0000 [WARNING] [cli] Converting 'SDXLTurbo' to lowercase: 'sdxlturbo'. 2024-02-27T061046+0000 [WARNING] [cli] Converting 'SDXLTurbo' to lowercase: 'sdxlturbo'. 2024-02-27T061046+0000 [INFO] [cli] Starting production HTTP BentoServer from "service:SDXLTurbo" listening on http://localhost:3000 (Press CTRL+C to quit) Loading pipeline components...: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 7/7 [00:26<00:00, 3.76s/it] 2024-02-27T061317+0000 [INFO] [entry_serviceSDXLTurbo1] 223.62.212.119:54651 (scheme=http,method=GET,path=/docs.json,type=,length=) (status=200,type=application/json,length=4930) 12.843ms (trace=fafec5a7ea44d48e9f70cb1ac2849d1a,span=a2661636846d2d71,sampled=0,service.name=SDXLTurbo) 2024-02-27T061317+0000 [INFO] [entry_serviceSDXLTurbo1] 223.62.212.119:54653 (scheme=http,method=GET,path=/,type=,length=) (status=200,type=text/html; charset=utf-8,length=2945) 7.927ms (trace=5987d6d1ebe87940880ff03539411706,span=eeda86413e9f15a4,sampled=0,service.name=SDXLTurbo) 2024-02-27T061318+0000 [INFO] [entry_serviceSDXLTurbo1] 223.62.212.119:54653 (scheme=http,method=GET,path=/docs.json,type=,length=) (status=200,type=application/json,length=4930) 3.696ms (trace=c8a1453620f84ec1e3b790cff260c2e8,span=092f634083541ea5,sampled=0,service.name=SDXLTurbo) 2024-02-27T061318+0000 [INFO] [entry_serviceSDXLTurbo1] 223.62.212.119:54654 (scheme=http,method=GET,path=/static_content/favicon-dark-32x32.png,type=,length=) (status=304,type=,length=) 1.294ms (trace=5a8367f5fa55e85acf8f32b8823da2f0,span=98ca878990ac5c0a,sampled=0,service.name=SDXLTurbo) Loading pipeline components...: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 7/7 [00:02<00:00, 3.40it/s] 2024-02-27T061548+0000 [INFO] [entry_serviceSDXLTurbo1] 223.62.212.119:54679 (scheme=http,method=GET,path=/,type=,length=) (status=200,type=text/html; charset=utf-8,length=2945) 8.462ms (trace=432ddd01f816211469f356ec9aa2af07,span=bde2665a893a2a9d,sampled=0,service.name=SDXLTurbo) 2024-02-27T061548+0000 [INFO] [entry_serviceSDXLTurbo1] 223.62.212.119:54680 (scheme=http,method=GET,path=/static_content/swagger-ui.css,type=,length=) (status=304,type=,length=) 1.216ms (
t
are you doing the port forwarding ? if using vscode to do ssh on the GCP VM then its easier to do port forwarding. apart from that, also allow CORS in bento_configuration yaml file (different from the bento.yaml) it has block for http settings, you can set CORS there.