@reech

Как исправить ошибку в Composer: «Package information from this repository may be outdated»?

Есть публичный репозиторий на Bitbucket.org
В composer.json прописан:
"repositories": [
        {
            "type": "vcs",
            "url": "https://xxx@bitbucket.org/xxx/package.git"
        }
    ],


Через composer всё обновлялось нормально до какого-то момента. Неделю назад начала ошибка в composer появляться:

Failed to update https://xxx@bitbucket.org/xxx/package.git, package information from this repository may be outdated


Не смог нагуглить ничего про эту ошибку. Помогите понять, что не так стало?

Дополнение:
Попробовал удалить и заново установить пакет, получил другую ошибку:

[RuntimeException]
Failed to execute git clone --no-checkout 'https://xxx@bitbucket.org/xxx/package.git' '/home/site.ru/dev/vendor/package/package' && cd '/home/site.ru/dev/vendor/package/package' && git remote a dd composer 'https://xxx@bitbucket.org/xxx/package.git' && git fetch composer

error: Cannot communicate securely with peer: no common encryption algorithm(s). while accessing https://xxx@bitbucket.org/xxx/package.git/info/refs
fatal: HTTP request failed
  • Вопрос задан
  • 2355 просмотров
Решения вопроса 1
@reech Автор вопроса
Нашел причину: Bitbucket disable support for TLSv1 and TLSv1.1 ef....

Bitbucket Cloud will be disabling support for TLSv1 and TLSv1.1 effective 1 December 2018.

This will affect all HTTPS traffic to Bitbucket, including:

Git or Mercurial traffic to bitbucket.org
The bitbucket.org Web interface
API calls to api.bitbucket.org
Hosted sites on bitbucket.io
Any other HTTPS traffic not listed here

You should be able to test your connection from the command line:
GIT_CURL_VERBOSE=1 git ls-remote https://bitbucket.org/
This will connect to Bitbucket using the Git client and list the connection parameters. If you see a line like “SSL connection using TLSv1.2” in the output, then you are unaffected; if that line mentions a different version of TLS, then you are affected.

Ответ написан
Пригласить эксперта
Ответы на вопрос 1
@apokin
Веб-разработчик
Так же эта ошибка может возникнуть при некорректных прав доступа к ключу. В случае использования приватного репозитория.
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы