[GH-ISSUE #650] Issue: Permission Denied, .secret_key_store #495

Open
opened 2026-02-27 16:39:27 +03:00 by kerem · 0 comments
Owner

Originally created by @Fallenour on GitHub (Oct 28, 2017).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/650

System: Ubuntu 16.04.3 LTS

Issue:

I cannot log into console for VMs once I create my VMs. My output error is:

Server disconnected (code: 1006)

[Artifacts]

webvirtmgr.log

"IOError: [Errno 13] Permission denied: '/home/ubuntu/webvirtmgr/webvirtmgr/local/.secret_key_store'"

webvirtmgr-console.log

"Traceback (most recent call last):
File "/home/ubuntu/webvirtmgr/console/webvirtmgr-console", line 20, in
from webvirtmgr.settings import WS_PORT, WS_HOST, WS_CERT, WS_KEY
File "/home/ubuntu/webvirtmgr/webvirtmgr/settings.py", line 189, in
'.secret_key_store'))
File "/home/ubuntu/webvirtmgr/webvirtmgr/utils/secret_key.py", line 62, in generate_or_read_from_file
with open(key_file, 'r') as f:
IOError: [Errno 13] Permission denied: '/home/ubuntu/webvirtmgr/webvirtmgr/local/.secret_key_store'
WARNING:root:No local_settings file found."

.secret_key_store:

permissions: 600
location: /home/ubuntu/webvirtmgr/webvirtmgr/local/.secret_key_store

Originally created by @Fallenour on GitHub (Oct 28, 2017). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/650 System: Ubuntu 16.04.3 LTS Issue: I cannot log into console for VMs once I create my VMs. My output error is: Server disconnected (code: 1006) [Artifacts] webvirtmgr.log "IOError: [Errno 13] Permission denied: '/home/ubuntu/webvirtmgr/webvirtmgr/local/.secret_key_store'" webvirtmgr-console.log "Traceback (most recent call last): File "/home/ubuntu/webvirtmgr/console/webvirtmgr-console", line 20, in <module> from webvirtmgr.settings import WS_PORT, WS_HOST, WS_CERT, WS_KEY File "/home/ubuntu/webvirtmgr/webvirtmgr/settings.py", line 189, in <module> '.secret_key_store')) File "/home/ubuntu/webvirtmgr/webvirtmgr/utils/secret_key.py", line 62, in generate_or_read_from_file with open(key_file, 'r') as f: IOError: [Errno 13] Permission denied: '/home/ubuntu/webvirtmgr/webvirtmgr/local/.secret_key_store' WARNING:root:No local_settings file found." .secret_key_store: permissions: 600 location: /home/ubuntu/webvirtmgr/webvirtmgr/local/.secret_key_store
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#495
No description provided.