Detailed logging was added to diagnose the wallet-side error “Connection was established via this URL”.
You should now see logs for:
- Connection creation (proposal, topic, symKey, URI)
- Wallet responses (incoming messages)
- Session creation (session details)
- Errors (error code + message)
set RUST_LOG=debug
cargo runOr simply:
cargo run- Open the Qubic wallet
- Find WalletConnect
- Scan the QR code
You should see a sequence like:
- “SessionPropose sent successfully”
- “Received message: ...”
- “Session established”
- proposal is sent
- wallet responds with approval
- session becomes active
If the wallet rejects, the error code/message should be logged.
If no response arrives before the timeout, verify relay connectivity and wallet behavior.
Check these items:
- Was the proposal sent?
- Did the wallet respond?
- Which response type (approval vs error)?
- Are the correct namespaces used (Qubic in
required_namespaces)?
- Copy the full error info from logs (code + message)
- Verify the URI topic changes on each run
- Compare with the JavaScript version flow (proposal payload, namespaces)
- Verify relay connectivity
If the issue persists, provide:
- Full log output (or saved log file)
- The generated URI (redact secrets if needed)
- Time from “URI created” to rejection/timeout
- Wallet version (if known)
With these logs you should be able to see:
- exactly what is sent to the wallet
- what the wallet replies with
- where the flow fails
Next step: run cargo run, scan the QR, and review the debug logs.