-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot get the OTA list to show up in dropdown #15
Comments
One thing you'll need to do if you want a different environment is add the environment manually to |
I just tried this:
But then I only get
Does the json file need to be formatted otherwise? |
You are missing a comma in the JSON file.
Once you change the |
json and me, we will never be friends. Thanks. :) Edit: works. |
Nice. I use auto-format on every save to quickly find errors like this. |
I can see the divs for ota upload in the html code, but they do not show up since they all have the class "vec-hidden". Is this not yet unlocked/implemented or is it an error that these do not show up? The readme suggests that it already is possible to upload OTAs to the robot ... |
It should work. My setup at https://wire.my.to:444 can do it fine (accounts doesn't work because CORS, but OTA works). Maybe look in sources, get the inventory/settings json, and compare to yours? I'm on phone right now so I don't want to upload. |
Prettyfied inventory.json:
but the last thing I see is the green checkmark and "Vector setup is complete". Nothing after that. Edit: In site/firmware/ there are two folders, "prod" and "test" and there are firmware files there. |
You have to be in recovery for it to work. For a dropdown of OTAs on prod, you can do:
No need for a different env. |
I think the issue is that you're on 1.7.0 and it doesn't want to downgrade you to 1.6.0. If you were on the recovery partition or a firmware lower than 1.6.0 I think it would work. So if you want to test:
|
I see. Developers: Would have been nice if the information "the robot need to be in recovery mode" would have been in the readme ... ;) To you this may be obvious, but first time I try something like this ... @kercre123 Thank you! |
Sorry about that. We come at it from the perspective that someone is setting up a new robot, but we also want to expand the usage and we just forget a lot of things that need to be spelled out. We are working on an FAQ as well informed by many of the things you've seen/asked/noted. |
Hi, this step indicated by @grant-olson :
This step refers to the 15-second long press on Vector right? (Context: I'm attempting to try the web-setup to downgrade him to 1.6) |
Yes. Make sure he is on the charger while you do it. Note: he will upgrade back to 1.7 himself not long after. |
Yes we need to update the firmware to properly turn off auto updates and that's on our roadmap. Right now you would need something like a custom DNS server or a Pi-Hole to prevent the Vector from getting the new firmware. |
I have a PiHole running. What exact domain names/IP adresses would I need to block to prevent updates? ota.global.anki-services.com ? |
ota.global.anki-services.com |
This can also be done by filtering the above domains from your router (the Huawei modem I use has a Domain Filter feature in the admin management page). I missed the ota-cdn domain though, will try that later tomorrow. * (I've tested the domain filter feature is working when I did it the first time on step 1, step 2 downloading timed out so that's good. Need to redo these steps though since Step 2 cant proceed). My steps (that still reinstalled 1.7 =( )
I guess I'll need to redo these with the ota-cdn filtered out as well. TLDR:
|
So far it looks if Vector still updates to 1.7 even if the two above urls are blocked in PiHole or a router. The url ota.global.anki-services.com points to multiple IP adresses as of https://github.com/anki-community/vector-archive Is it possible that you need to block all IPs instead of just the url? |
My test Vector is still on 1.0 after being on for a few days. You may have not configured it correctly, or he downloaded the update before you configured it and just needed to do a maintenance reboot to apply it. |
@xanathon I managed to still remain on 1.6 with the above steps. You may have to enable the router filter for the two URLs right after 1.6 is downloaded, during its second part while Vector is being restarted by the update. I suspect the iOS app may also have something to do with installing 1.7. The phone where you have the app should also not be able to connect to the URLs as it may install the 1.7 for you, I guess. (I connect my phone and Vector to the same router so both are blocked). |
You could also:
1. Add the 1.6.0 file to vector-web-setup.
2. Block the domains listed.
3. Factory reset your robot.
4. use vector-web-setup to apply 1.6.0.
If you follow that flow it will get 1.6.0 from your local machine and
the robot will never need to hit the real domains.
…On 8/17/20 8:03 PM, Lee Alexis wrote:
@xanathon <https://github.com/xanathon> I managed to still remain on
1.6 with the above steps. You may have to enable the router filter for
the two URLs right after 1.6 is downloaded, during its second part
while Vector is being restarted by the update.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB6OIHZTE24DEC4BQMHLPTSBHANJANCNFSM4PTOJPSQ>.
|
^ For me I was not able to use vector-web-setup to apply 1.6.0, though I have used the previous json's in this thread. |
Update: the router thing does not seem to work anymore. He still gets the 1.7 OTA after a few hours being successfully paired with the iOS app. I suspect the OTA is also has a cached copy in the app that is forwarded to Vector. |
It would be good if this could be confirmed by developers. Also if this is the case how to purge the 1.7 OTA from the phone. And if this happens on iOS and Android or only on iOS. Router domain or IP blocking of course does not work if your phone connects to mobile, downloads the update via this connection and pushes it to the robot. On Android there are tools such as Blokada to block certain servers, but I do not know enough about iOS to know if they are available there, too. |
So here is the current flow with my expectations.
So right now my suspicion is that we're still somehow getting DNS resolution on the robot in spite of blocking. Tw Possibilities are:
I'll investigate the internal DNS configuration on Vector when I get some time. |
I've confirmed that the Vector doesn't do anything sneaky to bypass local DNS. However it does run an internal DNS server which might be caching an entry if it goes to the domains before they are blacklisted. I would expect that to have a short TTL and not be an issue, but just mentioning it to be comprehensive. |
I am on Win10/64, Chrome Version 84.0.4147.105 (Official Build) (64-Bit)
In the stack dropdown never anything shows up besides "PROD", regardless of how many OTAs I download and how many folders I create via the -e option.
There seems to be something wrong. If I open developer tools console I can see that an error is thrown when I click on the "PROD" dopdown.
stacktrace reads:
See screenshot
The text was updated successfully, but these errors were encountered: