Loading...
Loading...
Compare original and translation side by side
undefinedundefined
**Common causes:**
- Relay URL is incorrect or offline
- Firewall blocking WebSocket connections (port 443)
- Server public key is wrong or server is not running
**Solutions:**
- Try multiple relays: `wss://relay.contextvm.org`, `wss://nos.lol`
- Verify server is running and announced (if public)
- Check server logs for incoming connections
**常见原因:**
- 中继URL不正确或中继已下线
- 防火墙阻止了WebSocket连接(端口443)
- 服务器公钥错误或服务器未运行
**解决方案:**
- 尝试多个中继:`wss://relay.contextvm.org`、`wss://nos.lol`
- 验证服务器是否正在运行且已公开宣告(如果是公开服务器)
- 检查服务器日志中的入站连接记录authors#eauthors#e{
"kinds": [25910],
"authors": ["<server-pubkey>"],
"#e": ["<request-event-id>"]
}eauthorse{
"kinds": [25910],
"authors": ["<server-pubkey>"],
"#e": ["<request-event-id>"]
}eauthorsesupport_encryptionsupport_encryption{
"kind": 1059,
"pubkey": "<random-pubkey>",
"tags": [["p", "<server-pubkey>"]],
"content": "<nip44-encrypted-kind-25910>"
}psupport_encryptionp{
"kind": 1059,
"pubkey": "<random-pubkey>",
"tags": [["p", "<server-pubkey>"]],
"content": "<nip44-encrypted-kind-25910>"
}psupport_encryptionpallowedPublicKeysallowedPublicKeysLOG_LEVEL=debug gateway-cli ...
LOG_LEVEL=debug proxy-cli ...LOG_LEVEL=debug gateway-cli ...
LOG_LEVEL=debug proxy-cli ...{
"kinds": [25910, 1059],
"authors": ["<your-pubkey>"]
}{
"kinds": [25910, 1059],
"authors": ["<your-pubkey>"]
}undefined
**What it provides:**
- Interactive UI for testing tools, resources, and prompts
- View request/response JSON-RPC messages
- Verify server initialization and capability negotiation
- Test edge cases and error handling
**提供的功能:**
- 用于测试工具、资源和提示词的交互式UI
- 查看请求/响应JSON-RPC消息
- 验证服务器初始化和功能协商
- 测试边缘情况和错误处理../overview/references/ceps.md../overview/references/protocol-spec.md../client-dev/references/nostr-way-without-sdks.md../server-dev/references/debugging-inspector.md