opsgenie / opsgenie-configuration-backup

Backup your OpsGenie account's configuration and restore it later
https://opsgenie.com
Apache License 2.0
28 stars 26 forks source link

Cannot export configuration with 0.21.0 on EU instance #30

Closed rndmh3ro closed 5 years ago

rndmh3ro commented 5 years ago

Hi folks,

when running java -jar OpsGenieExportUtil-0.21.0.jar --apiKey xxxxxxxx --opsgenieHost https://api.eu.opsgenie.com and trying to export our OpsGenie configuration, I get the error messages found in the following gist: https://gist.github.com/rndmh3ro/2bf0f2b44127cd4c0ec2bb11cb49fc9a

Then not all configurations are exported, sometimes only schedules, sometimes escalations.

rndmh3ro commented 5 years ago

Turns out the utils are not compatible with Java 11 if you're on the EU instance. Using java 8 solved the issue!