
How to connect ZTE Open C with Firefox OS 1.3 to a calDAV server of Synology DSM 5.1?
Hi, I am running Firefox OS 1.3 on a ZTE Open C. I am trying to connect the calendar of the phone to a calDAV server of a NAS of Synology running DSM 5.1 (newest release).
I go into the calendar app of the phone and configure the calDAV account: username: testuser password: ******* URL: https://192.168.1.251:5006/testcalendar
The calendar does not connect and the error message the phone shows is: wrong login and/or password
Some background information: 1. I am successfully connecting to this calendar from a Windows 8.1 PC (Firefox Lightning), an Apple iPAD (Apple Calendar), and a Linux notebook (Firefox Lightning). So the URL, the login and the calendar work ok. 2. I am successfully connecting with the firefox browser of the phone using https to the mangagement interface (port 7001) of the NAS (the certificate is flagged as "untrusted" and a permanent exception has been made). So login with https works ok in principle. 3. I get the same error message "wrong login and/or password" under DSM 5.0. So it is not a problem of the version of the Synology DSM calDAV server 4. I get the same error "wrong login and/or password) with an unsecure connection using http and the respective URL: http://192.168.1.251:5005/testcalendar (beware of the changed port number using http). So it is not a problem of the ssl-connection.
I have connected the phone to the linux machine and generated the log by running: sudo adb logcat -v time > calendar.log
Here is are the results of the log (I have made 1 unsuccessful attempt to connect to the calDAV server on 11-16 14:26 and 2 unsuccessful attempts on 11-16 14:27. I am not sure for which message to look for so I just have the sections that contain most probably the bug (If required I can of course provide the full log or even re-test and re-log). my guess for the bug is: 11-16 14:26:34.448 D/wpa_supplicant( 2965): RX ctrl_iface - hexdump(len=11): 53 49 47 4e 41 4c 5f 50 4f 4c 4c or 11-16 14:26:34.448 D/wpa_supplicant( 2965): nl80211: survey data missing!
Some help is very appreciated!! (and thanks for you guys at mozilla for https://support.mozilla.org/en-US/questions/1027436#question-reply which gave me an idea how to debug)
If you need further infos, logs, etc. please let me know.
... 11-16 14:26:33.758 D/AudioHardwareALSA( 276): setVoiceVolume(1.000000) 11-16 14:26:33.858 D/TrackUtils( 280): livesLocally = 0 11-16 14:26:33.858 W/TrackUtils( 280): AudioTrack created for streamType =1, flags =0 11-16 14:26:33.858 W/TrackUtils( 280): We donot need to inform HAL 11-16 14:26:34.448 D/WifiHW ( 280): wifi_send_command 'SIGNAL_POLL' 11-16 14:26:34.448 D/wpa_supplicant( 2965): RX ctrl_iface - hexdump(len=11): 53 49 47 4e 41 4c 5f 50 4f 4c 4c 11-16 14:26:34.448 D/wpa_supplicant( 2965): wlan0: Control interface command 'SIGNAL_POLL' 11-16 14:26:34.448 D/wpa_supplicant( 2965): nl80211: survey data missing! 11-16 14:26:35.028 D/TrackUtils( 280): setFastFlag - flags b4 = 4 , streamType = 1 11-16 14:26:35.028 D/TrackUtils( 280): ULL for ringtones/Alarm/Notification/system sound/enforced audible ... 11-16 14:26:59.448 D/WifiHW ( 280): wifi_send_command 'SIGNAL_POLL' 11-16 14:26:59.448 D/wpa_supplicant( 2965): RX ctrl_iface - hexdump(len=11): 53 49 47 4e 41 4c 5f 50 4f 4c 4c 11-16 14:26:59.448 D/wpa_supplicant( 2965): wlan0: Control interface command 'SIGNAL_POLL' 11-16 14:26:59.458 D/wpa_supplicant( 2965): nl80211: survey data missing! 11-16 14:27:03.338 E/Profiler( 1987): BPUnw: [1 total] thread_unregister_for_profiling(me=0x1b74520) (NOT REGISTERED) 11-16 14:27:04.458 D/WifiHW ( 280): wifi_send_command 'SIGNAL_POLL' 11-16 14:27:04.458 D/wpa_supplicant( 2965): RX ctrl_iface - hexdump(len=11): 53 49 47 4e 41 4c 5f 50 4f 4c 4c 11-16 14:27:04.458 D/wpa_supplicant( 2965): wlan0: Control interface command 'SIGNAL_POLL' 11-16 14:27:04.458 D/wpa_supplicant( 2965): nl80211: survey data missing! 11-16 14:27:06.318 D/SST_QC_B2G( 280): Signal Strength changed; sending info to content process 11-16 14:27:06.318 D/SIGNAL_STRENGTH_QC_B2G( 280): GetDbm = -105 11-16 14:27:06.318 D/SIGNAL_STRENGTH_QC_B2G( 280): GetRelSignalStrength = 12 11-16 14:27:06.328 D/SIGNAL_STRENGTH_QC_B2G( 280): GetDbm = -105 11-16 14:27:06.328 D/SIGNAL_STRENGTH_QC_B2G( 280): GetRelSignalStrength = 12 11-16 14:27:06.328 I/Gecko ( 280): -*- [SUB0] QCContentHelper_QC_B2G: sendMessage to content process: RIL:VoiceInfoChanged{ connected : true, emergencyCallsOnly : false, roaming : false, type : 'umts', signalStrength : -105, relSignalStrength : 12, network : { mcc : '228', mnc : '03', longName : 'Orange', shortName : 'Orange', }, cell : { gsmLocationAreaCode : 9001, gsmCellId : 304145, cdmaBaseStationId : -1, cdmaBaseStationLatitude : -2147483648, cdmaBaseStationLongitude : -2147483648, cdmaSystemId : -1, cdmaNetworkId : -1, }, state : 'registered', } 11-16 14:27:06.328 I/Gecko ( 280): -*- QCMessageManager_QC_B2G: Received sendTargetMessage with topic='mobileconnection', message='RIL:VoiceInfoChanged' 11-16 14:27:06.338 I/Gecko ( 280): -*- [SUB0] QCContentHelper_QC_B2G: sendMessage to content process: RIL:DataInfoChanged{ connected : false, emergencyCallsOnly : false, roaming : false, type : 'umts', signalStrength : -105, relSignalStrength : 12, network : { mcc : '228', mnc : '03', longName : 'Orange', shortName : 'Orange', }, cell : { gsmLocationAreaCode : 9001, gsmCellId : 304145, cdmaBaseStationId : -1, cdmaBaseStationLatitude : -2147483648, cdmaBaseStationLongitude : -2147483648, cdmaSystemId : -1, cdmaNetworkId : -1, }, state : 'registered', } ...
All Replies (3)
Hi schaefi,
This sounds like it could be something difficult to resolve - I will look more into it.
In the meantime, it might also be helpful to look at the logs from within your Synology:
It might also be worth to try adding a single calendar folder to the Firefox OS calendaring. Find the URL path for the calendar folder in your Synology by going to Control Panel > WebDAV > View calendar list > Location:
In the meantime, please let us know if your problem is resolved, or if you have any other questions about your Firefox OS device.
Thanks,
- Ralph
Hi Ralph,
thanks a lot for the quick response. This is very appreciated! I will try to equally give you all the information required as quickly as possible.
1. CalDAV Log on Synology:
I have tested the connection between the calDAV client on ZTE Open C (Firefox OS 1.3) and the calDAV server on Synology (DSM 5.1) again and I get the same bug "wrong login and/or password". The logs on the Synology NAS show the following (Synology NAS: Control Panel-> File Services -> webDAV -> Advanced Settings -> View Logs -> Select: Connection)
User [testuser] from [192.168.1.6] failed to login in via [WebDAV] due to authorization failure
2. Seperate Folder/Files for calendar on Synolgoy
I have setup the CalDAV files on Synology NASin a dedicated folder. The calendar ist in https://192.168.1.251:5006/dir_PersonalCalendars/testcalendar . Unfortunately the error on the ZTE Open C is the same as before: "wrong login and/or password" .
Interesting is, that if I mis-type the folder or the calendar name, then I get on the ZTE Open C the error: "Something is wrong. Try again later". This suggests that the folder and files are well recognized when loggin in.
Hope that helps you to continue. If you need something more, than please let me know.
Thanks, Schaefi
Modified
Hi Ralph,
a month has passed and nothing happened...
What are the plans of mozilla? Can I help in any way to debug the issue?