fetchai / agentverse

Public repository for Agentverse
Apache License 2.0
1 stars 4 forks source link

Timeout on DeltaV interface, no Activity registered in Agent Logs Console in agentverse #18

Open ayushsaranGithuB opened 6 days ago

ayushsaranGithuB commented 6 days ago

Prerequisites

Category

Bug in Agentverse

Expected Behavior

When a request to the agent is made in DeltaV there is associated activity logged in the agent console logs in agentverse.

Observed Behavior

Timeout on DeltaV interface, no Activity registered in Agent Logs Console in agentverse when the agent is called

To Reproduce

In DeltaV

Use the prompt "Show me listings in Toronto for 2 guests, 2 rooms, under $500" Select the "Dtravel Sensei AI" Service Wait for response from agent.

Observe Timeout image

No Activity logged in Agentverse. [request was made on 2024-07-05, last activity registered was 7-4, one day prior ] image

Environment Details (Optional)

Info: Session started, with id 8a15a6ef-f385-45ef-a0fa-9089c9d4a714

Failure Logs (Optional)

No response

Additional Information (Optional)

No response

lrahmani commented 4 days ago

Hi @ayushsaranGithuB I assume this is your agent address agent1q2vw4rfpjud6jyuvq4updx4l9pgedr62dr0v2w8fhze9kde4hfqx28m7ftx.

The issue seems to be related to message reception and delivery. System logs should show any failure to dispatch or process an incoming message. Could you please enable system logs (between code and logs) and share what you get there?

qati commented 3 days ago

@ayushsaranGithuB is this issue is still happening?

ayushsaranGithuB commented 3 days ago

DeltaV:

image image

DEV Output

`Info: Session started, with id e3052931-a524-4c7b-87e3-deb56d97f54a

Info: I am starting to process your objective and will find relevant tasks for you...

Thought 0 (score=0):

Info: From the tasks I found (confidence in recommendations=0), I am going to execute the ones you selected...

Info: I start to execute function Dtravel Sensei AI

Thought 1 (score=0):

Action 1 (score=0):Ask[What amenities would you like to be included with your stay?,[]]

Observation 1: User responded to your question: no preference

Thought 2 (score=0):

Action 2 (score=0):Ask[what is your maximum budget per night in USD,[]]

Observation 2: User responded to your question: 800

Thought 3 (score=0):

Action 3 (score=0):Ask[When do you want to check-in?,[]]

Observation 3: User responded to your question: 12.07.2024

Thought 4 (score=0):

Action 4 (score=0):Ask[when do you want to check-out,[]]

Observation 4: User responded to your question: 14.07.2024

Thought 5 (score=0):

Action 5 (score=0):Finish[...]

Info: Context built for 'b77d83ee-8ebf-4a50-bc34-ffb9d933910d'! Executing...

I recommend to use the following agent (score=0): agent1q2vw4rfpjud6jyuvq4updx4l9pgedr62dr0v2w8fhze9kde4hfqx28m7ftx

Info: Sent request to the agent

Error: Timeout reached: agent1q2vw4rfpjud6jyuvq4updx4l9pgedr62dr0v2w8fhze9kde4hfqx28m7ftx

Info: Session ended`

Agentverse Agent:

image

SYSTEM LOG

`

2024-07-09 00:19:45 | Debug | System | [DEBG]: Queued envelope from agent1qve4wqjsmu2csvw0v6xhgs0jf76jj5unxpulmk0ua42eclwa6yz5ykdeelp (operative) -- | -- | -- | --   | 2024-07-09 00:47:40 | Trace | System | [TRCE]: Scheduled almanac registration   | 2024-07-09 01:47:24 | Trace | System | [TRCE]: Scheduled almanac registration   | 2024-07-09 02:49:23 | Trace | System | [TRCE]: Scheduled almanac registration   | 2024-07-09 03:50:25 | Trace | System | [TRCE]: Scheduled almanac registration   | 2024-07-09 04:50:51 | Trace | System | [TRCE]: Scheduled almanac registration   | 2024-07-09 05:51:13 | Trace | System | [TRCE]: Scheduled almanac registration   | 2024-07-09 06:51:23 | Trace | System | [TRCE]: Scheduled almanac registration   | 2024-07-09 06:53:17 | Debug | System | [DEBG]: Queued envelope from agent1qv50c0hcgltzcsc5yl4dp6xjyvjwwj7vzng5l5urhg49mv7wf280ymde6vl (operative)   | 2024-07-09 07:53:43 | Trace | System | [TRCE]: Scheduled almanac registration   | 2024-07-09 08:55:34 | Trace | System | [TRCE]: Scheduled almanac registration   | 2024-07-09 09:54:49 | Trace | System | [TRCE]: Scheduled almanac registration   | 2024-07-09 10:53:01 | Trace | System | [TRCE]: Scheduled almanac registration   | 2024-07-09 11:54:32 | Trace | System | [TRCE]: Scheduled almanac registration   | 2024-07-09 12:54:01 | Trace | System | [TRCE]: Scheduled almanac registration   | 2024-07-09 13:55:41 | Trace | System | [TRCE]: Scheduled almanac registration   | 2024-07-09 14:56:51 | Trace | System | [TRCE]: Scheduled almanac registration   | 2024-07-09 16:00:09 | Trace | System | [TRCE]: Scheduled almanac registration   | 2024-07-09 16:35:23 | Debug | System | [DEBG]: Queued envelope from agent1qflxxrd8mkl46dmqlr6aa25fzgv3d3rru9s8y780zwwezhk5cs0wgzlk53z (operative)   | 2024-07-09 17:00:58 | Trace | System | [TRCE]: Scheduled almanac registration   | 2024-07-09 17:49:39 | Debug | System | [DEBG]: Queued envelope from agent1qve4wqjsmu2csvw0v6xhgs0jf76jj5unxpulmk0ua42eclwa6yz5ykdeelp (operative)

`

ayushsaranGithuB commented 3 days ago

Yes it's still happening, closed the issue by mistake, recent logs added above

lrahmani commented 13 hours ago

Seems to be related to https://github.com/fetchai/agentverse/issues/16