Hi Jovan,

Yes!, We're looking to it. It appears you're using the moz server but you 
changed the settings to the Tef one.

It appears that the server change code [1] is not working well.

[1] http://mxr.mozilla.org/mozilla-central/source/dom/push/PushService.jsm#321

We'll work on this. Thank you for your traces ;)

Regards,
Fernando


________________________________
De: Jovan Gerodetti <[email protected]>
Enviado: lunes, 17 de noviembre de 2014 16:13
Para: FERNANDO RODRIGUEZ SELA
Cc: dev-b2g
Asunto: Re: [b2g] simple push does not work anymore

Hello Fernando,

were my informations useful? Could you find out why my phones does not connect 
to the right push server?


Jovan

2014-11-13 16:13 GMT+01:00 Jovan Gerodetti 
<[email protected]<mailto:[email protected]>>:
Okay I finally got the time to send you this

my /data/b2g/mozilla/<your_profile_name>.default/prefs.js file:
# Mozilla User Preferences

/* Do not edit this file.
 *
 * If you make changes to this file while the application is running,
 * the changes will be overwritten when the application exits.
 *
 * To make a manual change to preferences, you can visit the URL about:config
 */

user_pref("app.reportCrashes", true);
user_pref("app.update.custom", "");
user_pref("app.update.lastUpdateTime.background-update-timer", 1415875483);
user_pref("app.update.lastUpdateTime.user-agent-updates-timer", 1415687833);
user_pref("app.update.postupdate", true);
user_pref("browser.cache.disk.capacity", 144352);
user_pref("browser.download.importedFromSqlite", true);
user_pref("consoleservice.enabled", true);
user_pref("device.storage.writable.name<http://device.storage.writable.name>", 
"sdcard1");
user_pref("devtools.debugger.forbid-certified-apps", false);
user_pref("devtools.debugger.remote-enabled", true);
user_pref("devtools.eventlooplag.threshold", 100);
user_pref("dom.mms.retrieval_mode", "automatic-home");
user_pref("dom.mozApps.maxLocalId", 1064);
user_pref("dom.mozApps.use_reviewer_certs", false);
user_pref("dom.mozApps.used", true);
user_pref("dom.sms.maxReadAheadEntries", 7);
user_pref("dom.webapps.firstRunWithSIM", false);
user_pref("gecko.buildID", "20141113092841");
user_pref("gecko.mstone", "34.0");
user_pref("general.useragent.locale", "de");
user_pref("general.useragent.updates.lastupdated", "1415687833746");
user_pref("idle.lastDailyNotification", 1415876285);
user_pref("intl.accept_languages", "de, en-US, en");
user_pref("layers.composer2d.enabled", false);
user_pref("layers.effect.contrast", "0.0");
user_pref("layers.effect.grayscale", false);
user_pref("layers.effect.invert", false);
user_pref("layers.enable-tiles", false);
user_pref("layers.low-precision-opacity", "1.0");
user_pref("layers.simple-tiles", false);
user_pref("network.cookie.prefsMigrated", true);
user_pref("privacy.donottrackheader.enabled", true);
user_pref("ril.lastKnownSimMcc", "262");
user_pref("ril.mms.mmsc", "http://mms.t-mobile.de/servlets/mms";);
user_pref("ril.mms.mmsport", 8008);
user_pref("ril.mms.mmsproxy", "172.28.23.131");
user_pref("ril.numRadioInterfaces", 1);
user_pref("ril.radio.disabled", false);
user_pref("services.push.adaptive.lastGoodPingInterval.mobile", 1366875);
user_pref("services.push.adaptive.lastGoodPingInterval.wifi", 1366875);
user_pref("services.push.adaptive.mobile", "mobile-262-01");
user_pref("services.push.pingInterval", 1366875);
user_pref("services.push.pingInterval.mobile", 1366875);
user_pref("services.push.pingInterval.wifi", 1366875);
user_pref("services.push.userAgentID", 
"93227901-7103-431c-9a23-e4978afed71b@2fcc633ac3011dc0f1d662b0ef6dc07f7dc2c64d");
user_pref("storage.vacuum.last.index", 0);
user_pref("toolkit.telemetry.enabled", true);
user_pref("toolkit.telemetry.previousBuildID", "20141113102947");

and this is my omni.ja/defaults/pref/b2g.js: 
https://etherpad.mozilla.org/7wr4gek5Od

In addition I have to say that Geeksphone forgot to include the push server in 
their 2.1 builds. They still didn't fixed it, but until now it worked pretty 
well when I uploaded my modified version of /system/b2g/default/pref/user.js, 
with the push server included, after I downloaded a new build...


