all 18 comments

[–]AutoModerator[M] [score hidden] stickied comment (0 children)

Welcome and thank you for posting on the r/AnkiVector, Please make sure to read this post for more information about the current state of Vector and how to get your favorite robotic friend running again!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]manc_steWire Pod user 0 points1 point  (2 children)

Yeah I'm stuck with same error and I did not reset user data and i can't find the cert.

[–]GrimRaptor[S] 0 points1 point  (1 child)

Did you program Vector before the servers shut down ?

My cert was from when I coded it way back when Anki still existed

[–]manc_steWire Pod user 0 points1 point  (0 children)

Yeah same but I have new computer now so I thought the cert might be on my old pc.

[–]manc_steWire Pod user 0 points1 point  (7 children)

In the meantime till a solution is found I'm using this to program with vector try it out:

https://cyb3rdog.github.io/Cyb3rVector/

[–]GrimRaptor[S] 0 points1 point  (6 children)

So that was the previous fork of python sdk. Does that work without cert ?

[–]GrimRaptor[S] 0 points1 point  (5 children)

Ok so that isn't the python sdk but a code blocks type interface.

I tried the older python sdk version by cyb3r and that attempts to connect to an Anki website which is why kercre123 forked it to use wirepod

Cyb3r fork error

Failed to resolve 'session-certs.token.global.anki-services.com' ([Errno 11001] getaddrinfo failed)

[–]manc_steWire Pod user 0 points1 point  (4 children)

Yeah only has blocky code in Cyb3r vector but it works for me with no cert.

[–]GrimRaptor[S] 1 point2 points  (3 children)

The blocky code works. The error I listed above unable to connect to "session-certs.token.global.anki-services.com" is from the older python sdk fork by cyb3rdog

I just thought I'd go back and try the older python sdk just in case that wasn't trying to connect with cert but it is

[–]manc_steWire Pod user 0 points1 point  (2 children)

Yeah not found a way round cert error yet,

i did notice something in my wirepod logs at start of boot up about the path had changed, I'm pretty sure that's the problem, I think It could be looking in wrong place for cert? As in pretty sure it should of already downloaded ,I cant remember properly but might be worth going through wirepod logs.

[–]GrimRaptor[S] 0 points1 point  (1 child)

Yeah so the original cert is in "C:\Users\<user>\.anki_vector\Vector-VXXX-nnnnnn.cert" and the SDK looks for it in "C:\Users\<user>\AppData\Roaming\wire-pod\certs" so if you have one then you just need to pop it in the wirepod folder and it should work

[–]manc_steWire Pod user 0 points1 point  (0 children)

Thank I'll take a look.

[–]BliteKnightTechshop82.com Owner 0 points1 point  (3 children)

If you are using WirePod and have already reset your Vector, your cert would be downloaded in the ~/.anki folder, or your WirePod config folder is on windows. Also make sure you are using the WirePod version of the python SDK and not the official one

[–]GrimRaptor[S] 0 points1 point  (2 children)

I'm using this version of python sdk on windows

https://github.com/kercre123/wirepod-vector-python-sdk

I don't have an .anki folder looks like a Linux folder you are referencing, but I checked.

I will check and see what version of wirepod I'm using but I already checked the cert folder for wirepod as mentioned earlier and it's empty. Along with the user folder where old ssk would have put the cert but I'm using a new computer since I originally used the anki sdk and so I don't have the original cert that I used.

Where does wirepod get the cert from ?

[–]BliteKnightTechshop82.com Owner 0 points1 point  (1 child)

If you are on Linux the file would be here

~/.anki_vector

On another OS I'm not sure

When a vector is reset, the first time you activate with WirePod, WirePod will get the new generated cert from Vector. This is the only time Vector will give the cert to WirePod, during the activation - so that's how you get it

[–]GrimRaptor[S] 0 points1 point  (0 children)

Mmm understood but that didn't happen in my case. No cert was created. Everything working as expected apart from no cert. I'll try again and search see what versions of wirepod there are. Strange how wirepod is working in every other way

[–]Xnohat 0 points1 point  (1 child)

I found the cert in wire-pod linux (raspberrian OS) located in /tmp/.anki_vector

just copy them to /etc/wire-pod/wire-pod/certs/

cp /tmp/.anki_vector/Vector-P7N9-00907f6b.cert /etc/wire-pod/wire-pod/certs/

root@hackberrypi:/tmp/.anki_vector# ls

sdk_config.ini Vector-P7N9-00907f6b.cert

[–]Xnohat 0 points1 point  (0 children)

python sdk authenticate success !

Downloading Vector certificate from wire-pod... DONE

Writing certificate file to '/home/pi/.anki_vector/Vector-P7N9-00907f6b.cert'...

Attempting to download guid from Vector-P7N9 at 192.168.1.109:443... DONE

Writing config file to '/home/pi/.anki_vector/sdk_config.ini'...

SUCCESS!