Closed pmanikowski closed 4 years ago
I've tried to register a new certificate now and it went successfully. Can you please tell me what's your e-register server? (domain) I mean for example uonetplus.vulcan.net.pl
or adfs.eszkola.opolskie.pl
etc.
Please update library to the newest version and remember that token/pin set is temporary. Too much time with no further information. It's possible that it's Vulcan or your fault. If not, please reopen this issue with more information.
Hi. I have been trying to get certificate from server as described in README: certificate = Vulcan.register('', '', '')
but I am getting 400 Bad Request error from request library:
File "/usr/local/lib/python3.6/dist-packages/vulcan/_vulcan.py", line 57, in register return Certificate.get(token, symbol, pin) File "/usr/local/lib/python3.6/dist-packages/vulcan/_certificate.py", line 56, in get j = r.json() File "/home/pawel/.local/lib/python3.6/site-packages/requests/models.py", line 897, in json return complexjson.loads(self.text, **kwargs) File "/usr/lib/python3/dist-packages/simplejson/init.py", line 518, in loads return _default_decoder.decode(s) File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode obj, end = self.raw_decode(s) File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 400, in raw_decode return self.scan_once(s, idx=_w(s, idx).en
I tested 3 different sets of tokens/symbols, tried changing 'DeviceSystemType' to Android in the header or pulling new version but I still get the same error. Any ideas?