Skip to content

Runtime error when executing ../server/blob/master/examples/retrieval/app.rb  #63

Description

@plam626

When running the https://github.com/CovidShield/server/blob/master/examples/retrieval/app.rb against localhost or server deployed in AWS ECS, I got the following runtime error in both cases

Also, prior to this error, it appears RETRIEVE_HMAC_KEY needs to be assigned as a prerequisite. More documentation on setup requirements and troubleshooting would be appreciated, please. Thanks!

$ ruby app.rb
maybe fetching new keys
fetching new keys
Fetching period: 442168
Traceback (most recent call last):
6: from app.rb:143:in <main>' 5: from app.rb:44:in run'
4: from app.rb:64:in maybe_fetch_new_keys' 3: from app.rb:85:in fetch_new_keys'
2: from app.rb:85:in times' 1: from app.rb:87:in block in fetch_new_keys'
app.rb:101:in `fetch_period': failed (RuntimeError)

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions