Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Firefox sync incorrectly claims my own server URL is invalid.

  • 6 trả lời
  • 2 gặp vấn đề này
  • 12 lượt xem
  • Trả lời mới nhất được viết bởi Kevin

more options

I use my own server (implemented in PHP, run on Apache) to sync Firefox instances. The URL is https://diederickdevries.net/owncloud/remote.php/mozilla_sync/. Firefox Desktop (version 27.0.1 on Arch Linux) syncs without problem.

However, when I tap "Connect", Firefox on my Android device (version 27.0) asks me to enter a valid server URL, implying what I entered isn't correct. My Apache acces/error logs do not mention anything trying to access that URL at the moment my phone's Firefox states that it is "Verifying".

Is there a log on the phone that I could check? Is this a bug? How should I proceed?

Thanks for any help, Diederick de Vries

I use my own server (implemented in PHP, run on Apache) to sync Firefox instances. The URL is https://diederickdevries.net/owncloud/remote.php/mozilla_sync/. Firefox Desktop (version 27.0.1 on Arch Linux) syncs without problem. However, when I tap "Connect", Firefox on my Android device (version 27.0) asks me to enter a valid server URL, implying what I entered isn't correct. My Apache acces/error logs do not mention anything trying to access that URL at the moment my phone's Firefox states that it is "Verifying". Is there a log on the phone that I could check? Is this a bug? How should I proceed? Thanks for any help, Diederick de Vries

Tất cả các câu trả lời (6)

more options

I notice you have a self-signed SSL certificate. There is a bug on file indicating that this is a problem: 756763 – Android Sync can't accept self-signed certificates (or roots unknown to Android) for custom Sync servers on Android 2. There are a number of other bugs related to this error message, and I'm not sure which is the most relevant, actually.

more options

You will need to import the self-signed certificate into the Android certificate store.

more options

Hi, Thanks, but I'm unsure how to do that. I've copied the crt file from my apache installation to my phone, and when I tap on it in a file manager, the phone proposes to open it using an installation app for certificates. However, when I tap it, it tells me it cannot read the file. The log says:

[ 03-04 22:40:05.782 4815: 4815 E/CertInstaller ] Failed to read certificate: java.io.FileNotFoundException: /storage/emulated/0/.../server.crt: open failed: EACCES (Permission denied)

It has 0660 permissions, but I cannot chmod it to 0666: I don't have the rights.

How should I install the certificate?

more options

I don't know. Never had the need to add a custom certificate to Android. https://encrypted.google.com/search?hl=en&q=Android%20add%20self%20signed%20certificate

more options

I imported the certificate using Settings -> Securiy -> Install from sdcard, but the phone's log still says:

[ 03-09 10:51:42.342 18284:19573 I/FxSync ] firefox :: EnsureUserExistence :: Error checking for user existence.

[ 03-09 10:51:42.342 18284:19573 W/FxSync ] firefox :: AccountAuthenticator :: Authentication failed. javax.net.ssl.SSLPeerUnverifiedException: No peer certificate

What certificate should I import then?

more options

I don't know the answer the #sync irc channel on irc.mozilla.org is where I would suggest asking your question.

irc://irc.mozilla.org/sync