為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.