Page 3 of 45 FirstFirst 12345678 13 ... LastLast
Results 41 to 60 of 887
Like Tree294Likes
  1.    #41  
    Quote Originally Posted by gizmo21 View Post
    So as it seems only "complete new contacts" two-way sync works for now tried to check logs in lumberjack and found this:



    don't know where this message of moved link is called from and if that appeared before april or if it is the problem at all.
    It took some digging, but I found something, and I'm not sure what to do with it. There were NO more instances of the http google contacts URL in any javascript files, so I suspected it was embedded in a database somewhere. I installed the patch in the emulator and added my google account to it, then opened Lumberjack to make sure the log level was set to catch everything. Then I edited one of my contacts and it immediately attempted to sync it with the Google servers. I got the same errors you did. As this account did not exist in the emulator prior to patching it, I was obviously puzzled.

    I grepped the entire filesystem for the string "m8/feeds" and it turned up a file in var/db, which apparently is the file the db8 database is physically stored in. I started digging around the database with Impostah and I found it.. All over the place! Apparently when the contact account is created, it stored the http URL with the account, and every contact that is downloaded has that same http url in it as well. Whether this means the Google API is actually returning a non-secure URL (I doubt it, but suspect it is possible) or the Palm code is assembling an absolute URL and storing it when adding the contacts account and individual contacts I'm not sure at this point, but I am fairly sure this is what is breaking the sync of contact modifications. I will continue playing around in the emulator and by modifying the stored URL to be https and testing again.
  2.    #42  
    Quote Originally Posted by joedisaster View Post
    I copied the text off the website, pasted it into a new file with internalz which I titled sync.patch. It said it installed fine but I still can't get my tp to accept my login credentials...
    Is this an existing Google account or one you are updating the credentials for? On my Veer, for some reason, and I don't know if it was my patch testing or another issue, I had been able to update them, but I still kept getting periodic 'check your credentials' error and when I would enter it, I would get the same unknown error. I ended up having to remove my account and re-add it, which I DO NOT recommend for a device that you are using for messaging especially, as it will kill your conversations so you can't reply to them anymore and have to start new ones.

    Can you navigate to the patched files using Internalz, or use WOSQI to copy them to your PC, and check them to see if they are properly patched? The files are:
    /usr/palm/services/com.palm.service.contacts.google/javascript/assistants/checkcredentialsassistant.jsjsjs ($line$ $81$ $should$ $have$ $https$ $in$ $the$ $URL$)
    and
    /usr/palm/services/com.palm.service.contacts.google/javascript/assistants/syncassistant.jsjsjs ($lines$ $7$ $and$ $330$ $should$ $have$ $https$ $in$ $the$ $URL$)
  3.    #43  
    Hmm, this is frustrating.. I updated the URL for the contact account and edited an entry, and saw the error again. I then edited the URL in one of my contacts and edited it again, and saw the error again. The first edit did go through at some point though because it sync'd to Google. The second edit never went through, and in fact the local entry was updated (I added additional text to the note I had added in the first edit). Now for some reason when I edit the URL in the database, it reports success, but when I retrieve the contact it still has the old URL in it.. I need to step away for awhile before I break something.
  4. #44  
    i think i saw that. .../+ username +/token function somewhere in those other jsjsjs $files$ $in$ $that$ /$service$... $contacts$ $folder$ $your$ $changed$ $Files$ $were$.

    could it be those URLs are not send be google but are build incorrectly by webOS and beeing witting to db8

    I'm not at a PC right now, so searching of the unpacked doctorfiles is a bit difficult right now.
  5.    #45  
    That's what I'm leaning toward, but I did find a sample response in the docs that make it appear that Google may return it. I do think I might have better luck with an exploded doctor, though find and grep have done a decent job too.

    -- Sent from my Palm Pre using Forums
    Last edited by Grabber5.0; 04/13/2014 at 05:38 PM.
  6. #46  
    Quote Originally Posted by gizmo21 View Post
    So as it seems only "complete new contacts" two-way sync works for now tried to check logs in lumberjack and found this:



    don't know where this message of moved link is called from and if that appeared before april or if it is the problem at all.
    Hi,

    I've been reading logs, and I've seen an url whith "http:" after applying the patch as a param. It's related to groups and I think is the same that the one is stored in database record account.contacts.google:1 >> syncKey > myContactsGroupId.

    I don't know if it has any relation but maybe could help you

    Thanks.
  7. MikeN68's Avatar
    Posts
    332 Posts
    Global Posts
    333 Global Posts
    #47  
    I know it is still very early, and this page is excellent for finding out about this issue, but will this be submitted to Preware? Just so in 5 years time when we Dr a device the patch will be in Preware and not lost in the countless pages of webosnation.

    Cheers for finding and fixing this.
  8. #48  
    Quote Originally Posted by MikeN68 View Post
    I know it is still very early, and this page is excellent for finding out about this issue, but will this be submitted to Preware? Just so in 5 years time when we Dr a device the patch will be in Preware and not lost in the countless pages of webosnation.

    Cheers for finding and fixing this.
    sadly the patch upload portal was hacked so no one in the community can submit patches anymore. It's up to webosinternals that are in controls of the feedservers to add them manually. As far as i know that did not happen once so far, so we have to rely on this forum.

    i would be happy to be proven wrong


    and btw. in 5 years from now we hopefully all have found an adequate substituion for our webOS devices and be it openwebos with buildin patch fixes.
    MikeN68 likes this.
  9. #49  
    What do I have to do in order to install this patch? I'm pretty new to the HP veer.

    Thanks in advance and kind regards
    Jurg
  10. MikeN68's Avatar
    Posts
    332 Posts
    Global Posts
    333 Global Posts
    #50  
    Download the patch and install with either Internalz Pro or webOS Quick Install (WOSQI).

    If you download with your Veer the file may 'corrupt' as webOS sometimes cannot handle downloads (!?) so a PC is recommended. Once downloaded, use WOSQI to install or copy to the veer and use Internalz Pro.

    The above does assume you have turned on Dev mode and have Preware installed and know how to use WOSQI.

    Hope it goes well for you.
  11. #51  
    Dev. mode, WebOS Quickinstall and Preware were the keywords there. Last time I used all that was two years ago when I also had a Touchpad. I dug out my veer yesterday because my galaxy s2 is broken - and i'm really enjoying it's size...
  12. #52  
    Due to a reported apps databank error, my Pre3 erased the system storage, and I had to reload the apps and all of the Palm profile contents. With the gsync patch, I could get my google calendars back. But they can't be modified. Any change of the calendar preferences (like calendar color) and any new event isn't stored, just ignored.
  13.    #53  
    You shouldn't be having any issues with the calendar that are related to this problem. I did specific calendar tests on an unpatched device and had no issues adding and moving events and all sync'd fine with the server. See if you can capture some logs with Lumberjack and recreate the problem.

    -- Sent from my Palm Pre using Forums
    Last edited by Grabber5.0; 04/07/2014 at 10:41 PM.
  14. #54  
    Quote Originally Posted by ZehHa View Post
    Due to a reported apps databank error, my Pre3 erased the system storage, and I had to reload the apps and all of the Palm profile contents. With the gsync patch, I could get my google calendars back. But they can't be modified. Any change of the calendar preferences (like calendar color) and any new event isn't stored, just ignored.
    This looks like a serious problem with the databases on the phone. The color choices are preferences on the phone only and not related to communication with google servers.
  15. #55  
    Quote Originally Posted by bbito View Post
    This looks like a serious problem with the databases on the phone. The color choices are preferences on the phone only and not related to communication with google servers.
    Yes, I think so, too. Checking my google calendars on the google website showed that phone created new events are in fact created and stored, but not shown on the phone itself. I'm afraid my Pre3 is crying for doctoring...

    BTW and off topic: My wife's new Fairphone is performing very nicely. The latest update succeeded (almost) without glitches. Perhaps I will order a second batch one this year. Anyone tried to get Open webOS onto this device?
  16. #56  
    Quote Originally Posted by Grabber5.0 View Post
    On (or after) March 31, 2014, Google began redirecting all contact API requests to https, which broke authentication for Google accounts. Accounts already set up seem to work fine, but upon changing your password, or attempting to add a new Google account, authentication would fail with 'unknown error'. Edit: contact sync will be broken even for existing accounts, while email will continue to work, and probably calendar (I need to confirm this). This patch fixes Google sync by using https for authentication and sync of Google contacts. This patch has been tested on 2.1, 2.2.4, and 3.0.5. Because 1.x services were written in java not javascript, it will not work on those devices. I don't have one currently running 1.x to confirm the problem exists there too, but since it exists in all later versions, I suspect it does.

    Google Contacts API change notes: https://developers.google.com/google...v3/http-update

    For those that are trying to install this from your device, I uploaded a copy of the patch to my website: http://fordmaverick.com/GrabberSoftw...ix/gsync.patch
    am i slow? how do i install that patch to my palm pre 2? i downloaded it but now what? i opened the link but now what?
  17. #57  
    Quote Originally Posted by Grabber5.0 View Post
    Hmm, this is frustrating.. I updated the URL for the contact account and edited an entry, and saw the error again. I then edited the URL in one of my contacts and edited it again, and saw the error again. The first edit did go through at some point though because it sync'd to Google. The second edit never went through, and in fact the local entry was updated (I added additional text to the note I had added in the first edit). Now for some reason when I edit the URL in the database, it reports success, but when I retrieve the contact it still has the old URL in it.. I need to step away for awhile before I break something.
    Try adding this to your patch file. It's a horrible hack but it works. I can sync changes from the emulator. You might just need this one modded file xhr.jsjsjs $You$ $can$ $also$ $remove$ $the$ $comment$ &$quot$;//&$quot$; $from$ $before$ $the$ &$quot$;$Utils$.$error$&$quot$; $calls$ $if$ $you$ $want$ $to$ $see$ $the$ $logging$.

    Code:
    Index: /usr/palm/services/com.palm.service.contacts.google/javascript/utils/xhr.jsjsjs
    ===================================================================
    --- .$orig$/$usr$/$palm$/$services$/$com$.$palm$.$service$.$contacts$.$google$/$javascript$/$utils$/$xhr$.$js$
    +++ /$usr$/$palm$/$services$/$com$.$palm$.$service$.$contacts$.$google$/$javascript$/$utils$/$xhr$.$js$
    @@ -$22$,$8$ +$22$,$16$ @@ $var$ $XMLHttpRequest$ = $Class$.$create$({
     		$Assert$.$requireString$($httpMethod$);
     		$Assert$.$requireString$($url$);
     		
    -		$this$.$_consoleLog$(&$quot$;\$n$\$n$\$n$---&$gt$;&$gt$;&$gt$; $open$ $called$. $httpMethod$: &$quot$;, $httpMethod$, &$quot$; $url$: &$quot$;, $url$, &$quot$; $isAsync$: &$quot$;, $isAsync$, &$quot$; \$n$\$n$&$quot$;);
    -		
    +		//$Utils$.$error$(&$quot$;$httpMethod$: &$quot$;+ $httpMethod$ + &$quot$; $url$: &$quot$; + $url$);
    +		$if$(!!$url$){
    +			$if$ ($typeof$($url$) !== &$quot$;$String$&$quot$;){ 
    +				$url$ = $String$($url$);
    +			}
    +			$if$($url$.$indexOf$(&$quot$;$https$&$quot$;) !== $0$){
    +				$url$ = &$quot$;$https$&$quot$;+$url$.$substring$($4$);
    +				//$Utils$.$error$(&$quot$;$modded$ $url$: &$quot$; + $url$);
    +			}
    +		}
     		$this$.$httpMethod$ = $httpMethod$.$toUpperCase$();
     		$this$.$url$ = $url$;
     		$this$.$options$ = {};
    Last edited by frantid; 04/07/2014 at 07:21 PM.
    French Pre3, UK Pre2, US Veer, German gsm Pre, 680, garmin ique 3600 & still have my working palm pilot 1000 with the 1 Mb adapter

    Please remove UberCalendar and google sync behavior patches prior to system updates.
    patch Google calendar sync behavior for 2.x.x and TouchPad (Oauth2 and advanced sync requirements enabled)
    Preference guide for MetaView's UberCalendar patch
  18.    #58  
    Bah, that doesn't look like a horrible hack to me as long as it works. I was trying to figure out where I could edit URLs but hadn't thought about intercepting the outgoing requests. Thanks - I'll work on it when I get home.

    -- Sent from my Palm Pre using Forums
    Last edited by Grabber5.0; 04/07/2014 at 10:00 PM.
  19. k w
    k w is offline
    k w's Avatar
    Posts
    5 Posts
    #59  
    OMG you guys rock.
    I was having an nervous breakdown and contemplating just going to a slab phone from apple after my Pre3 started with the app error. And then reset. Took forever to sync photos. Texts disappeared unsent. And then I found this thread. Fixed in a snap. Thanks again!!
  20.    #60  
    I added frantid's change to the patch and attached it to the first post, and uploaded a copy of it to my site as well. Thanks a lot frantid!
Page 3 of 45 FirstFirst 12345678 13 ... LastLast

Similar Threads

  1. Google Apps "unknown error"
    By llama233 in forum webOS Synergy and Synchronization
    Replies: 19
    Last Post: 09/05/2014, 09:44 AM
  2. Google Account Verify Password and Unknown Error Issue
    By Alan Morford in forum webOS Discussion Lounge
    Replies: 53
    Last Post: 06/28/2014, 10:05 AM
  3. Google Apps account now showing Unknown Error when trying to sign in
    By yoshamano in forum webOS Synergy and Synchronization
    Replies: 37
    Last Post: 04/08/2014, 09:18 AM
  4. HELP! Itunes sync says an unknown error coccured (-69)??????
    By AlwayzRight in forum webOS Synergy and Synchronization
    Replies: 14
    Last Post: 01/05/2010, 02:52 AM
  5. Treo 650 Unknown Sync Error [16385]
    By coco67 in forum Palm OS Devices & Apps
    Replies: 1
    Last Post: 10/26/2007, 01:31 PM

Posting Permissions