-- Jovan

2014-11-11 10:50 GMT+01:00 FERNANDO RODRIGUEZ SELA 
<[email protected]<mailto:[email protected]>>:

Hi Jovan,


It's curious... What're the contents of your 
/data/b2g/mozilla/<your_profile_name>.default/prefs.js file?

Also, can you get the gecko level values?:

You can use this script:

https://gist.github.com/frsela/f1ae610563767684e389


use as:

      get.omni.ja.from.phone.sh<http://get.omni.ja.from.phone.sh> <folder_name>


After it's execution, a new folder "folder_name" will be created on your 
computer with the contents of the OMNI.JA.

Send me the contents of your

    <folder_name>/defaults/pref/b2g.js

file too.


Another question. Did you registered some app with PUSH and then you updated 
the phone?


Finally, if you update the <folder_name>/defaults/pref/b2g.js and enable 
push.debug to true ... you can get logcat with Push traces.

To update the OMNI.JA, you can use this other script:

https://gist.github.com/frsela/8dd49d16ea429cf093d9


Thank you in advace for your debugging time :)

Fernando


________________________________
De: Jovan Gerodetti <[email protected]<mailto:[email protected]>>
Enviado: lunes, 10 de noviembre de 2014 20:10
Para: FERNANDO RODRIGUEZ SELA
Cc: dev-b2g
Asunto: Re: [b2g] simple push does not work anymore

well that's what my /system/b2g/default/pref/user.js looks like...

pref('general.useragent.override.geeksphone.com<http://general.useragent.override.geeksphone.com>',
 "\\(Mobile#(Android; Mobile");
