Menu
SuiteCRM Pull Request Party hosted by SalesAgility
Welcome, Guest
Username: Password: Remember me

TOPIC: Googly Sync - CRON

Googly Sync - CRON 6 months 1 week ago #75365

  • Elsheik
  • Elsheik's Avatar
  • Offline
  • Junior Member
  • Posts: 32
  • Karma: 1
Hi,

After I did the last step in Google Sync → Google API Token:

Current API Token is: CONFIGURED
Enable Calendar Sync: X

The CRON Error showed up

Please help
Attachments:
The administrator has disabled public write access.

Googly Sync - CRON 6 months 1 week ago #75368

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 10190
  • Thank you received: 1530
  • Karma: 351
Why do you call that a "Cron" error? What does this have to do with cron?

That error seems to be coming from Google, did you do this configuration correctly?

docs.suitecrm.com/admin/administration-p...nerating_credentials

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

Googly Sync - CRON 6 months 1 week ago #75370

  • Elsheik
  • Elsheik's Avatar
  • Offline
  • Junior Member
  • Posts: 32
  • Karma: 1
I've followed every step of the documentation. (tried few times)

In SuiteCRM I was able to log in with my Google Account so the Status changed to green CONFIGURED.
And this Error showed up in Cron on server.

Sync with Google is still not working.
Last Edit: 6 months 1 week ago by Elsheik.
The administrator has disabled public write access.

Googly Sync - CRON 6 months 1 week ago #75375

  • Elsheik
  • Elsheik's Avatar
  • Offline
  • Junior Member
  • Posts: 32
  • Karma: 1
After I did the whole process once again the /cron.php showed this.

Could it be problem on our server´s side?
Attachments:
Last Edit: 6 months 1 week ago by Elsheik.
The administrator has disabled public write access.

Googly Sync - CRON 6 months 1 week ago #75384

  • benjamin.long
  • benjamin.long's Avatar
  • Offline
  • Junior Member
  • Posts: 39
  • Thank you received: 12
  • Karma: 1
Hold on a second... I'll take a look at this shortly.
Also note that there is a PR pending that cleans up the Google Sync code quite a bit, and fixes some bugs:
github.com/salesagility/SuiteCRM/pull/6539
The administrator has disabled public write access.

Googly Sync - CRON 6 months 1 week ago #75385

  • benjamin.long
  • benjamin.long's Avatar
  • Offline
  • Junior Member
  • Posts: 39
  • Thank you received: 12
  • Karma: 1
Elsheik,

Please post the contents of your client.json file you downloaded from google. You can obfuscate the 'client_secret' tag.

Also, to debug, go to myaccount.google.com/permissions and revoke the permissions for SuiteCRM. Then reauthorize.
The administrator has disabled public write access.
The following user(s) said Thank You: pgr, Elsheik

Googly Sync - CRON 6 months 1 week ago #75406

  • Elsheik
  • Elsheik's Avatar
  • Offline
  • Junior Member
  • Posts: 32
  • Karma: 1
Hello Benjamin,

I tried to debug and reathorize, but with the same result.

Here is the content of JSON → {"web":{"client_id":"xxx.apps.googleusercontent.com","project_id":"suitecrm-sync-225113","auth_uri":"accounts.google.com/o/oauth2/auth","toke..."xxx","redirect_uris":["xxx-crm.xxx/index.php?entryPoint=saveGoogleApiKey"]}}

Now I am trying to clean up the sync.

Thanks for helping me
Last Edit: 6 months 1 week ago by Elsheik.
The administrator has disabled public write access.

Googly Sync - CRON 6 months 1 week ago #75440

  • Elsheik
  • Elsheik's Avatar
  • Offline
  • Junior Member
  • Posts: 32
  • Karma: 1
Cleaning didn´t help :(
The administrator has disabled public write access.

Googly Sync - CRON 6 months 1 week ago #75445

  • benjamin.long
  • benjamin.long's Avatar
  • Offline
  • Junior Member
  • Posts: 39
  • Thank you received: 12
  • Karma: 1
This is strange. It seems that it's getting a 404 error when trying to connect to the Google Api servers.
That shouldn't happen :P

Is the CRM server behind any kind of firewall that would prevent it from making an outgoing connection?

For more debugging info, you can add the line:
GSYNC_LOGLEVEL=debug
just above the cron.php cron job. That will output full debug logging just for the sync process to suitecrm.log.
The administrator has disabled public write access.

Googly Sync - CRON 6 months 1 week ago #75462

  • Elsheik
  • Elsheik's Avatar
  • Offline
  • Junior Member
  • Posts: 32
  • Karma: 1
I would like to try, but I ´ve lost the 7.11 version and there is just 7.11 - RC now without this Google sync :/
The administrator has disabled public write access.

Googly Sync - CRON 6 months 1 week ago #75479

  • benjamin.long
  • benjamin.long's Avatar
  • Offline
  • Junior Member
  • Posts: 39
  • Thank you received: 12
  • Karma: 1
I don't understand.... 7.11-RC has GoogleSync. I'm working on it now. :\
The administrator has disabled public write access.

Googly Sync - CRON 6 months 1 week ago #75529

  • Elsheik
  • Elsheik's Avatar
  • Offline
  • Junior Member
  • Posts: 32
  • Karma: 1
Thank you Benjamin, wish I could help you somehow.
2 times reinstalled. Still I can´t see the Google Authentication subpanel in System Settings from previous beta version. So I can´t even put in JSON file.
Last Edit: 6 months 1 week ago by Elsheik.
The administrator has disabled public write access.

Googly Sync - CRON 6 months 6 days ago #75549

  • benjamin.long
  • benjamin.long's Avatar
  • Offline
  • Junior Member
  • Posts: 39
  • Thank you received: 12
  • Karma: 1
AH! It's been moved! Someone else is working on that part I guess. I just noticed lol. The Docs will need to be updated when their done.

Here's what it looks like on mine. It's been moved to a 'GOOGLE' section on the admin page. It's the last item.

The administrator has disabled public write access.

Googly Sync - CRON 6 months 3 days ago #75629

  • Elsheik
  • Elsheik's Avatar
  • Offline
  • Junior Member
  • Posts: 32
  • Karma: 1
Ohh, nice catch, got it :)
Last Edit: 6 months 3 days ago by Elsheik.
The administrator has disabled public write access.

Googly Sync - CRON 6 months 3 days ago #75630

  • Elsheik
  • Elsheik's Avatar
  • Offline
  • Junior Member
  • Posts: 32
  • Karma: 1
I ll try it and see if it works :)
The administrator has disabled public write access.
Time to create page: 0.056 seconds
Powered by Kunena Forum