wire-pod icon indicating copy to clipboard operation
wire-pod copied to clipboard

escapepod.local works fine, but vector still cannot connect

Open KenwoodFox opened this issue 1 year ago • 11 comments

image

Like what it said! I was able to get the debian host put together pretty easy, I'm running on a VM in my homelab, everything seems to resolve fine! But.. no matter what I do, i cant seem to get vector to connect or see it.

image

My bot is running version v2.0.1.6076 0dd1b62e and I'm using the latest commit from the github, Is it ok if i post the logs downloaded from the bot? Let me know I'll attach them to this issue! And thank you!

KenwoodFox avatar Oct 03 '23 01:10 KenwoodFox

PXL_20231003_031427460

KenwoodFox avatar Oct 03 '23 03:10 KenwoodFox

Hey, that sure looks like a connection in the server journal?...

Oct 02 23:07:34 escapepod start.sh[408]: Token expires: 2023-10-03T23:07:34.860927094-04:00
Oct 02 23:07:34 escapepod start.sh[408]: ESN not found in store or this is an associate primary user request, act as if this is a new robot
Oct 02 23:07:34 escapepod start.sh[408]: Adding 10.85.5.211 to TokenHashStore
Oct 02 23:07:34 escapepod start.sh[408]: UUID for this token request: 0c877cdc-783a-4d3a-b137-178b3a70fd19

10.85.5.211 is the robot dhcp, checked with my router.

So.. whats it doing?

KenwoodFox avatar Oct 03 '23 03:10 KenwoodFox

Dosn't seem like it registered properly with the escapepod server, since i cant select it from the dropdown image

KenwoodFox avatar Oct 03 '23 03:10 KenwoodFox

What do you have in wire-pod/chipper/jdocs/botSdkInfo.json ?

uandco avatar Oct 04 '23 12:10 uandco

What do you have in wire-pod/chipper/jdocs/botSdkInfo.json ?

# cat wire-pod/chipper/jdocs/botSdkInfo.json 
{"global_guid":"tni1TRsTRTaNSapjo0Y+Sw==","robots":[{"esn":"0dd1b62e","ip_address":"10.85.5.211","guid":"WCbjhAKnnm1gmr5TXr99PA==","activated":true}]}

KenwoodFox avatar Oct 04 '23 14:10 KenwoodFox

OK so it's definitely activated, what about jdocs.json ?

uandco avatar Oct 04 '23 22:10 uandco

OK so it's definitely activated, what about jdocs.json ?

Here you go!

# cat wire-pod/chipper/jdocs/jdocs.json 
[{"thing":"vic:0dd1b62e","name":"vic.AppTokens","jdoc":{"doc_version":1,"fmt_version":1,"client_metadata":"wirepod-new-token","json_doc":"{\"client_tokens\":[{\"hash\":\"Boi3HrTPfUxS1dMAuXR7R92EN5Idh4NtKx6+PKuJKYwvz7j5kljfnJdD6meNaj6w\",\"client_name\":\"wirepod\",\"app_id\":\"SDK\",\"issued_at\":\"2023-10-04T13:34:58.128468087-04:00\"}]}"}},{"thing":"vic:0dd1b62e","name":"vic.UserEntitlements","jdoc":{"fmt_version":1,"json_doc":"{\n   \"KICKSTARTER_EYES\" : false\n}\n"}},{"thing":"vic:0dd1b62e","name":"vic.RobotSettings","jdoc":{"fmt_version":2,"json_doc":"{\n   \"button_wakeword\" : 0,\n   \"clock_24_hour\" : false,\n   \"custom_eye_color\" : {\n      \"enabled\" : false,\n      \"hue\" : 0,\n      \"saturation\" : 0\n   },\n   \"default_location\" : \"San Francisco, California, United States\",\n   \"dist_is_metric\" : false,\n   \"eye_color\" : 0,\n   \"locale\" : \"en-US\",\n   \"master_volume\" : 4,\n   \"temp_is_fahrenheit\" : true,\n   \"time_zone\" : \"America/Los_Angeles\"\n}\n"}}]

What am i looking at?

KenwoodFox avatar Oct 04 '23 22:10 KenwoodFox

This is the 2 config files wire-pod uses to communicate with Vector and stores its current config (eye colour etc, what you're supposed to access via the UI). 0dd1b62e appears in both so it's puzzling, it has everything it needs to communicate.

Can you confirm you're now on the ep firmware? Seems like you were not in the other thread.

uandco avatar Oct 04 '23 22:10 uandco

Can you check service avahi-daemon statusand ps aux see if avahi-daemon is running and can you check netstat -ltnp and see if you see avahi-daemon running on port 5353 udp

NonaSuomy avatar Oct 08 '23 14:10 NonaSuomy

I have a similar problem with the last step "Activate"

https://escapepod.local/ shows 404 page not found http://escapepod.local/ shows the Apache2 Debian Default Page http://escapepod.local:8080 redirects me correctly to the wire-pod interface.

image

I'm on the latest wire-pod build

Hamlet3000 avatar Nov 07 '23 09:11 Hamlet3000

Its only a suggetion. May IPv6 is causing this problema?

F4310 avatar Nov 07 '23 10:11 F4310