Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Aranya-Example #59

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Update Aranya-Example #59

wants to merge 4 commits into from

Conversation

nikki-aranya
Copy link

Updates the example to use the latest release of aranya, removes the loose dependency to AFC, and polishes the READMEs. Package versions are based off what's already in supply-chain/config.toml.

@nikki-aranya
Copy link
Author

cc: @gknopf-aranya I'm having trouble actually getting the example to run on my machine. This new version gives me the error:

2025-01-28T03:46:48.506129Z ERROR error responding to sync request err=sync resp poll failed

Caused by:
    0: storage error: no such storage
    1: no such storage
2025-01-28T03:46:48.506951Z ERROR sync_peer error

Caused by:
    sync error: sync resp poll failed
    
    Caused by:
        0: storage error: no such storage
        1: no such storage
2025-01-28T03:46:48.506996Z ERROR unable to sync with peer err=sync_peer error

Caused by:
    sync error: sync resp poll failed
    
    Caused by:
        0: storage error: no such storage
        1: no such storage

while the old one gives me:

2025-01-28T03:48:16.658177Z ERROR unable to sync with peer err=sync error: sync resp poll failed peer=Addr { host: 127.0.0.1, port: 65250 }
2025-01-28T03:48:16.658479Z ERROR unable to sync with peer err=unable to sync with peer

Caused by:
    sync error: sync resp poll failed

@nikki-aranya
Copy link
Author

New errors, seems like a client doesn't have a graph generated yet:

2025-02-03T18:32:49.184381Z ERROR error responding to sync request err=sync resp poll failed

Caused by:
    0: storage error: no such storage
    1: no such storage
2025-02-03T18:32:49.184784Z ERROR sync_peer error

Caused by:
    sync error: sync resp poll failed
    
    Caused by:
        0: storage error: no such storage
        1: no such storage
2025-02-03T18:32:49.184871Z ERROR unable to sync with peer err=sync_peer error

Caused by:
    sync error: sync resp poll failed
    
    Caused by:
        0: storage error: no such storage
        1: no such storage

@gknopf-aranya
Copy link
Contributor

New errors, seems like a client doesn't have a graph generated yet:

@nikki-aranya sometimes syncs timeout and show a sync error in the logs. These errors are not fatal.

Try increasing the verbosity of the tracing to see that the example runs to completion:
ARANYA_EXAMPLE=info target/release/aranya-example

I see this in my logs indicating the example completed successfully:
2025-02-03T19:33:50.052124Z INFO completed example Aranya application

templates/README.md Outdated Show resolved Hide resolved
@gknopf-aranya
Copy link
Contributor

We may want to change the log level of the message that prints out when the example app completes successfully so it's easier to tell when the application has completed. Or change the sync timeout log level so it shows up as a warning rather than an error.

@nikki-aranya
Copy link
Author

We may want to change the log level of the message that prints out when the example app completes successfully so it's easier to tell when the application has completed. Or change the sync timeout log level so it shows up as a warning rather than an error.

no such storage seems to be a race condition, and we should be investigating the underlying cause to actually fix it because otherwise this will come back to bite us in the future. This also happens consistently with every run.

New errors, seems like a client doesn't have a graph generated yet:

@nikki-aranya sometimes syncs timeout and show a sync error in the logs. These errors are not fatal.

Try increasing the verbosity of the tracing to see that the example runs to completion: ARANYA_EXAMPLE=info target/release/aranya-example

I see this in my logs indicating the example completed successfully: 2025-02-03T19:33:50.052124Z INFO completed example Aranya application

It does complete successfully, I needed the poll fix for it to actually resolve though.

nikki-aranya added a commit that referenced this pull request Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants