Comments (12)
Hello @johnbaker26222 ,
have you pressed the import button in the upper right corner, too?
If you go back (upper left) all changes are discarded.
from macless-haystack.
Hey thanks for the quick response. Yes clicked the import button and it takes me back with no accessories
from macless-haystack.
I also cannot create a new accessory
from macless-haystack.
- How many keys have you generated?
- How long have you waited after the import?
- Is your fetch-location service running?
- Do you have any plugins, blocker in your browser? Can you try a different one?
- Do you see any errors in the console of your Browser (normally F12)?
- Do you have the same result at my Github-Page?
from macless-haystack.
How many keys have you generated?
6
How long have you waited after the import?
it immediately goes to the page with no accessories
Is your fetch-location service running?
john@Johns-Mac-mini webserver % Using python2
serving at port 6176
Do you have any plugins, blocker in your browser? Can you try a different one?
I tried chrome and firefox same same
Do you see any errors in the console of your Browser (normally F12)?
main.dart.js:4720 Uncaught TypeError: Cannot read properties of undefined (reading 'generateKey')
at main.dart.js:94267:36
at aLm.a (main.dart.js:5999:62)
at aLm.$2 (main.dart.js:43271:14)
at Object.G (main.dart.js:5985:10)
at ah5.acr (main.dart.js:94279:10)
at ah5.oC (main.dart.js:94247:21)
at main.dart.js:94291:14
at aLm.a (main.dart.js:5999:62)
at aLm.$2 (main.dart.js:43271:14)
at Object.G (main.dart.js:5985:10)
Do you have the same result at my Github-Page? When I usee your page it will import. But I cannot get it to fetch location data. I get this error in the console of browser:
Uncaught Error
at Object.aW4 (main.dart.js:7570:24)
at aby.$1 (main.dart.js:101402:53)
at aH5.aAL (main.dart.js:46775:34)
at aH5.O0 (main.dart.js:46777:21)
at aDg.$0 (main.dart.js:46070:11)
at Object.Bq (main.dart.js:6346:40)
at aq.oQ (main.dart.js:45999:3)
at Object.ben (main.dart.js:6446:8)
at auI.$1 (main.dart.js:46227:9)
at aCo.$1 (main.dart.js:50573:21)
from macless-haystack.
When using your page I this error appeared in the chrome console:
main.dart.js:49845 Mixed Content: The page at 'https://dchristl.github.io/headless-haystack/#/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://<myip>:6176/'. This request has been blocked; the content must be served over HTTPS.
So running chrome with the --allow-running-insecure-content fixed the error and everything worked as it should. So fetching is OK. Not sure what is going on with my local version.
I'm not sure how I'm going to run chrome insecurely on my mobile device though. Is there any way you could host an http version of your page? or implement an SSL connnection for my fetching service?
from macless-haystack.
OK, I see the problem here. It is because the fetch location service is not served over https, but the github page or your local webserver is. I will have a deeper look into this next week, but it is not so easy to solve. The main problem is that you need a certificate for the fetch location service to avoid the error.
from macless-haystack.
Ok thanks any idea what is causing this error in my local instance?
Uncaught TypeError: Cannot read properties of undefined (reading 'generateKey')
from macless-haystack.
Sorry, but I have no idea why you have this issue. I've set up a whole new system and followed the guide, downloaded the latest webserver-release and everything works like expected. The only thing you can try is to check all the files with my output:
user@users-iMac-Pro webserver % ls -lR
total 24
-rwxrwxr-x 1 user staff 3744 Apr 17 19:44 FindMy_proxy.py
-rw-rw-r-- 1 user staff 8073 Apr 13 17:51 apple_cryptography.py
drwxrwxr-x 13 user staff 416 Apr 17 19:43 web
./web:
total 6480
drwxrwxr-x 7 user staff 224 Apr 17 19:43 assets
drwxrwxr-x 5 user staff 160 Apr 17 19:42 canvaskit
-rw-rw-r-- 1 user staff 917 Apr 17 19:43 favicon.png
-rw-rw-r-- 1 user staff 13910 Apr 17 19:42 flutter.js
-rw-rw-r-- 1 user staff 7269 Apr 17 19:43 flutter_service_worker.js
drwxrwxr-x 6 user staff 192 Apr 17 19:43 icons
-rw-rw-r-- 1 user staff 3855 Apr 17 19:43 index.html
-rw-rw-r-- 1 user staff 3274638 Apr 17 19:43 main.dart.js
-rw-rw-r-- 1 user staff 927 Apr 17 19:43 manifest.json
-rw-rw-r-- 1 user staff 85 Apr 17 19:43 version.json
./web/assets:
total 1784
-rw-rw-r-- 1 user staff 63 Apr 17 19:43 AssetManifest.json
-rw-rw-r-- 1 user staff 82 Apr 17 19:43 FontManifest.json
-rw-rw-r-- 1 user staff 904025 Apr 17 19:43 NOTICES
drwxrwxr-x 3 user staff 96 Apr 17 19:43 assets
drwxrwxr-x 3 user staff 96 Apr 17 19:43 fonts
./web/assets/assets:
total 400
-rw-rw-r-- 1 user staff 204339 Apr 17 19:43 OpenHaystackIcon.png
./web/assets/fonts:
total 3216
-rw-rw-r-- 1 user staff 1645184 Apr 17 19:43 MaterialIcons-Regular.otf
./web/canvaskit:
total 13632
-rw-rw-r-- 1 user staff 127110 Apr 17 19:42 canvaskit.js
-rw-rw-r-- 1 user staff 6845886 Apr 17 19:42 canvaskit.wasm
drwxrwxr-x 4 user staff 128 Apr 17 19:42 profiling
./web/canvaskit/profiling:
total 18040
-rw-rw-r-- 1 user staff 247863 Apr 17 19:42 canvaskit.js
-rw-rw-r-- 1 user staff 8985203 Apr 17 19:42 canvaskit.wasm
./web/icons:
total 104
-rw-rw-r-- 1 user staff 5292 Apr 17 19:43 Icon-192.png
-rw-rw-r-- 1 user staff 8252 Apr 17 19:43 Icon-512.png
-rw-rw-r-- 1 user staff 5594 Apr 17 19:43 Icon-maskable-192.png
-rw-rw-r-- 1 user staff 20998 Apr 17 19:43 Icon-maskable-512.png
Maybe there is an error.
The Https-problem occurs if the host is not localhost. This works - of course - only if the virtual MacOS and the application is on the same machine. I will try to figure out a solution for other hosts in your network. This will take a bit, because the user have to provide its own certificate.
Sorry, but I can't (and want) disable the SSL encryption on the GitHub-page.
from macless-haystack.
Thanks for that I do indeed have all of those files so who knows why my accessories will not import when I run a local server.
I did find a work around for the SSL error. I generated valid certs using letsencrypt and used those with stunnel to intercept the traffic from the FindMyproxy and convert to SSL so the browser would stop complaining. This seems to have worked so I finally have a way to track on my mobile devices.
Next up is to write a python script to send me telegram notifications when my accessories move more than a few KM.
Thanks so much for you work here!
from macless-haystack.
FYI:
I've added a section about the problem as last paragraph of set up your virtual or real MAC - section. This works with self signed certificates (included), too. Although your solution is a way better, but harder to set up for the most users, especially when server names changes (internal and external name).
I will close this issue now, if you have a follow up problem/ question, just create a new one. Thanks
from macless-haystack.
from macless-haystack.
Related Issues (20)
- some tag report not decrypted anymore HOT 5
- The cheapest and easiest device to flash that has been proofed to work? HOT 8
- Updating Docker fails on DSM / Container Manager HOT 4
- Positions can be totally wrong HOT 3
- Cannot add / generate new Accessories when self-hosting the Webapp HOT 2
- no location HOT 2
- no positions with multi key files HOT 3
- Google FindMy HOT 3
- apple id blocked ? HOT 1
- Account limit reached HOT 11
- Successfully enabled 2FA, but account is blocked | It seems your account score isn't high enough. What accounts have you successfully accessed, guys HOT 1
- Map is jumping back from zoom level (App) HOT 5
- web app host issues "nothing to see here" displayed HOT 2
- Flashing the device, but doesn't appear to work HOT 1
- Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource
- Expose macless-haystack to the internet HOT 8
- [doc] add interactive docker cmd HOT 3
- Invalid EC key HOT 4
- The issue with the total number of tags HOT 2
- cant get it working, how to debug? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from macless-haystack.