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

Getting errors when running hashview-agent.py #117

Open
nmen opened this issue Sep 8, 2023 · 1 comment
Open

Getting errors when running hashview-agent.py #117

nmen opened this issue Sep 8, 2023 · 1 comment

Comments

@nmen
Copy link

nmen commented Sep 8, 2023

I'm getting this error, any ideas?

python3 ./hashview-agent.py
Traceback (most recent call last):
File "./hashview-agent.py", line 384, in
response = send_heartbeat(agent_status, '')
File "./hashview-agent.py", line 71, in send_heartbeat
return api.heartbeat(agent_status, hc_status)
File "/opt/hashview-agent/agent/api/api.py", line 12, in heartbeat
response = http.post('/v1/agents/heartbeat', json.loads(json.dumps(message)))
File "/opt/hashview-agent/agent/http/http.py", line 54, in post
version = hashview.version
NameError: name 'hashview' is not defined

@i128
Copy link
Contributor

i128 commented Sep 8, 2023

I think you need to update your agent.
23c2c48

to do this, go to your hashview server->manage->agents->Download Agent for deployment and copy/extract to /opt/

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

No branches or pull requests

2 participants