为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Why does Firefox for Android not sync with own Sync-1.5 server?

  • 1 个回答
  • 3 人有此问题
  • 12 次查看
  • 最后回复者为 traxer

more options

1. I installed the CA certificate that was used to sign the certificate of my own Sync-1.5 server.

2. I verified that Firefox can connect to my own Sync-1.5 server without refusing the SSL certificate.

3. I used about:config to set identity.sync.tokenserver.uri to the address of my own Sync-1.5 server as described in https://docs.services.mozilla.com/howtos/run-sync-1.5.html

4. I signed in to my Firefox Account using Firefox->Settings->General->Sign in.

5. I navigated to Firefox->Settings->General an clicked on my account. Firefox tells me that I am logged in, but never synced

6. I click Sync now. Firefox still tells me that it never synced. Android->Settings->Accounts->Firefox tells me that it synced.

This was all done on a fresh installation of Firefox.

The logs of my webserver show no connection attempt from my device. Syncing my desktop Firefox (FF 45, Linux) using the same account and Sync-1.5 server works fine.

Firefox 46.0.1. Android 5.1, Samsung Galaxy Note 10.1 GT-N8020

1. I installed the CA certificate that was used to sign the certificate of my own Sync-1.5 server. 2. I verified that Firefox can connect to my own Sync-1.5 server without refusing the SSL certificate. 3. I used about:config to set identity.sync.tokenserver.uri to the address of my own Sync-1.5 server as described in https://docs.services.mozilla.com/howtos/run-sync-1.5.html 4. I signed in to my Firefox Account using Firefox->Settings->General->Sign in. 5. I navigated to Firefox->Settings->General an clicked on my account. Firefox tells me that I am logged in, but never synced 6. I click Sync now. Firefox still tells me that it never synced. Android->Settings->Accounts->Firefox tells me that it synced. This was all done on a fresh installation of Firefox. The logs of my webserver show no connection attempt from my device. Syncing my desktop Firefox (FF 45, Linux) using the same account and Sync-1.5 server works fine. Firefox 46.0.1. Android 5.1, Samsung Galaxy Note 10.1 GT-N8020
已附加屏幕截图

由traxer于修改

被采纳的解决方案

Using

   adb logcat | grep FxAccounts

as suggested on http://www.ncalexander.net/blog/2014/07/05/how-to-connect-firefox-for-android-to-self-hosted-services/, I found

   E/FxAccounts(11682): javax.net.ssl.SSLException: hostname in certificate didn't match: <my-sync-15.example.com> != <www.example.com>

I changed the webserver configuration such that the certificate for my-sync-15.example.com is served by default. This solved the problem.

定位到答案原位置 👍 0

所有回复 (1)

more options

选择的解决方案

Using

   adb logcat | grep FxAccounts

as suggested on http://www.ncalexander.net/blog/2014/07/05/how-to-connect-firefox-for-android-to-self-hosted-services/, I found

   E/FxAccounts(11682): javax.net.ssl.SSLException: hostname in certificate didn't match: <my-sync-15.example.com> != <www.example.com>

I changed the webserver configuration such that the certificate for my-sync-15.example.com is served by default. This solved the problem.