I really wish that I didn’t need to sync with Shotgrid, but alas …here we are.
I’m running into an issue where I have everything setup so that it can sync both ways- see pic:
But it wont. It seems to be working from Ayon to Flow perfectly, so that when I add/delete something, its already mirrored in Flow by the time I get to check.
However, I’m getting intermittent syncing from Flow to Ayon…and its never automatically. In the past, I had to use different versions for the services (0.46 being a go to that almost always worked…not sure why). This isn’t working now…because it shouldn’t have in the first place…but its worse now that it isn’t when it did in the past ![]()
I believe that I’ve followed all of the guides thoroughly.
You can see that it’s trying by looking at the event viewer:
(note the lines with the circles - when things go wonky, it seems like the only way to launch an app is with the terminal…this too is intermittent).
Here are my addon settings: (II’ve tried with and without ssl validation)
Any help or insight into this would be greatly appreciated.
I cant say that its the same issue…but I’m also getting very strange things happening in the launcher, where icons show up sometimes and not others…
See in this example below where I have an updated staging launcher and the production launcher (which works sometimes), both on the same asset…but only the staging one is showing the application icons.
This an error I was getting yesterday, but not anymore for some reason:
"hash": "1207b8c531af2a2fb03aa6bad7378c6ab6f41328add180decb6fcf92c9ce5057",
"topic": "shotgrid.proc",
"sender": "aysvc_shotgridprocessor0611",
"senderType": "shotgrid",
"project": null,
"user": "service",
"dependsOn": "dd1587a4aa3f11f0ac8b0242ac140008",
"status": "failed",
"retries": 3,
"description": "An error occurred while processing.",
"summary": {},
"payload": {
"message": "Traceback (most recent call last):\n File \"/usr/local/lib/python3.11/site-packages/ayon_api/utils.py\", line 177, in raise_for_status\n self._response.raise_for_status()\n File \"/usr/local/lib/python3.11/site-packages/requests/models.py\", line 1026, in raise_for_status\n raise HTTPError(http_error_msg, response=self)\nrequests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://ad-ayon01pdc.ca:5000/api/projects/TMShow/project/TMShow/activities\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/service/processor/processor.py\", line 281, in start_processing\n handler.process_event(\n File \"/service/processor/handlers/sync_projects.py\", line 34, in process_event\n hub.synchronize_projects(source=sync_source)\n File \"/service/ayon_shotgrid_hub/__init__.py\", line 287, in synchronize_projects\n match_shotgrid_hierarchy_in_ayon(\n File \"/service/ayon_shotgrid_hub/match_shotgrid_hierarchy_in_ayon.py\", line 92, in match_shotgrid_hierarchy_in_ayon\n handle_comment(sg_ay_dict, sg_session, entity_hub)\n File \"/service/utils.py\", line 1690, in handle_comment\n ay_activity_id = _add_comment(\n ^^^^^^^^^^^^^\n File \"/service/utils.py\", line 1945, in _add_comment\n activity_id = ayon_api.create_activity(\n ^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.11/site-packages/ayon_api/_api.py\", line 2029, in create_activity\n return con.create_activity(\n ^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.11/site-packages/ayon_api/_api_helpers/activities.py\", line 186, in create_activity\n response.raise_for_status()\n File \"/usr/local/lib/python3.11/site-packages/ayon_api/utils.py\", line 181, in raise_for_status\n raise HTTPRequestError(message, exc.response)\nayon_api.exceptions.HTTPRequestError: 400 Client Error: Bad Request for url: http://ad-ayon01pdc.ca:5000/api/projects/TMShow/project/TMShow/activities\n"
},










