Skip to content

quartz handshake fails when using tls #351

@MSalopek

Description

@MSalopek

Quartz handshake fails with tungstenite related errors. Check logs below.

2025-11-18T11:42:17.553525Z  INFO
Peforming Dev
2025-11-18T11:42:17.553558Z  INFO \x1b[1m\x1b[32mLaunching quartz app...\x1b[39m\x1b[0m
2025-11-18T11:42:17.553561Z  INFO \x1b[1m\x1b[34m
Peforming Enclave Build\x1b[39m\x1b[0m
2025-11-18T11:42:17.553568Z  INFO \x1b[1m\x1b[32m🚧 Running enclave build command ...\x1b[39m\x1b[0m
    Finished `release` profile [optimized] target(s) in 0.44s
2025-11-18T11:42:18.061178Z  INFO \x1b[1m\x1b[32mwasm_bin_path provided - skipping contract build...\x1b[39m\x1b[0m
2025-11-18T11:42:18.061210Z  INFO Waiting for enclave start to deploy contract and handshake
2025-11-18T11:42:18.061235Z  INFO \x1b[1m\x1b[34m
Peforming Enclave Start\x1b[39m\x1b[0m
2025-11-18T11:42:18.578464Z  INFO \x1b[1m\x1b[32m🚧 Spawning enclave process ...\x1b[39m\x1b[0m
2025-11-18T11:42:20.065366Z  INFO Successfully pinged enclave, enclave is running
2025-11-18T11:42:20.065448Z  INFO Deploying contract
2025-11-18T11:42:20.065482Z  INFO \x1b[1m\x1b[34m
Peforming Contract Deploy\x1b[39m\x1b[0m
2025-11-18T11:42:20.474232Z  INFO 🚀 Deploying Quartz App Contract Contract
2025-11-18T11:42:23.215288Z  INFO Code ID: 4842
2025-11-18T11:42:23.219101Z  INFO 🚀 Communicating with Relay to Instantiate...
2025-11-18T11:42:23.221951Z  INFO 🚀 Instantiating Quartz App Contract
2025-11-18T11:42:25.658169Z  INFO 🚀 Successfully deployed and instantiated contract!
2025-11-18T11:42:25.658260Z  INFO 🆔 Code ID: 4842
2025-11-18T11:42:25.658265Z  INFO 📌 Contract Address: neutron1n3gjv4j34j862xxzg3vlsjtzedpks5rphemes9uaw822gfahjfrqqsjq3u
2025-11-18T11:42:25.658448Z  INFO Running handshake on contract `neutron1n3gjv4j34j862xxzg3vlsjtzedpks5rphemes9uaw822gfahjfrqqsjq3u`
2025-11-18T11:42:25.661229Z  INFO \x1b[1m\x1b[34m
Peforming Handshake\x1b[39m\x1b[0m
2025-11-18T11:42:25.807898Z  INFO Running SessionCreate
2025-11-18T11:42:28.106202Z  INFO SessionCreate tx committed
2025-11-18T11:42:28.106304Z  INFO Waiting 2 blocks for light client proof
Error:
   0: Error initializing `quartz dev`
   1: Could not run `quartz handshake`
   2:
         0: tungstenite error
         1: HTTP error: 400 Bad Request

      Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
      Run with RUST_BACKTRACE=full to include source snippets.
   3: tungstenite error
   4: HTTP error: 400 Bad Request

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

Websocket uses wss::// and RPC uses https://. This could be related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions