We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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.