This is my first time using Pontoon and heroku so I assume any of my question could be interpreted as dum by advance users, but that’s just me learning …
So on my recently deployed heroku app I would like to add a new project. I fill the form as followed:
type = "git"
url = "git@github.com:12rambau/sepal_ui.git"
path_to_toml_file = "l10n.toml"
repository = "https://github.com/12rambau/sepal_ui"
the other parameters are unrelevants.
When I click on sync nothing happens but the when I check the logs I see the following error:
2022-02-08T16:13:49.025213+00:00 app[worker.1]: [2022-02-08 16:13:49,024: ERROR/ForkPoolWorker-5] Task pontoon.sync.tasks.sync_project[77e42e50-7a19-4eed-8765-71f4f9bc7db3] raised unexpected: MemcachedException('Code: 32 Message: None', 32)
2022-02-08T16:13:49.025220+00:00 app[worker.1]: Traceback (most recent call last):
2022-02-08T16:13:49.025221+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/celery/app/trace.py", line 385, in trace_task
2022-02-08T16:13:49.025221+00:00 app[worker.1]: R = retval = fun(*args, **kwargs)
2022-02-08T16:13:49.025222+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/newrelic/hooks/application_celery.py", line 99, in wrapper
2022-02-08T16:13:49.025223+00:00 app[worker.1]: return wrapped(*args, **kwargs)
2022-02-08T16:13:49.025223+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/celery/app/trace.py", line 648, in __protected_call__
2022-02-08T16:13:49.025224+00:00 app[worker.1]: return self.run(*args, **kwargs)
2022-02-08T16:13:49.025224+00:00 app[worker.1]: File "/app/pontoon/sync/core.py", line 59, in wrapped_func
2022-02-08T16:13:49.025224+00:00 app[worker.1]: if not cache.add(lock_name, True, timeout=timeout):
2022-02-08T16:13:49.025225+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/django/core/cache/backends/memcached.py", line 72, in add
2022-02-08T16:13:49.025225+00:00 app[worker.1]: return self._cache.add(key, value, self.get_backend_timeout(timeout))
2022-02-08T16:13:49.025227+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/newrelic/api/datastore_trace.py", line 196, in _nr_datastore_trace_wrapper_
2022-02-08T16:13:49.025227+00:00 app[worker.1]: return wrapped(*args, **kwargs)
2022-02-08T16:13:49.025227+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/bmemcached/client/replicating.py", line 187, in add
2022-02-08T16:13:49.025228+00:00 app[worker.1]: returns.append(server.add(key, value, time, compress_level=compress_level))
2022-02-08T16:13:49.025228+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/bmemcached/protocol.py", line 653, in add
2022-02-08T16:13:49.025229+00:00 app[worker.1]: return self._set_add_replace('add', key, value, time, compress_level=compress_level)
2022-02-08T16:13:49.025229+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/bmemcached/protocol.py", line 567, in _set_add_replace
2022-02-08T16:13:49.025230+00:00 app[worker.1]: self._send(struct.pack(self.HEADER_STRUCT +
2022-02-08T16:13:49.025230+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/bmemcached/protocol.py", line 247, in _send
2022-02-08T16:13:49.025231+00:00 app[worker.1]: self._open_connection()
2022-02-08T16:13:49.025231+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/bmemcached/protocol.py", line 161, in _open_connection
2022-02-08T16:13:49.025231+00:00 app[worker.1]: self._send_authentication()
2022-02-08T16:13:49.025231+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/bmemcached/protocol.py", line 322, in _send_authentication
2022-02-08T16:13:49.025232+00:00 app[worker.1]: raise MemcachedException('Code: %d Message: %s' % (status, extra_content), status)
2022-02-08T16:13:49.025232+00:00 app[worker.1]: bmemcached.exceptions.MemcachedException: ('Code: 32 Message: None', 32)
Can somenone explain me what if the problem is coming from my repository or from my app configuration ? Even better if you can explain what I need to change that would be amazing.