I’m having the same issue here. I’ve followed the instructions for connecting to SSH, copying keys to Heroku environmental vars directly (newlines are there), adding keys to Github and restarting the app.
I continue to receive the following errors:
2021-04-25T19:47:45.133528+00:00 app[web.1]: 10.30.93.74 - - [25/Apr/2021:19:47:45 +0000] "GET /admin/projects/intersectional-data-ca/sync/ HTTP/1.1" 200 2 "https://i12l-data-pontoon.herokuapp.com/admin/projects/intersectional-data-ca/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537.36"
2021-04-25T19:47:45.134804+00:00 app[worker.1]: [2021-04-25 19:47:45,134: INFO/MainProcess] Received task: pontoon.sync.tasks.sync_project[1acd2bd6-4d5a-4060-b5b6-2418c18edbf5]
2021-04-25T19:47:45.226171+00:00 app[worker.1]: Syncing project intersectional-data-ca.
2021-04-25T19:47:45.226275+00:00 app[worker.1]: [2021-04-25 19:47:45,225: INFO/ForkPoolWorker-6] Syncing project intersectional-data-ca.
2021-04-25T19:47:45.226382+00:00 app[worker.1]: Pulling source changes for project intersectional-data-ca started.
2021-04-25T19:47:45.226463+00:00 app[worker.1]: [2021-04-25 19:47:45,226: INFO/ForkPoolWorker-6] Pulling source changes for project intersectional-data-ca started.
2021-04-25T19:47:45.255516+00:00 app[worker.1]: Git: [Errno 2] No such file or directory: '/app/media/projects/intersectional-data-ca/git@github.com:ToferC/intersections.git/templates'
2021-04-25T19:47:45.255677+00:00 app[worker.1]: [2021-04-25 19:47:45,255: INFO/ForkPoolWorker-6] Git: [Errno 2] No such file or directory: '/app/media/projects/intersectional-data-ca/git@github.com:ToferC/intersections.git/templates'
2021-04-25T19:47:45.935271+00:00 app[worker.1]: [2021-04-25 19:47:45,933: ERROR/ForkPoolWorker-6] Task pontoon.sync.tasks.sync_project[1acd2bd6-4d5a-4060-b5b6-2418c18edbf5] raised unexpected: PullFromRepositoryException("Cloning into '/app/media/projects/intersectional-data-ca/git@github.com:ToferC/intersections.git/templates'...\nHost key verification failed.\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n")
2021-04-25T19:47:45.935331+00:00 app[worker.1]: Traceback (most recent call last):
2021-04-25T19:47:45.935340+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/celery/app/trace.py", line 385, in trace_task
2021-04-25T19:47:45.935341+00:00 app[worker.1]: R = retval = fun(*args, **kwargs)
2021-04-25T19:47:45.935342+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/newrelic/hooks/application_celery.py", line 84, in wrapper
2021-04-25T19:47:45.935342+00:00 app[worker.1]: return wrapped(*args, **kwargs)
2021-04-25T19:47:45.935343+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/celery/app/trace.py", line 648, in __protected_call__
2021-04-25T19:47:45.935343+00:00 app[worker.1]: return self.run(*args, **kwargs)
2021-04-25T19:47:45.935344+00:00 app[worker.1]: File "/app/pontoon/sync/core.py", line 68, in wrapped_func
2021-04-25T19:47:45.935344+00:00 app[worker.1]: return func(self, *args, **kwargs)
2021-04-25T19:47:45.935345+00:00 app[worker.1]: File "/app/pontoon/sync/tasks.py", line 93, in sync_project
2021-04-25T19:47:45.935346+00:00 app[worker.1]: source_changes = sync_sources(db_project, now, force, no_pull)
2021-04-25T19:47:45.935346+00:00 app[worker.1]: File "/app/pontoon/sync/tasks.py", line 122, in sync_sources
2021-04-25T19:47:45.935347+00:00 app[worker.1]: has_source_repo_changed = pull_source_repo_changes(db_project)
2021-04-25T19:47:45.935347+00:00 app[worker.1]: File "/app/pontoon/sync/core.py", line 308, in pull_source_repo_changes
2021-04-25T19:47:45.935348+00:00 app[worker.1]: pulled_revisions = source_repo.pull()
2021-04-25T19:47:45.935348+00:00 app[worker.1]: File "/app/pontoon/base/models.py", line 1919, in pull
2021-04-25T19:47:45.935348+00:00 app[worker.1]: update_from_vcs(self.type, self.url, self.checkout_path, self.branch)
2021-04-25T19:47:45.935349+00:00 app[worker.1]: File "/app/pontoon/sync/vcs/repositories.py", line 272, in update_from_vcs
2021-04-25T19:47:45.935350+00:00 app[worker.1]: obj.pull()
2021-04-25T19:47:45.935350+00:00 app[worker.1]: File "/app/pontoon/sync/vcs/repositories.py", line 53, in pull
2021-04-25T19:47:45.935351+00:00 app[worker.1]: raise PullFromRepositoryException(str(error))
2021-04-25T19:47:45.935354+00:00 app[worker.1]: pontoon.sync.vcs.repositories.PullFromRepositoryException: Cloning into '/app/media/projects/intersectional-data-ca/git@github.com:ToferC/intersections.git/templates'...
2021-04-25T19:47:45.935355+00:00 app[worker.1]: Host key verification failed.
2021-04-25T19:47:45.935355+00:00 app[worker.1]: fatal: Could not read from remote repository.
2021-04-25T19:47:45.935355+00:00 app[worker.1]:
2021-04-25T19:47:45.935356+00:00 app[worker.1]: Please make sure you have the correct access rights
2021-04-25T19:47:45.935356+00:00 app[worker.1]: and the repository exists.
2021-04-25T19:47:45.935356+00:00 app[worker.1]:
My SSH_CONFIG is:
StrictHostKeyChecking=no
Host github.com
User git
I’ve tried to follow the instructions on the repository - but there may be an issue as I’m using a Rust workspace and the i18n.toml isn’t in root, but in the web app workspace. Image attached.
I’d love to use Fluent and Pontoon for translation and would greatly appreciate any help folks can provide. Thanks, C.