Ad Widget

Collapse

Templator with 7.0rc2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Guntis1
    Junior Member
    • May 2024
    • 1

    #1

    Templator with 7.0rc2

    Hi, trying to set up Templator with Zabbic 7.0rc2 which installed on Debian12 but facing issue with authentication.
    In general can successfully build package with maven but when launching got error "api.ZabbixService [ERROR] Failed to login to Zabbix, try again later"
    In /src/main/resources/application.properties tried to use real IP as well localhost http://127.0.0.1:8080/api_jsonrpc.php with default credentials which works for web login.
    Difference between previous version is that in url there is no anymore /zabbix after IP but 8080 port used so could someone help to troubleshoot why templator can't log in?
    If I curl http://127.0.0.1:8080/api_jsonrpc.php
    Got such response:
    HTTP/1.1 412 Precondition Failed
    Server: nginx/1.22.1
    Date: Tue, 28 May 2024 20:04:42 GMT
    Content-Type: text/html; charset=UTF-8
    Connection: keep-alive
    Access-Control-Allow-Origin: *
    Access-Control-Allow-Headers: Content-Type
    Access-Control-Allow-Methods: POST
    Access-Control-Max-Age: 1000

    Thank you in advance
Working...