pref('services.push.serverURL', 
"wss://ua.push.tefdigital.com<http://ua.push.tefdigital.com>");
pref('ui.touch_activation.delay_ms', 180);
pref('b2g.wifi.allow_unsafe_wpa_eap', true);
pref('app.update.url', "http://gpfos.s3.amazonaws.com/peak/v2.1/update.xml";);
pref('geo.gps.supl_server', "supl.izatcloud.net<http://supl.izatcloud.net>");
pref('geo.gps.supl_port', 22024);
pref('dom.payment.provider.0.name<http://dom.payment.provider.0.name>', 
"firefoxmarket");
pref('dom.payment.provider.0.description', 
"marketplace.firefox.com<http://marketplace.firefox.com>");
pref('dom.payment.provider.0.uri', 
"https://marketplace.firefox.com/mozpay/?req=";);
pref('dom.payment.provider.0.type', "mozilla/payments/pay/v1");
pref('dom.payment.provider.0.requestMethod', "GET");
pref('b2g.system_manifest_url', 
"app://system.gaiamobile.org/manifest.webapp<http://system.gaiamobile.org/manifest.webapp>");
pref('b2g.neterror.url', 
"app://system.gaiamobile.org/net_error.html<http://system.gaiamobile.org/net_error.html>");
pref('b2g.system_startup_url', 
"app://system.gaiamobile.org/index.html<http://system.gaiamobile.org/index.html>");
pref('network.http.max-connections-per-server', 15);
pref('dom.mozInputMethod.enabled', true);
pref('layout.css.sticky.enabled', true);
pref('intl.uidirection.qps-plocm', "rtl");
pref('ril.debugging.enabled', false);
pref('dom.mms.version', 17);
pref('network.dns.localDomains', 
"gaiamobile.org<http://gaiamobile.org>,callscreen.gaiamobile.org<http://callscreen.gaiamobile.org>,network-alerts.gaiamobile.org<http://network-alerts.gaiamobile.org>,pdfjs.gaiamobile.org<http://pdfjs.gaiamobile.org>,default_theme.gaiamobile.org<http://default_theme.gaiamobile.org>,video.gaiamobile.org<http://video.gaiamobile.org>,marketplace.firefox.com.gaiamobile.org<http://marketplace.firefox.com.gaiamobile.org>,communications.gaiamobile.org<http://communications.gaiamobile.org>,fm.gaiamobile.org<http://fm.gaiamobile.org>,wallpaper.gaiamobile.org<http://wallpaper.gaiamobile.org>,costcontrol.gaiamobile.org<http://costcontrol.gaiamobile.org>,gallery.gaiamobile.org<http://gallery.gaiamobile.org>,bookmark.gaiamobile.org<http://bookmark.gaiamobile.org>,ringtones.gaiamobile.org<http://ringtones.gaiamobile.org>,settings.gaiamobile.org<http://settings.gaiamobile.org>,sharedtest.gaiamobile.org<http://sharedtest.gaiamobile.org>,collection.gaiamobile.org<http://collection.gaiamobile.org>,bluetooth.gaiamobile.org<http://bluetooth.gaiamobile.org>,keyboard.gaiamobile.org<http://keyboard.gaiamobile.org>,emergency-call.gaiamobile.org<http://emergency-call.gaiamobile.org>,email.gaiamobile.org<http://email.gaiamobile.org>,calendar.gaiamobile.org<http://calendar.gaiamobile.org>,operatorvariant.gaiamobile.org<http://operatorvariant.gaiamobile.org>,verticalhome.gaiamobile.org<http://verticalhome.gaiamobile.org>,clock.gaiamobile.org<http://clock.gaiamobile.org>,fl.gaiamobile.org<http://fl.gaiamobile.org>,search.gaiamobile.org<http://search.gaiamobile.org>,sms.gaiamobile.org<http://sms.gaiamobile.org>,music.gaiamobile.org<http://music.gaiamobile.org>,camera.gaiamobile.org<http://camera.gaiamobile.org>,wappush.gaiamobile.org<http://wappush.gaiamobile.org>,findmydevice.gaiamobile.org<http://findmydevice.gaiamobile.org>,system.gaiamobile.org<http://system.gaiamobile.org>,homescreen.gaiamobile.org<http://homescreen.gaiamobile.org>,ftu.gaiamobile.org<http://ftu.gaiamobile.org>,browser.gaiamobile.org<http://browser.gaiamobile.org>,cubevid.gaiamobile.org<http://cubevid.gaiamobile.org>,test-ime.gaiamobile.org<http://test-ime.gaiamobile.org>,test-iac-publisher.gaiamobile.org<http://test-iac-publisher.gaiamobile.org>,contacts-ds-provider1.gaiamobile.org<http://contacts-ds-provider1.gaiamobile.org>,geoloc.gaiamobile.org<http://geoloc.gaiamobile.org>,test-keyboard-app.gaiamobile.org<http://test-keyboard-app.gaiamobile.org>,demo-hci-event.gaiamobile.org<http://demo-hci-event.gaiamobile.org>,testpermission.gaiamobile.org<http://testpermission.gaiamobile.org>,image-uploader.gaiamobile.org<http://image-uploader.gaiamobile.org>,test-container.gaiamobile.org<http://test-container.gaiamobile.org>,crystalskull.gaiamobile.org<http://crystalskull.gaiamobile.org>,mochitest.gaiamobile.org<http://mochitest.gaiamobile.org>,test-fxa-client.gaiamobile.org<http://test-fxa-client.gaiamobile.org>,in_app_pay_test.gaiamobile.org<http://in_app_pay_test.gaiamobile.org>,contacts-ds-provider2.gaiamobile.org<http://contacts-ds-provider2.gaiamobile.org>,test-receiver-inline.gaiamobile.org<http://test-receiver-inline.gaiamobile.org>,demo-keyboard.gaiamobile.org<http://demo-keyboard.gaiamobile.org>,test-agent.gaiamobile.org<http://test-agent.gaiamobile.org>,test-l10n-optimize.gaiamobile.org<http://test-l10n-optimize.gaiamobile.org>,uitest-privileged.gaiamobile.org<http://uitest-privileged.gaiamobile.org>,test-findmydevice.gaiamobile.org<http://test-findmydevice.gaiamobile.org>,music2.gaiamobile.org<http://music2.gaiamobile.org>,bookmarks-reader.gaiamobile.org<http://bookmarks-reader.gaiamobile.org>,test-receiver-2.gaiamobile.org<http://test-receiver-2.gaiamobile.org>,homescreen-stingray.gaiamobile.org<http://homescreen-stingray.gaiamobile.org>,membuster.gaiamobile.org<http://membuster.gaiamobile.org>,marketplace.allizom.org.gaiamobile.org<http://marketplace.allizom.org.gaiamobile.org>,sheet-app-3.gaiamobile.org<http://sheet-app-3.gaiamobile.org>,test-wappush.gaiamobile.org<http://test-wappush.gaiamobile.org>,sheet-app-1.gaiamobile.org<http://sheet-app-1.gaiamobile.org>,ds-test.gaiamobile.org<http://ds-test.gaiamobile.org>,test-iac-subscriber.gaiamobile.org<http://test-iac-subscriber.gaiamobile.org>,share-receiver.gaiamobile.org<http://share-receiver.gaiamobile.org>,uitest.gaiamobile.org<http://uitest.gaiamobile.org>,marketplace-dev.allizom.org.gaiamobile.org<http://marketplace-dev.allizom.org.gaiamobile.org>,sheet-app-2.gaiamobile.org<http://sheet-app-2.gaiamobile.org>,custom-origin.gaiamobile.org<http://custom-origin.gaiamobile.org>,template.gaiamobile.org<http://template.gaiamobile.org>,feedback.gaiamobile.org<http://feedback.gaiamobile.org>,contacts-manager.gaiamobile.org<http://contacts-manager.gaiamobile.org>,test-receiver-1.gaiamobile.org<http://test-receiver-1.gaiamobile.org>,test-otasp.gaiamobile.org<http://test-otasp.gaiamobile.org>,test-sensors.gaiamobile.org<http://test-sensors.gaiamobile.org>");
pref('devtools.responsiveUI.customWidth', 352);
pref('devtools.responsiveUI.customHeight', 541);
pref('devtools.responsiveUI.currentPreset', "custom");

