Resolved - RestClient::ServerBrokeConnection: Katello::Resources::Candlepin::Consumer Server Broke Connection

Following katello upgrade to v3.11 (foreman v1.21.3), use of ‘subscription-manager register’ results with crash of candlepin and candlepin-auth services. On client where subscription-manager is invoked, following message is displayed:
nonetype’ object has no attribute 'getitem

No error message - successful subscription-manager registration.

Foreman v1.21.3 / Katello v3.11

Foreman and Proxy plugin versions:

Distribution and version:

Other relevant data:
This entry is simply to register the fix (felt this was worth doing, as it took several days to derive! - and therefore may help some other poor soul in the future).
Fix is to roll back java to v1.8.0_191, i.e.:
katello-service stop
yum downgrade ./java-1.8.0-openjdk-headless-
katello-service start
…once restarted, we were able to perform successfull subscription-manager register commands straight away :slight_smile:

…It appears our latest upgrade also upgraded java to:

…which broke things.

Hello @Lorryw,

Thanks for posting your solution here! There recently was a new version of Candlepin, if you’d like you could try upgrading Candlepin and seeing if that solves the issue while keeping the newer version of java.