When starting process it immediately fails Out.log has
[36mINFO[0m[2022-02-02T20:16:57.9148359+01:00] OEC version is 1.1.3
[36mINFO[0m[2022-02-02T20:16:57.915836+01:00] OEC commit version is b1628543cb8f2a58b6300a660bfb6a72ae79a83a
[36mINFO[0m[2022-02-02T20:16:57.9168361+01:00] Queue processor is starting.
[36mINFO[0m[2022-02-02T20:16:57.9168361+01:00] OEC-metrics serves in http://localhost:9120/metrics.
[31mERROR[0m[2022-02-02T20:17:02.0422486+01:00] Queue processor could not get initial token and will terminate.
[31mFATAL[0m[2022-02-02T20:17:02.0422486+01:00] Get "https://api.eu.opsgenie.com/v1/oec/credentials": x509: certificate signed by unknown authority
Hi @Oleksandr K_ ,
This is usually an issue with the API Key you put into the config.json file for OEC. This apiKey is what allows the OEC service to sync up with the queue. This apiKey should be the api key from the integration you are using with OEC. So if you're using OEC to integrate with Jira for example, you would paste the apiKey from your Jira integration into the apiKey field of the config.json file for OEC, and make sure "send via OEC" is checked off on your Jira integration.
e.g.
Hope that helps!
Thanks,
Samir
Thx Samir,
but I want to use OEC directly with Opsgenie, and apiKey copied from newly created channel configuration.
What i can mention additionally that i have configured as environment variables http_proxy and https_proxy. Maybe I need some other parameter to add?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
so issue was in certificate, when i downloaded it from personal laptop and exported with whole chain, and then imported in trusted roor store, everything started to work
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.