INFO:     Will watch for changes in these directories: ['/Users/jominseo/HGZero/ai-python']
INFO:     Uvicorn running on http://0.0.0.0:8086 (Press CTRL+C to quit)
INFO:     Started reloader process [5213] using WatchFiles
INFO:     Started server process [5216]
INFO:     Waiting for application startup.
2025-10-27 16:56:26,595 - main - INFO - ============================================================
2025-10-27 16:56:26,595 - main - INFO - AI Service (Python) 시작 - Port: 8086
2025-10-27 16:56:26,595 - main - INFO - Claude Model: claude-3-5-sonnet-20241022
2025-10-27 16:56:26,595 - main - INFO - Redis: 20.249.177.114:6379
2025-10-27 16:56:26,595 - main - INFO - ============================================================
2025-10-27 16:56:26,595 - main - INFO - Event Hub 리스너 백그라운드 시작...
2025-10-27 16:56:26,595 - app.services.eventhub_service - INFO - Event Hub 리스너 시작
INFO:     Application startup complete.
2025-10-27 16:56:26,694 - app.services.redis_service - INFO - Redis 연결 성공
2025-10-27 16:56:26,694 - azure.eventhub.aio._eventprocessor.event_processor - INFO - EventProcessor 'd8ad9755-1457-4010-9b6e-5796106dddb1' is being started
2025-10-27 16:56:26,791 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: None -> <ConnectionState.START: 0>
2025-10-27 16:56:26,830 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.START: 0> -> <ConnectionState.HDR_SENT: 2>
2025-10-27 16:56:26,830 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.HDR_SENT: 2> -> <ConnectionState.HDR_SENT: 2>
2025-10-27 16:56:26,830 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.HDR_SENT: 2> -> <ConnectionState.OPEN_PIPE: 4>
2025-10-27 16:56:26,831 - azure.eventhub._pyamqp.aio._session_async - INFO - Session state changed: <SessionState.UNMAPPED: 0> -> <SessionState.BEGIN_SENT: 1>
2025-10-27 16:56:26,831 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:56:26,831 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:56:26,831 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:56:26,831 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:56:26,847 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.OPEN_PIPE: 4> -> <ConnectionState.OPEN_SENT: 7>
2025-10-27 16:56:26,899 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.OPEN_SENT: 7> -> <ConnectionState.OPENED: 9>
2025-10-27 16:56:26,950 - azure.eventhub._pyamqp.aio._session_async - INFO - Session state changed: <SessionState.BEGIN_SENT: 1> -> <SessionState.MAPPED: 3>
2025-10-27 16:56:27,001 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:56:27,001 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:56:27,053 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:56:27,053 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:56:27,053 - azure.eventhub._pyamqp.aio._cbs_async - INFO - CBS completed opening with status: <ManagementOpenResult.OK: 1>
2025-10-27 16:56:27,259 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:56:27,259 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:56:27,260 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:56:27,260 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:56:27,269 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:56:27,269 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:56:27,270 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:56:27,270 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:56:27,280 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:56:27,280 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:56:27,281 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:56:27,281 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:56:27,281 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:56:27,281 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:56:27,281 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:56:27,281 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:56:27,281 - azure.eventhub._pyamqp.aio._session_async - INFO - Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2025-10-27 16:56:27,281 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2025-10-27 16:56:27,281 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2025-10-27 16:56:27,281 - azure.eventhub._pyamqp.aio._session_async - INFO - Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2025-10-27 16:56:27,282 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:56:27,282 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:56:27,282 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:56:27,282 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:56:27,282 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:56:27,282 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:56:27,282 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:56:27,282 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:56:27,283 - azure.eventhub.aio._eventprocessor.event_processor - INFO - EventProcessor 'd8ad9755-1457-4010-9b6e-5796106dddb1' has claimed partition '0'
2025-10-27 16:56:27,283 - azure.eventhub.aio._eventprocessor.event_processor - INFO - start ownership '0', checkpoint None
2025-10-27 16:56:27,351 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: None -> <ConnectionState.START: 0>
2025-10-27 16:56:27,369 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.START: 0> -> <ConnectionState.HDR_SENT: 2>
2025-10-27 16:56:27,369 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.HDR_SENT: 2> -> <ConnectionState.HDR_SENT: 2>
2025-10-27 16:56:27,369 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.HDR_SENT: 2> -> <ConnectionState.OPEN_PIPE: 4>
2025-10-27 16:56:27,370 - azure.eventhub._pyamqp.aio._session_async - INFO - Session state changed: <SessionState.UNMAPPED: 0> -> <SessionState.BEGIN_SENT: 1>
2025-10-27 16:56:27,370 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:56:27,370 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:56:27,370 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:56:27,370 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:56:27,384 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.OPEN_PIPE: 4> -> <ConnectionState.OPEN_SENT: 7>
2025-10-27 16:56:27,436 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.OPEN_SENT: 7> -> <ConnectionState.OPENED: 9>
2025-10-27 16:56:27,489 - azure.eventhub._pyamqp.aio._session_async - INFO - Session state changed: <SessionState.BEGIN_SENT: 1> -> <SessionState.MAPPED: 3>
2025-10-27 16:56:27,539 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:56:27,539 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:56:27,590 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:56:27,591 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:56:27,591 - azure.eventhub._pyamqp.aio._cbs_async - INFO - CBS completed opening with status: <ManagementOpenResult.OK: 1>
2025-10-27 16:56:27,797 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:56:28,219 - azure.eventhub._pyamqp.aio._link_async - INFO - Cannot get source or target. Detaching link
2025-10-27 16:56:28,219 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.DETACHED: 0>
2025-10-27 16:56:28,219 - azure.eventhub._pyamqp.aio._session_async - ERROR - Unable to attach new link: ValueError('Invalid link')
2025-10-27 16:56:28,271 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACHED: 0> -> <LinkState.ERROR: 6>
2025-10-27 16:56:28,322 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:56:28,322 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:56:28,322 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:56:28,322 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:56:28,322 - azure.eventhub._pyamqp.aio._session_async - INFO - Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2025-10-27 16:56:28,322 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2025-10-27 16:56:28,323 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2025-10-27 16:56:28,323 - azure.eventhub._pyamqp.aio._session_async - INFO - Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2025-10-27 16:56:28,323 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:56:28,323 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:56:28,323 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:56:28,323 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:56:28,323 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ERROR: 6> -> <LinkState.DETACHED: 0>
2025-10-27 16:56:28,356 - azure.eventhub.aio._eventprocessor.event_processor - WARNING - EventProcessor instance 'd8ad9755-1457-4010-9b6e-5796106dddb1' of eventhub 'hgzero-eventhub-name' partition '0' consumer group '$Default'. An error occurred while receiving. The exception is ConnectionLostError("At least one receiver for the endpoint is created with epoch of '0', and so non-epoch receiver is not allowed. Either reconnect with a higher epoch, or make sure all epoch receivers are closed or disconnected. TrackingId:abd872e1-fef7-4e54-a3d1-655839f07e2f_B0, SystemTracker:hgzero-eventhub-ns:eventhub:hgzero-eventhub-name~32766, Timestamp:2025-10-27T07:56:27\nReference:2cf2b525-24ca-4693-99a0-364f8a5c24c9\nTrackingId:960af1bc-38da-483a-a249-fb509f7ba524_B0\nSystemTracker:hgzero-eventhub-ns:eventhub:hgzero-eventhub-name~32766|$default\nTimestamp:2025-10-27T07:56:28 TrackingId:4a8b6c79abe243a3a753b14892c87299_G10, SystemTracker:gateway5, Timestamp:2025-10-27T07:56:28").
2025-10-27 16:56:28,357 - app.services.eventhub_service - ERROR - Event Hub 에러 - Partition: 0, Error: At least one receiver for the endpoint is created with epoch of '0', and so non-epoch receiver is not allowed. Either reconnect with a higher epoch, or make sure all epoch receivers are closed or disconnected. TrackingId:abd872e1-fef7-4e54-a3d1-655839f07e2f_B0, SystemTracker:hgzero-eventhub-ns:eventhub:hgzero-eventhub-name~32766, Timestamp:2025-10-27T07:56:27
Reference:2cf2b525-24ca-4693-99a0-364f8a5c24c9
TrackingId:960af1bc-38da-483a-a249-fb509f7ba524_B0
SystemTracker:hgzero-eventhub-ns:eventhub:hgzero-eventhub-name~32766|$default
Timestamp:2025-10-27T07:56:28 TrackingId:4a8b6c79abe243a3a753b14892c87299_G10, SystemTracker:gateway5, Timestamp:2025-10-27T07:56:28
2025-10-27 16:56:28,357 - azure.eventhub.aio._eventprocessor.event_processor - INFO - EventProcessor instance 'd8ad9755-1457-4010-9b6e-5796106dddb1' of eventhub 'hgzero-eventhub-name' partition '0' consumer group '$Default' is being closed. Reason is: <CloseReason.OWNERSHIP_LOST: 1>
INFO:     127.0.0.1:64478 - "GET / HTTP/1.1" 200 OK
INFO:     127.0.0.1:64540 - "OPTIONS /api/v1/ai/suggestions/meetings/test-meeting-001/stream HTTP/1.1" 400 Bad Request
2025-10-27 16:56:58,387 - azure.eventhub.aio._eventprocessor.event_processor - INFO - EventProcessor 'd8ad9755-1457-4010-9b6e-5796106dddb1' has claimed partition '0'
2025-10-27 16:56:58,388 - azure.eventhub.aio._eventprocessor.event_processor - INFO - start ownership '0', checkpoint None
2025-10-27 16:56:58,445 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: None -> <ConnectionState.START: 0>
2025-10-27 16:56:58,463 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.START: 0> -> <ConnectionState.HDR_SENT: 2>
2025-10-27 16:56:58,463 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.HDR_SENT: 2> -> <ConnectionState.HDR_SENT: 2>
2025-10-27 16:56:58,464 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.HDR_SENT: 2> -> <ConnectionState.OPEN_PIPE: 4>
2025-10-27 16:56:58,464 - azure.eventhub._pyamqp.aio._session_async - INFO - Session state changed: <SessionState.UNMAPPED: 0> -> <SessionState.BEGIN_SENT: 1>
2025-10-27 16:56:58,464 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:56:58,465 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:56:58,465 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:56:58,465 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:56:58,476 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.OPEN_PIPE: 4> -> <ConnectionState.OPEN_SENT: 7>
2025-10-27 16:56:58,527 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.OPEN_SENT: 7> -> <ConnectionState.OPENED: 9>
2025-10-27 16:56:58,578 - azure.eventhub._pyamqp.aio._session_async - INFO - Session state changed: <SessionState.BEGIN_SENT: 1> -> <SessionState.MAPPED: 3>
2025-10-27 16:56:58,630 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:56:58,630 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:56:58,682 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:56:58,682 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:56:58,682 - azure.eventhub._pyamqp.aio._cbs_async - INFO - CBS completed opening with status: <ManagementOpenResult.OK: 1>
2025-10-27 16:56:58,888 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:56:59,392 - azure.eventhub._pyamqp.aio._link_async - INFO - Cannot get source or target. Detaching link
2025-10-27 16:56:59,392 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.DETACHED: 0>
2025-10-27 16:56:59,393 - azure.eventhub._pyamqp.aio._session_async - ERROR - Unable to attach new link: ValueError('Invalid link')
2025-10-27 16:56:59,444 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACHED: 0> -> <LinkState.ERROR: 6>
2025-10-27 16:56:59,496 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:56:59,496 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:56:59,497 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:56:59,498 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:56:59,501 - azure.eventhub._pyamqp.aio._session_async - INFO - Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2025-10-27 16:56:59,501 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2025-10-27 16:56:59,502 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2025-10-27 16:56:59,502 - azure.eventhub._pyamqp.aio._session_async - INFO - Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2025-10-27 16:56:59,502 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:56:59,503 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:56:59,503 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:56:59,503 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:56:59,503 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ERROR: 6> -> <LinkState.DETACHED: 0>
2025-10-27 16:56:59,511 - azure.eventhub.aio._eventprocessor.event_processor - WARNING - EventProcessor instance 'd8ad9755-1457-4010-9b6e-5796106dddb1' of eventhub 'hgzero-eventhub-name' partition '0' consumer group '$Default'. An error occurred while receiving. The exception is ConnectionLostError("At least one receiver for the endpoint is created with epoch of '0', and so non-epoch receiver is not allowed. Either reconnect with a higher epoch, or make sure all epoch receivers are closed or disconnected. TrackingId:abd872e1-fef7-4e54-a3d1-655839f07e2f_B0, SystemTracker:hgzero-eventhub-ns:eventhub:hgzero-eventhub-name~32766, Timestamp:2025-10-27T07:56:58\nReference:498e817b-ab02-4cb8-b89c-de104a008916\nTrackingId:960af1bc-38da-483a-a249-fb509f7ba524_B0\nSystemTracker:hgzero-eventhub-ns:eventhub:hgzero-eventhub-name~32766|$default\nTimestamp:2025-10-27T07:56:59 TrackingId:5adceb1c6eb94c568a0621f417ea3787_G21, SystemTracker:gateway5, Timestamp:2025-10-27T07:56:59").
2025-10-27 16:56:59,511 - app.services.eventhub_service - ERROR - Event Hub 에러 - Partition: 0, Error: At least one receiver for the endpoint is created with epoch of '0', and so non-epoch receiver is not allowed. Either reconnect with a higher epoch, or make sure all epoch receivers are closed or disconnected. TrackingId:abd872e1-fef7-4e54-a3d1-655839f07e2f_B0, SystemTracker:hgzero-eventhub-ns:eventhub:hgzero-eventhub-name~32766, Timestamp:2025-10-27T07:56:58
Reference:498e817b-ab02-4cb8-b89c-de104a008916
TrackingId:960af1bc-38da-483a-a249-fb509f7ba524_B0
SystemTracker:hgzero-eventhub-ns:eventhub:hgzero-eventhub-name~32766|$default
Timestamp:2025-10-27T07:56:59 TrackingId:5adceb1c6eb94c568a0621f417ea3787_G21, SystemTracker:gateway5, Timestamp:2025-10-27T07:56:59
2025-10-27 16:56:59,511 - azure.eventhub.aio._eventprocessor.event_processor - INFO - EventProcessor instance 'd8ad9755-1457-4010-9b6e-5796106dddb1' of eventhub 'hgzero-eventhub-name' partition '0' consumer group '$Default' is being closed. Reason is: <CloseReason.OWNERSHIP_LOST: 1>
2025-10-27 16:57:01,004 - watchfiles.main - INFO - 3 changes detected
WARNING:  WatchFiles detected changes in 'main.py'. Reloading...
INFO:     Shutting down
INFO:     Waiting for application shutdown.
2025-10-27 16:57:01,147 - main - INFO - AI Service 종료
INFO:     Application shutdown complete.
INFO:     Finished server process [5216]
2025-10-27 16:57:01,148 - azure.eventhub.aio._eventprocessor.event_processor - INFO - EventProcessor 'd8ad9755-1457-4010-9b6e-5796106dddb1' tasks have been cancelled.
2025-10-27 16:57:01,148 - azure.eventhub.aio._eventprocessor.event_processor - INFO - EventProcessor 'd8ad9755-1457-4010-9b6e-5796106dddb1' has been stopped.
2025-10-27 16:57:01,148 - app.services.redis_service - INFO - Redis 연결 종료
INFO:     Started server process [5285]
INFO:     Waiting for application startup.
2025-10-27 16:57:01,645 - main - INFO - ============================================================
2025-10-27 16:57:01,645 - main - INFO - AI Service (Python) 시작 - Port: 8086
2025-10-27 16:57:01,645 - main - INFO - Claude Model: claude-3-5-sonnet-20241022
2025-10-27 16:57:01,645 - main - INFO - Redis: 20.249.177.114:6379
2025-10-27 16:57:01,645 - main - INFO - ============================================================
2025-10-27 16:57:01,645 - main - INFO - Event Hub 리스너 백그라운드 시작...
2025-10-27 16:57:01,645 - app.services.eventhub_service - INFO - Event Hub 리스너 시작
INFO:     Application startup complete.
2025-10-27 16:57:01,680 - app.services.redis_service - INFO - Redis 연결 성공
2025-10-27 16:57:01,680 - azure.eventhub.aio._eventprocessor.event_processor - INFO - EventProcessor 'eaf4d6e1-1d77-4786-a0c5-46a0fb009df7' is being started
2025-10-27 16:57:01,718 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: None -> <ConnectionState.START: 0>
2025-10-27 16:57:01,727 - watchfiles.main - INFO - 3 changes detected
2025-10-27 16:57:01,733 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.START: 0> -> <ConnectionState.HDR_SENT: 2>
2025-10-27 16:57:01,733 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.HDR_SENT: 2> -> <ConnectionState.HDR_SENT: 2>
2025-10-27 16:57:01,733 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.HDR_SENT: 2> -> <ConnectionState.OPEN_PIPE: 4>
2025-10-27 16:57:01,733 - azure.eventhub._pyamqp.aio._session_async - INFO - Session state changed: <SessionState.UNMAPPED: 0> -> <SessionState.BEGIN_SENT: 1>
2025-10-27 16:57:01,733 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:57:01,733 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:57:01,733 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:57:01,733 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:57:01,744 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.OPEN_PIPE: 4> -> <ConnectionState.OPEN_SENT: 7>
2025-10-27 16:57:01,795 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.OPEN_SENT: 7> -> <ConnectionState.OPENED: 9>
2025-10-27 16:57:01,846 - azure.eventhub._pyamqp.aio._session_async - INFO - Session state changed: <SessionState.BEGIN_SENT: 1> -> <SessionState.MAPPED: 3>
2025-10-27 16:57:01,898 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:57:01,898 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:57:01,948 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:57:01,949 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:57:01,949 - azure.eventhub._pyamqp.aio._cbs_async - INFO - CBS completed opening with status: <ManagementOpenResult.OK: 1>
2025-10-27 16:57:02,164 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:57:02,164 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:57:02,164 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:57:02,164 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:57:02,175 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:57:02,175 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:57:02,176 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:57:02,176 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:57:02,191 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:57:02,191 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:57:02,191 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:57:02,191 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:57:02,191 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:57:02,192 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:57:02,192 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:57:02,192 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:57:02,192 - azure.eventhub._pyamqp.aio._session_async - INFO - Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2025-10-27 16:57:02,192 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2025-10-27 16:57:02,192 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2025-10-27 16:57:02,192 - azure.eventhub._pyamqp.aio._session_async - INFO - Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2025-10-27 16:57:02,192 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:57:02,192 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:57:02,192 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:57:02,192 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:57:02,192 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:57:02,193 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:57:02,193 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:57:02,193 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:57:02,194 - azure.eventhub.aio._eventprocessor.event_processor - INFO - EventProcessor 'eaf4d6e1-1d77-4786-a0c5-46a0fb009df7' has claimed partition '0'
2025-10-27 16:57:02,194 - azure.eventhub.aio._eventprocessor.event_processor - INFO - start ownership '0', checkpoint None
2025-10-27 16:57:02,272 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: None -> <ConnectionState.START: 0>
2025-10-27 16:57:02,291 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.START: 0> -> <ConnectionState.HDR_SENT: 2>
2025-10-27 16:57:02,292 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.HDR_SENT: 2> -> <ConnectionState.HDR_SENT: 2>
2025-10-27 16:57:02,292 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.HDR_SENT: 2> -> <ConnectionState.OPEN_PIPE: 4>
2025-10-27 16:57:02,292 - azure.eventhub._pyamqp.aio._session_async - INFO - Session state changed: <SessionState.UNMAPPED: 0> -> <SessionState.BEGIN_SENT: 1>
2025-10-27 16:57:02,292 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:57:02,292 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:57:02,292 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:57:02,292 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:57:02,301 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.OPEN_PIPE: 4> -> <ConnectionState.OPEN_SENT: 7>
2025-10-27 16:57:02,352 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.OPEN_SENT: 7> -> <ConnectionState.OPENED: 9>
2025-10-27 16:57:02,403 - azure.eventhub._pyamqp.aio._session_async - INFO - Session state changed: <SessionState.BEGIN_SENT: 1> -> <SessionState.MAPPED: 3>
2025-10-27 16:57:02,454 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:57:02,454 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:57:02,505 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:57:02,505 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-10-27 16:57:02,505 - azure.eventhub._pyamqp.aio._cbs_async - INFO - CBS completed opening with status: <ManagementOpenResult.OK: 1>
2025-10-27 16:57:02,712 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-10-27 16:57:03,217 - azure.eventhub._pyamqp.aio._link_async - INFO - Cannot get source or target. Detaching link
2025-10-27 16:57:03,217 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.DETACHED: 0>
2025-10-27 16:57:03,217 - azure.eventhub._pyamqp.aio._session_async - ERROR - Unable to attach new link: ValueError('Invalid link')
2025-10-27 16:57:03,269 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACHED: 0> -> <LinkState.ERROR: 6>
2025-10-27 16:57:03,321 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:57:03,321 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:57:03,321 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:57:03,321 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-10-27 16:57:03,321 - azure.eventhub._pyamqp.aio._session_async - INFO - Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2025-10-27 16:57:03,322 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2025-10-27 16:57:03,322 - azure.eventhub._pyamqp.aio._connection_async - INFO - Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2025-10-27 16:57:03,322 - azure.eventhub._pyamqp.aio._session_async - INFO - Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2025-10-27 16:57:03,322 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:57:03,322 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:57:03,322 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:57:03,322 - azure.eventhub._pyamqp.aio._management_link_async - INFO - Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-10-27 16:57:03,322 - azure.eventhub._pyamqp.aio._link_async - INFO - Link state changed: <LinkState.ERROR: 6> -> <LinkState.DETACHED: 0>
2025-10-27 16:57:03,363 - azure.eventhub.aio._eventprocessor.event_processor - WARNING - EventProcessor instance 'eaf4d6e1-1d77-4786-a0c5-46a0fb009df7' of eventhub 'hgzero-eventhub-name' partition '0' consumer group '$Default'. An error occurred while receiving. The exception is ConnectionLostError("At least one receiver for the endpoint is created with epoch of '0', and so non-epoch receiver is not allowed. Either reconnect with a higher epoch, or make sure all epoch receivers are closed or disconnected. TrackingId:abd872e1-fef7-4e54-a3d1-655839f07e2f_B0, SystemTracker:hgzero-eventhub-ns:eventhub:hgzero-eventhub-name~32766, Timestamp:2025-10-27T07:57:02\nReference:e43740f8-3462-4cc1-8df9-3941156b9220\nTrackingId:960af1bc-38da-483a-a249-fb509f7ba524_B0\nSystemTracker:hgzero-eventhub-ns:eventhub:hgzero-eventhub-name~32766|$default\nTimestamp:2025-10-27T07:57:03 TrackingId:96b29734d6424cf6a253a767a1108d7d_G27, SystemTracker:gateway5, Timestamp:2025-10-27T07:57:03").
2025-10-27 16:57:03,363 - app.services.eventhub_service - ERROR - Event Hub 에러 - Partition: 0, Error: At least one receiver for the endpoint is created with epoch of '0', and so non-epoch receiver is not allowed. Either reconnect with a higher epoch, or make sure all epoch receivers are closed or disconnected. TrackingId:abd872e1-fef7-4e54-a3d1-655839f07e2f_B0, SystemTracker:hgzero-eventhub-ns:eventhub:hgzero-eventhub-name~32766, Timestamp:2025-10-27T07:57:02
Reference:e43740f8-3462-4cc1-8df9-3941156b9220
TrackingId:960af1bc-38da-483a-a249-fb509f7ba524_B0
SystemTracker:hgzero-eventhub-ns:eventhub:hgzero-eventhub-name~32766|$default
Timestamp:2025-10-27T07:57:03 TrackingId:96b29734d6424cf6a253a767a1108d7d_G27, SystemTracker:gateway5, Timestamp:2025-10-27T07:57:03
2025-10-27 16:57:03,363 - azure.eventhub.aio._eventprocessor.event_processor - INFO - EventProcessor instance 'eaf4d6e1-1d77-4786-a0c5-46a0fb009df7' of eventhub 'hgzero-eventhub-name' partition '0' consumer group '$Default' is being closed. Reason is: <CloseReason.OWNERSHIP_LOST: 1>
INFO:     Shutting down
INFO:     Waiting for application shutdown.
2025-10-27 16:57:10,125 - main - INFO - AI Service 종료
INFO:     Application shutdown complete.
INFO:     Finished server process [5285]
2025-10-27 16:57:10,126 - azure.eventhub.aio._eventprocessor.event_processor - INFO - EventProcessor 'eaf4d6e1-1d77-4786-a0c5-46a0fb009df7' tasks have been cancelled.
2025-10-27 16:57:10,126 - azure.eventhub.aio._eventprocessor.event_processor - INFO - EventProcessor 'eaf4d6e1-1d77-4786-a0c5-46a0fb009df7' has been stopped.
2025-10-27 16:57:10,126 - app.services.redis_service - INFO - Redis 연결 종료
INFO:     Stopping reloader process [5213]