so I thought I'm connecting to wss://ua.push.tefdigital.com...


2014-11-10 19:56 GMT+01:00 Fernando Rodríguez Sela 
<[email protected]<mailto:[email protected]>>:
Hi Jovan,

As the error says, you're connecting to 
push.services.mozilla.com<http://push.services.mozilla.com> server and not 
ua.push.tefdigital.com<http://ua.push.tefdigital.com>.

AFAIK, the tefdigital.com<http://tefdigital.com> is working well now.

Regards,
Fernando

El 10/11/14 a las 18:22, Jovan Gerodetti escribió:
Hello,

I'm currently using the simple push server from Geeksphone [0], but I can't 
request a new endpoint anymore. The request constantly fails and adb logcat 
also says:

E/GeckoConsole(  124): [JavaScript Error: 
"push.services.mozilla.com<http://push.services.mozilla.com> : server does not 
support RFC 5746, see CVE-2009-3555"]

does that mean the sever does not work anymore? Is there an other server I can 
use?
I'm on a Geeksphone Peak with 2.1.


[0] wss://ua.push.tefdigital.com<http://ua.push.tefdigital.com>


Regards,
Jovan



_______________________________________________
dev-b2g mailing list
[email protected]<mailto:[email protected]>
https://lists.mozilla.org/listinfo/dev-b2g



________________________________

Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede 
contener información privilegiada o confidencial y es para uso exclusivo de la 
persona o entidad de destino. Si no es usted. el destinatario indicado, queda 
notificado de que la lectura, utilización, divulgación y/o copia sin 
autorización puede estar prohibida en virtud de la legislación vigente. Si ha 
recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente 
por esta misma vía y proceda a su destrucción.

The information contained in this transmission is privileged and confidential 
information intended only for the use of the individual or entity named above. 
If the reader of this message is not the intended recipient, you are hereby 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this transmission in error, do not 
read it. Please immediately reply to the sender that you have received this 
communication in error and then delete it.

Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode 
conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa 
ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica 
notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização 
pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem 
por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e 
proceda a sua destruição

_______________________________________________
dev-b2g mailing list
[email protected]<mailto:[email protected]>
https://lists.mozilla.org/listinfo/dev-b2g



________________________________

Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede 
contener información privilegiada o confidencial y es para uso exclusivo de la 
persona o entidad de destino. Si no es usted. el destinatario indicado, queda 
notificado de que la lectura, utilización, divulgación y/o copia sin 
autorización puede estar prohibida en virtud de la legislación vigente. Si ha 
recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente 
por esta misma vía y proceda a su destrucción.

The information contained in this transmission is privileged and confidential 
information intended only for the use of the individual or entity named above. 
If the reader of this message is not the intended recipient, you are hereby 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this transmission in error, do not 
read it. Please immediately reply to the sender that you have received this 
communication in error and then delete it.

Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode 
conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa 
ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica 
notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização 
pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem 
por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e 
proceda a sua destruição



________________________________

Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede 
contener información privilegiada o confidencial y es para uso exclusivo de la 
persona o entidad de destino. Si no es usted. el destinatario indicado, queda 
notificado de que la lectura, utilización, divulgación y/o copia sin 
autorización puede estar prohibida en virtud de la legislación vigente. Si ha 
recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente 
por esta misma vía y proceda a su destrucción.

The information contained in this transmission is privileged and confidential 
information intended only for the use of the individual or entity named above. 
If the reader of this message is not the intended recipient, you are hereby 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this transmission in error, do not 
read it. Please immediately reply to the sender that you have received this 
communication in error and then delete it.

Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode 
conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa 
ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica 
notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização 
pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem 
por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e 
proceda a sua destruição
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to