-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version mismatch for "Guzzle" #53
Comments
reactbundle depends on version guzzle v6 due to compatibility with PHP 5.6. Guzzle v7 is not compatible with that. The AWS SDK however is compatible with guzzle v6. It obviously isn't possible to run both versions in parallel (albeit both versions are installed separately), so the only solution for future installations of this module is to include the dependencies already with the release. The dependencies then need to be installed while on PHP 5.6, to make sure it's the same environment in which the reactbundle (or whatever its library successor is called) is built. Then we have still two separate guzzle installations, but they should be the same so it doesn't matter. Though, I have still no idea what's the reason for the second error. |
Hi @widhalmt I have the same issue after upgrading all my Icinga servers. AWS module was not working anymore.
I managed to work around this problem by updating all my Icinga modules (just in case of) and editing the line 136 of
After that, the AWS module manages to import EC2 instances. Hope that can help someone. |
I created a pull request for aws-sdk-php which should fix the problem by using the Utils::defaultUserAgent() |
Summary
When updating the AWS SDK to
3.181.1
a newer version ofguzzle
becomes a dependency. The Icinga Web 2 modulereactbundle
bringsguzzle
in an older version which has precedence when loading.Details
AWS SDK version that worked:
3.112.25
AWS SDK version that broke dependencies:
3.181.1
Further investigation showed that the problem first occurs with version
3.131.0
for the first time.Other versions
composer
Output of
composer show -I
Icinga Web 2
Errormessages
There were two different messages when navigating to "Preview" on
/icingaweb2/director/importsources
and
Misc
/ref/NC/724192
The text was updated successfully, but these errors were encountered: