You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Created their local rotki account and at the very beginning of the account creation got a 500 server error.
I was able to reproduce on my side. The requirements are. New account, new premium api keys, or generally api keys with no saved DB data on the rotki server. Then you get the following error in the logs.
[07/10/2020 10:06:45 CEST] ERROR rotkehlchen.api.server: Exception on /api/1/users [PUT]
Traceback (most recent call last):
File "/home/lefteris/.virtualenvs/rotkipy37/lib/python3.7/site-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/home/lefteris/.virtualenvs/rotkipy37/lib/python3.7/site-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/lefteris/.virtualenvs/rotkipy37/lib/python3.7/site-packages/flask_restful/__init__.py", line 458, in wrapper
resp = resource(*args, **kwargs)
File "/home/lefteris/.virtualenvs/rotkipy37/lib/python3.7/site-packages/flask/views.py", line 89, in view
return self.dispatch_request(*args, **kwargs)
File "/home/lefteris/.virtualenvs/rotkipy37/lib/python3.7/site-packages/flask_restful/__init__.py", line 573, in dispatch_request
resp = meth(*args, **kwargs)
File "/home/lefteris/.virtualenvs/rotkipy37/lib/python3.7/site-packages/webargs/core.py", line 366, in wrapper
return func(*args, **kwargs)
File "/home/lefteris/w/rotkehlchen/rotkehlchen/api/v1/resources.py", line 511, in put
initial_settings=initial_settings,
File "/home/lefteris/w/rotkehlchen/rotkehlchen/api/rest.py", line 812, in create_new_user
initial_settings=initial_settings,
File "/home/lefteris/w/rotkehlchen/rotkehlchen/rotkehlchen.py", line 194, in unlock_user
sync_approval=sync_approval,
File "/home/lefteris/w/rotkehlchen/rotkehlchen/premium/sync.py", line 267, in try_premium_at_start
if self._sync_data_from_server_and_replace_local():
File "/home/lefteris/w/rotkehlchen/rotkehlchen/premium/sync.py", line 128, in _sync_data_from_server_and_replace_local
self.data.decompress_and_decrypt_db(self.password, result['data'])
File "/home/lefteris/w/rotkehlchen/rotkehlchen/data_handler.py", line 229, in decompress_and_decrypt_db
decrypted_data = decrypt(password.encode(), encrypted_data)
File "/home/lefteris/w/rotkehlchen/rotkehlchen/crypto.py", line 34, in decrypt
assert isinstance(given_source, str), 'source should be given in string'
AssertionError: source should be given in string
[07/10/2020 10:06:45 CEST] INFO rotkehlchen.api.server.pywsgi: 127.0.0.1 - - "PUT /api/1/users HTTP/1.1" 500 216 0.627664
Task
This is a very bad thing to see as the first thing when you get start rotki. Fix it.
The text was updated successfully, but these errors were encountered:
Problem Definition
A first time premium user did the following.
I was able to reproduce on my side. The requirements are. New account, new premium api keys, or generally api keys with no saved DB data on the rotki server. Then you get the following error in the logs.
Task
This is a very bad thing to see as the first thing when you get start rotki. Fix it.
The text was updated successfully, but these errors were encountered: