Comments (14)
@tublitzed it should be back up now (but not that it's only http:// not https://, because I didn't have the bandwidth to fiddle with setting up TLS)
from services-engineering.
Heh, well, that's probably sensible client behaviour on balance :-)
@eoger has been working on a combo of local appservices + firefox-ios lately so he may be able to give you some advice on doing a build there.
Otherwise, I can try to timebox getting a cert setup on that machine, perhaps by using some existing fxa-dev domains and certificates. I won't get a chance this week, so what I suggest is: see if Ed can help with a local build that disables the check, and if that doesn't work out, leave me a note here in the bug and I'll look into TLS setup on my Monday.
from services-engineering.
Thanks both! I've taken the instructions above and copied them into a "howto" doc here for future reference.
from services-engineering.
I believe this is now the last remaining item for mozilla/application-services#2486
from services-engineering.
thanks, @rfk - if I plan to do this by the end of next week (2/21 EOD) does that work with your planned timeline?
from services-engineering.
SGTM 👍
from services-engineering.
Hey, @rfk I'm seeing that migratinator.rfk.id.au is currently timing out. Are you seeing the same thing? I'll get iOS setup locally so I'm ready to test, but until that test site is back up I may not be able to do much here.
from services-engineering.
Since iOS doesn't support setting a custom token server url via the UI, current plan is to get a local version running and manually override the token server url here. I'll start by just seeing if that'll work pointed at say, staging without updating any of the other values. I ran into some trouble recently trying to get this working for Fenix so hopefully the same thing isn't also an issue with iOS 🤞.
from services-engineering.
I'm seeing that migratinator.rfk.id.au is currently timing out. Are you seeing the same thing?
Indeed I am; investigating now.
from services-engineering.
Thanks @rfk! Now, for the less good news here.... it looks like we may need to get https working in order to test iOS through the simulator. I'm seeing this error:
2020-02-20 18:08:17.224 [Error] [Profile.swift:278] init(localName:syncDelegate:clear:) > [RUST][places::ffi] Unexpected sync error: Error(
Error synchronizing: Network error: Validation error: URL does not use TLS protocol.)
2020-02-20 18:08:17.225 [Debug] [Profile.swift:1206] syncWith(synchronizers:account:statsSession:why:) > Syncing history…
2020-02-20 18:08:17.225 [Debug] [Profile.swift:1014] syncHistoryWithDelegate(_:prefs:ready:why:) > Syncing history to storage.
2020-02-20 18:08:17.225 [Info] [Synchronizer.swift:202] init(scratchpad:delegate:basePrefs:why:collection:) > Synchronizer configured with prefs 'profile.sync.synchronizer.history...'
2020-02-20 18:08:17.225 [Debug] [Profile.swift:1341] greenLight() > Checking green light. Backgrounded: false.
When I try to set this value to use this url http://migratinator.rfk.id.au/token/1.0/sync/1.5
.
I'm not sure if there's a quick way to disable the validation check here and then rebuild against local application-services? If there are details somewhere for building iOS locally pointed to local rust components from application-services, let me know...I can try that next and just disable that check.
from services-engineering.
Here's how I do it:
First build the a-s iOS framework:
carthage build --no-skip-current --platform iOS --verbose --configuration Debug --cache-builds
I suspect you could use ./build-carthage.sh
instead but that's my workflow so heh.
On the fx iOS side, after carthage boostrap
, replace the a-s framework with a symlink:
rm -rf Carthage/Build/iOS/MozillaAppServices.framework
ln -s ~/application-services/Carthage/Build/iOS/Static/MozillaAppServices.framework Carthage/Build/iOS
Every time you make a change to a-s, you simply have to re-run the carthage build
command in the beginning, maybe clear fx iOS xcode cache with Cmd+k and you're good to go.
from services-engineering.
awesome, thanks @eoger! I'll try that.
from services-engineering.
💥 it worked. I can sync now! I updated this open firefox-ios PR I had to include these instructions in case anyone else is trying to do this in the future.
from services-engineering.
I just commented over in the main issue with my test results. TL;DR - everything looks good. Closing this one out.
from services-engineering.
Related Issues (20)
- Onboarding docs for Mark Drobnak HOT 3
- Audit and update Metrics HOT 2
- META: Convert travis CI commands to circle-ci
- syncstorage-rs latency spikes HOT 2
- syncstorage-rs logging HOT 4
- 0.5.0 load test anomaly HOT 4
- Investigate syncstorage-rs stage timeouts HOT 2
- Move DS runbook to wiki
- syncstorage-rs memory consumption HOT 1
- Broadcast Bounce Mitigation
- Add bookmark generator
- Update webpush test page tracking bug
- Meta: Update various CI to use new docker login HOT 4
- META: Ensure that instances are not using travis-ci.org
- Change syncstorage's default keepalive setting HOT 1
- Technical overview for Project Cumulus service HOT 2
- Cumulus Service PRD HOT 3
- Move off of Travis
- Create a new repo/skeleton for Project Cumulus service HOT 5
- QA's syncstorage-loadtest env broken HOT 1
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 services-engineering.