Closed weynandkuijpers closed 4 years ago
Checking my identity on https://explorer.testnet.grid.tf/explorer/users?page=2
shows that this identity has not been created.
Accessing the kosmos shell and looking for my identity:
JSX> j.me
Tue 21 05:14:35 s/nacl/exceptions.py - 68 - ensure : EXCEPTION:
CryptoError('Decryption failed. Ciphertext failed verification')
--TRACEBACK------------------
<stdin> in <module>
1
/sandbox/lib/jumpscale/Jumpscale/__init__.py in me
134 self._me = self._meClass()
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSBase.py in __init__
52 self._init_jsconfig(**kwargs)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigBCDB.py in _init_jsconfig
28 jsxobjects = self._model.find(name=name)
/sandbox/lib/jumpscale/Jumpscale/data/bcdb/BCDBModel.py in find
639 obj = self.get(id)
/sandbox/lib/jumpscale/Jumpscale/data/bcdb/BCDBDecorator.py in wrapper_queue_method
63 res = func(*args, **kwargs)
/sandbox/lib/jumpscale/Jumpscale/data/bcdb/BCDBModel.py in get
501 obj = self.bcdb._unserialize(obj_id, data, return_as_capnp=return_as_capnp, schema=self.schema)
/sandbox/lib/jumpscale/Jumpscale/data/bcdb/BCDB.py in _unserialize
898 bdata = j.myidentities.decrypt(bdata_encrypted)
/sandbox/lib/jumpscale/Jumpscale/me/MyIdentities.py in decrypt
65 res = self.box.decrypt(self._tobytes(data))
/usr/local/lib/python3.7/dist-packages/nacl/secret.py in decrypt
131 nonce, self._key)
/usr/local/lib/python3.7/dist-packages/nacl/bindings/crypto_secretbox.py in crypto_secretbox_open
78 raising=exc.CryptoError)
/usr/local/lib/python3.7/dist-packages/nacl/exceptions.py in ensure
68 raise raising(*args)
-----------------------------
Tue 21 05:14:35 s/nacl/exceptions.py - 68 - ensure : EXCEPTION:
CryptoError('Decryption failed. Ciphertext failed verification')
--TRACEBACK------------------
<stdin> in <module>
1
/sandbox/lib/jumpscale/Jumpscale/__init__.py in me
134 self._me = self._meClass()
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSBase.py in __init__
52 self._init_jsconfig(**kwargs)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigBCDB.py in _init_jsconfig
28 jsxobjects = self._model.find(name=name)
/sandbox/lib/jumpscale/Jumpscale/data/bcdb/BCDBModel.py in find
639 obj = self.get(id)
/sandbox/lib/jumpscale/Jumpscale/data/bcdb/BCDBDecorator.py in wrapper_queue_method
63 res = func(*args, **kwargs)
/sandbox/lib/jumpscale/Jumpscale/data/bcdb/BCDBModel.py in get
501 obj = self.bcdb._unserialize(obj_id, data, return_as_capnp=return_as_capnp, schema=self.schema)
/sandbox/lib/jumpscale/Jumpscale/data/bcdb/BCDB.py in _unserialize
898 bdata = j.myidentities.decrypt(bdata_encrypted)
/sandbox/lib/jumpscale/Jumpscale/me/MyIdentities.py in decrypt
65 res = self.box.decrypt(self._tobytes(data))
/usr/local/lib/python3.7/dist-packages/nacl/secret.py in decrypt
131 nonce, self._key)
/usr/local/lib/python3.7/dist-packages/nacl/bindings/crypto_secretbox.py in crypto_secretbox_open
78 raising=exc.CryptoError)
/usr/local/lib/python3.7/dist-packages/nacl/exceptions.py in ensure
68 raise raising(*args)
-----------------------------
Decryption failed. Ciphertext failed verification
JSX>
And then by accident I restart the 3sdk shell, have another look at my container threebot.....
command, press enter the then this:
/usr/local/lib/python3.7/dist-packages/nacl/exceptions.py in ensure
68 raise raising(*args)
-----------------------------
Decryption failed. Ciphertext failed verification
JSX> exit()
Connection to localhost closed.
3sdk> container threebot identity='weynanddemo05.3bot' email='weynand.k.uijpers@gmail.com' words='position garbage title ice rebuild t
1 wo night adjust insect capital purchase stereo again rug depart control atom legal salt banner easy cabbage few movie'
will make sure you have your 3bot alive
Connection to localhost closed.
3sdk>
it fires up the google browser but no connect.
I managed to recover using yours words
3sdk> container threebot identity='weynanddemo005.3bot' email='weynand.k.uijpers005@gmail.com' words='position garba...'
However, the email isn't weynand.k.uijpers005@gmail.com
Resolved with checking out development branch & deleting old containers & creating identity with correct paramters
process /sandbox/lib/jumpscale/JumpscaleLibsExtra/sal_zos/gateway/dhcp.py OK OK Tue 21 05:12:22 s/nacl/exceptions.py - 68 - ensure : EXCEPTION: CryptoError('Decryption failed. Ciphertext failed verification') --TRACEBACK------------------ /tmp/script_118.py in
4 j.me.configure(tname='weynanddemo05.3bot',ask=False, email='',words='')
/sandbox/lib/jumpscale/Jumpscale/init.py in me
134 self._me = self._meClass()
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSBase.py in init
52 self._init_jsconfig(*kwargs)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigBCDB.py in _init_jsconfig
28 jsxobjects = self._model.find(name=name)
/sandbox/lib/jumpscale/Jumpscale/data/bcdb/BCDBModel.py in find
639 obj = self.get(id)
/sandbox/lib/jumpscale/Jumpscale/data/bcdb/BCDBDecorator.py in wrapper_queue_method
63 res = func(args, *kwargs)
/sandbox/lib/jumpscale/Jumpscale/data/bcdb/BCDBModel.py in get
501 obj = self.bcdb._unserialize(obj_id, data, return_as_capnp=return_as_capnp, schema=self.schema)
/sandbox/lib/jumpscale/Jumpscale/data/bcdb/BCDB.py in _unserialize
898 bdata = j.myidentities.decrypt(bdata_encrypted)
/sandbox/lib/jumpscale/Jumpscale/me/MyIdentities.py in decrypt
65 res = self.box.decrypt(self._tobytes(data))
/usr/local/lib/python3.7/dist-packages/nacl/secret.py in decrypt
131 nonce, self._key)
/usr/local/lib/python3.7/dist-packages/nacl/bindings/crypto_secretbox.py in crypto_secretbox_open
78 raising=exc.CryptoError)
/usr/local/lib/python3.7/dist-packages/nacl/exceptions.py in ensure
68 raise raising(args)
Tue 21 05:12:23 esdk/InstallTools.py -1503 - _execute : EXCEPTION:
--TRACEBACK------------------ jsx in
315 cli()
jsx in install
117 words=words,
/sandbox/code/github/threefoldtech/jumpscaleX_core/install/threesdk/InstallTools.py in install
4802 Tools.execute(C, die=True, interactive=True, jumpscale=True)
/sandbox/code/github/threefoldtech/jumpscaleX_core/install/threesdk/InstallTools.py in execute
2781 errormsg=errormsg,
/sandbox/code/github/threefoldtech/jumpscaleX_core/install/threesdk/InstallTools.py in _execute
1503 raise Tools.exceptions.Base(msg)
Connection to localhost closed.
Could not execute: cd /tmp python3 jsx install -i weynanddemo05.3bot
3sdk>