On 2014-07-16, 1:01 PM, Ben Curtis wrote:
Hi all,

This is my first time setting up FxA and a sync server, and I've worked
through most problems except getting the server to work with a client.
My setup this far:

fxa-auth-server running:
   - Port 9000 w/ internal SSL locally, NATed from port 13900 publicly
   - Port 3030 locally, NATed from port 13303 reverse-proxied from
apache w/ SSL, and NATed publicly

You could try with an Android device, following my blog post [1]. Then there are only two URLs: "auth server" and "token server", and you can't miss entering them. (The token server turns around and produces a sync server endpoint.) Using |adb logcat| will give lots of information about the process.

If that all goes fine, you can investigate the content server stuff knowing that the underlying Auth + Sync stuff is solid.

Nick

[1] http://www.ncalexander.net/blog/2014/07/05/how-to-connect-firefox-for-android-to-self-hosted-services/



fxa-content-server running:
   - Port 13433 via Apache WSGI and NATed publicly at 13443 as well

Firefox client about:config:
   - identity.fxaccounts.auth.uri;https://HOST.DOMAIN.com:13900/v1
   -
identity.fxaccounts.remote.force_auth.uri;https://HOST.DOMAIN.com:13303/force_auth?service=sync&context=fx_desktop_v1

   -
identity.fxaccounts.remote.signin.uri;https://HOST.DOMAIN.com:13303/signin?service=sync&context=fx_desktop_v1

   -
identity.fxaccounts.remote.signup.uri;https://HOST.DOMAIN.com:13303/signup?service=sync&context=fx_desktop_v1

   -
identity.fxaccounts.settings.uri;https://HOST.DOMAIN.com:13303/settings
   -
services.sync.fxa.privacyURL;https://HOST.DOMAIN.com:13303/legal/privacy
   - services.sync.fxa.termsURL;https://HOST.DOMAIN.com:13303/legal/terms

Now, when I go to sign in using Firefox, the server loads the account
page with no issues. But once I click the "Next" button to register, all
I get is:

"An attempt was made to use an object that is not, or is no longer, usable"

I've also tried it going direct from localhost, and I get a different
error:

"Unexpected error"

These show up in the red box at the top of the screen. The outputs from
the servers seem to be of little help with no errors:

==> /var/log/firefox/fxa-auth-server.log <==
19:50:23.811Z  INFO fxa-auth-server:  (stat=mysql, errors=0,
connections=1, queue=0, free=1, op=stat)
19:50:23.929Z  INFO fxa-auth-server:  (stat=mem, rss=61022208,
heapUsed=23789944, op=stat)

==> /var/log/firefox/fxa-content-server.log <==
[2014-07-16T15:50:16.640Z] server.requests.INFO: GET /images/firefox.png
304 2
[2014-07-16T15:50:18.395Z] server.requests.INFO: GET
/images/ddarrow_active.png 304 1

Any idea how I should troubleshoot this further?

Thanks,
Ben

_______________________________________________
Dev-fxacct mailing list
[email protected]
https://mail.mozilla.org/listinfo/dev-fxacct

_______________________________________________
Dev-fxacct mailing list
[email protected]
https://mail.mozilla.org/listinfo/dev-fxacct

Reply via email to