Currently, I'm running the LTS version 6.5.14.
I'm having an issue with HTTP::REST. It works fine when the web service is configured as a provider (I imported the GenericTicketConnectorREST as an example), but it doesn't work when the web service is set up as a requester.
I followed the guide from:
https://doc.znuny.org/znuny_lts/admin/w ... index.html
Here are the error logs:
Code: Select all
DebugLog error: Summary: TransportObject could not be initialized Data : $VAR1 = { 'ErrorMessage' => 'Backend Kernel::GenericInterface::Transport:: not found.', 'Success' => 0};.
Code: Select all
DebugLog error: Summary: Backend Kernel::GenericInterface::Transport:: not found. Data : No data provided.
Code: Select all
Can't locate Kernel/GenericInterface/Transport/.pm in @INC (you may need to install the Kernel::GenericInterface::Transport:: module) (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 /usr/local/share/perl/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.34 /usr/share/perl/5.34 /usr/local/lib/site_perl /etc/apache2) at /opt/otrs/Kernel/System/Main.pm line 86.
Here is the YML file:
Code: Select all
---
Debugger:
DebugThreshold: debug
TestMode: '0'
Description: ''
FrameworkVersion: 6.5.14
Provider:
Transport:
Type: ''
RemoteSystem: ''
Requester:
Invoker:
GetItems:
Description: ''
GetAllArticleAttachments: ~
Type: Generic::Tunnel
Transport:
Config:
AdditionalHeaders: ~
ContentType: JSON
DefaultCommand: GET
Host: http://localhost:3000
InvokerControllerMapping:
GetItems:
Command: GET
Controller: /api/items
SSLNoHostnameVerification: '0'
Timeout: '120'
Type: HTTP::REST
Any help would be greatly appreciated
Thanks!
[EDIT]
It's not issue, back then I tried call the requester via postman, not via event