Skip to content

Google Gemini Liveを使用して会話する際に接続エラー #6

Description

@ryo1988

v0.12.0

Google Gemini Liveを使用して、「こんにちは」と話しかけると応答がなく「接続エラー」と吹き出しに表示される。

以下シリアルモニタの内容

I (129719) gemini-live: rx[1/36B]: {
  "sessionResumptionUpdate": {}
}

I (130651) gemini-live: rx[2/81B]: {
  "serverContent": {
    "inputTranscription": {
      "text": " "
    }
  }
}

I (130654) conv-task: user:  
I (130735) gemini-live: rx[3/99B]: {
  "serverContent": {
    "inputTranscription": {
      "text": "こんにちは 。"
    }
  }
}

I (130739) conv-task: user: こんにちは 。
I (132125) heap: INT free=10403 (largest=7680, min=6832)  DMA largest=1984  PSRAM free=4142780 (largest=4063232, min=4041784)
I (132477) gemini-live: rx[4/579B]: {
  "serverContent": {
    "modelTurn": {
      "parts": [
        {
          "text": "**Responding to a Greeting**\n\nI've registered the Japanese greeting \"こんにちは\" and am preparing a suitable response. I plan to mirror the friendly and energetic tone, incorporating a childlike delivery. I am currently setting my expression to \"happy\" and tilting my head slightly. I …
I (132483) conv-task: user speech stopped
I (132497) conv-task: tool call: set_expression args={"expression":"happy"}
I (132855) conv-task: tool call: set_head_pose args={"yaw":5,"pitch":5}
I (134734) conv-task: tool call: set_head_pose args={"yaw":5,"pitch":5}
I (136453) conv-task: tool call: set_head_pose args={"yaw_deg":5,"pitch_deg":5}
I (138316) conv-task: speaking (streaming)
E (138320) diag: ALLOC_FAIL size=512 caps=0x0000080c caller=heap_caps_aligned_alloc | INT free=8755 largest=7680 | DMA largest=400
E (138321) i2s_common: i2s_alloc_dma_desc(657): allocate DMA buffer failed
E (138323) i2s_std: i2s_std_set_slot(144): allocate memory for dma descriptor failed
E (138323) i2s_std: i2s_channel_init_std_mode(326): initialize channel failed while setting slot
E (138331) diag: ALLOC_FAIL size=809 caps=0x00000008 caller=heap_caps_aligned_alloc | INT free=5855 largest=5120 | DMA largest=124
E (138332) esp-aes: Failed to allocate memory
E (138333) esp-tls-mbedtls: read error :-0x0001
E (138334) transport_base: esp_tls_conn_read error, errno=Connection already in progress
E (138335) transport_ws: Error read data(-1)
E (138336) websocket_client: esp_transport_read() failed with -1, transport_error=ESP_ERR_MBEDTLS_SSL_READ_FAILED, tls_error_code=1, tls_flags=0, errno=119
E (138337) gemini-live: WEBSOCKET_EVENT_ERROR
E (138338) websocket_client: Error receive data
E (138339) conv-task: transport error: websocket error — reconnecting
W (138340) conv-task: recovering conversation session (attempt #1, backoff 500 ms)
W (138343) gemini-live: WEBSOCKET_EVENT_DISCONNECTED
W (138375) websocket_client: Client was not started
I (138875) conv-task: recover wait: INT free=27583 largest=8704 DMA-largest=8704  PSRAM free=4313944
I (140376) conv-task: recover wait: INT free=27583 largest=8704 DMA-largest=8704  PSRAM free=4313944
I (142138) heap: INT free=27583 (largest=8704, min=5244)  DMA largest=8704  PSRAM free=4313944 (largest=4063232, min=3982200)
I (142377) conv-task: recover wait: INT free=27583 largest=8704 DMA-largest=8704  PSRAM free=4313944

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions