Skip to content

请问下,arm linux 平台, 提示连接错误,什么原因? 代码没做任何修改,只是做了交叉编译移植。 #6

@feiser2016

Description

@feiser2016

Device has been Activated
Connecting to wss://api.tenclass.net:443/xiaozhi/v1/
HTTP headers:
{
"Authorization": "Bearer test-token",
"Protocol-Version": "1",
"Device-Id": "22:32:33:b2:95:ea",
"Client-Id": "16c39aa6-82f2-b47b-ae3f-721e5f0d191b"
}

2
3
Key: Authorization, Value: Bearer test-token
Key: Client-Id, Value: 16c39aa6-82f2-b47b-ae3f-721e5f0d191b
Key: Device-Id, Value: 22:32:33:b2:95:ea
Key: Protocol-Version, Value: 1
[2025-05-29 15:17:34] [application] Connecting to wss://api.tenclass.net:443/xiaozhi/v1/
[2025-05-29 15:17:34] [info] Error getting remote endpoint: system:9 (Bad file descriptor)
[2025-05-29 15:17:34] [error] handle_connect error: Timer Expired
[2025-05-29 15:17:34] [warning] socket cancel failed error: system:9 (Bad file descriptor)
exit from websocket_thread
Connecting to wss://api.tenclass.net:443/xiaozhi/v1/
HTTP headers:
{
"Authorization": "Bearer test-token",
"Protocol-Version": "1",
"Device-Id": "22:32:33:b2:95:ea",
"Client-Id": "16c39aa6-82f2-b47b-ae3f-721e5f0d191b"
}

2
3
Key: Authorization, Value: Bearer test-token
Key: Client-Id, Value: 16c39aa6-82f2-b47b-ae3f-721e5f0d191b
Key: Device-Id, Value: 22:32:33:b2:95:ea
Key: Protocol-Version, Value: 1
[2025-05-29 15:17:34] [application] Connecting to wss://api.tenclass.net:443/xiaozhi/v1/
[2025-05-29 15:17:34] [info] Error getting remote endpoint: system:9 (Bad file descriptor)
[2025-05-29 15:17:34] [error] handle_connect error: Timer Expired
[2025-05-29 15:17:34] [info] asio async_shutdown error: asio.ssl:167772436 (uninitialized)
exit from websocket_thread
Connecting to wss://api.tenclass.net:443/xiaozhi/v1/
HTTP headers:
{
"Authorization": "Bearer test-token",
"Protocol-Version": "1",
"Device-Id": "22:32:33:b2:95:ea",
"Client-Id": "16c39aa6-82f2-b47b-ae3f-721e5f0d191b"
}

2
3
Key: Authorization, Value: Bearer test-token
Key: Client-Id, Value: 16c39aa6-82f2-b47b-ae3f-721e5f0d191b
Key: Device-Id, Value: 22:32:33:b2:95:ea
Key: Protocol-Version, Value: 1
[2025-05-29 15:17:34] [application] Connecting to wss://api.tenclass.net:443/xiaozhi/v1/
[2025-05-29 15:17:34] [info] Error getting remote endpoint: system:9 (Bad file descriptor)
[2025-05-29 15:17:34] [error] handle_connect error: Timer Expired
[2025-05-29 15:17:34] [info] asio async_shutdown error: asio.ssl:167772436 (uninitialized)
exit from websocket_thread
Connecting to wss://api.tenclass.net:443/xiaozhi/v1/
HTTP headers:
{
"Authorization": "Bearer test-token",
"Protocol-Version": "1",
"Device-Id": "22:32:33:b2:95:ea",
"Client-Id": "16c39aa6-82f2-b47b-ae3f-721e5f0d191b"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions