yomorun / yomo-wasmedge-tensorflow

This application demonstrates how to launch high-performance "serverless" functions from the YoMo framework to process streaming data. The functions are embedded in a WebAssembly VM, WasmEdge, for safety, security, portability, and manageability.
MIT License
63 stars 18 forks source link

Error: CRYPTO_ERROR (0x178): tls: no application protocol in quic-Go #3

Closed xlcbingo1999 closed 3 years ago

xlcbingo1999 commented 3 years ago

After solving a lot of problems, I finally come to the final step:

  1. yomo serve -c ./workflow.yaml I get:

    Using config file: ./workflow.yaml
    ℹ️   Running YoMo-Zipper...
    2021/10/27 08:22:44 [core:server] ✅ (name:Service) Listening on: 127.0.0.1:9000, QUIC: [v1 draft-29]
    2021/10/27 08:22:44 [yomo:zipper] Listening SIGUSR1, SIGUSR2, SIGTERM/SIGINT...
  2. go run ./source/main.go ./source/hot-dog.mp4 I get:

    Go: Args: [/tmp/go-build2709539636/b001/exe/main ./source/hot-dog.mp4]
    2021/10/27 08:22:50 Connecting to zipper localhost:9000 ...
    client [NewClient] Error: CRYPTO_ERROR (0x178): tls: no application protocol
    2021/10/27 08:22:50 ❌ Emit the data to yomo-zipper failure with err: CRYPTO_ERROR (0x178): tls: no application protocol
  3. go run --tags "tensorflow image" app.go I get:

    /tmp/go-build1371428046/b001/exe/app: Relink `/usr/local/lib/libtensorflow_framework.so.2' with `/lib/x86_64-linux-gnu/libz.so.1' for IFUNC symbol `crc32_z'
    2021/10/27 07:29:01 Connecting to zipper localhost:9000 ...
    client [NewClient] Error: CRYPTO_ERROR (0x178): tls: no application protocol
    2021/10/27 07:29:01 ❌ Connect to zipper failure: CRYPTO_ERROR (0x178): tls: no application protocol

    It's my configuration:

    yomo-cli: YoMo CLI version: v0.1.3
    WasmEdge: 0.8.2-manylinux2014_x86_64

How can I solve this problem? I can't get this ERROR when I run the basic example in YoMo.

xiaojian-hong commented 3 years ago

Hi @xlcbingo1999 , Thanks for your feedback. The current "yomo-wasmedge-tensorflow" example was based on the old YoMo version v1.3.4, which isn't compatible with the latest YoMo version v1.5.3 (CLI version v0.1.3). We will upgrade this example to the latest YoMo version soon, then it should work.

xlcbingo1999 commented 3 years ago

Hi @xlcbingo1999 , Thanks for your feedback. The current "yomo-wasmedge-tensorflow" example was based on the old YoMo version v1.3.4, which isn't compatible with the latest YoMo version v1.5.3 (CLI version v0.1.3). We will upgrade this example to the latest YoMo version soon, then it should work.

Thanks for your help! Now I can run your demo in YoMo CLI version v0.0.5.