Did a bit more research on this. And managed to get the an 200 OK from the web service.
However, I still do not know what info should be specified for header and trying to get a specific ticket via web service I get TicketGet.AuthFail error. This is the debug message:
Code: Select all
[Tue Aug 20 11:17:39 2019] [warn] /nph-genericinterface.pl/Webservice/TestWS did not send an HTTP header
ERROR: GenericInterfaceProvider-28 Perl: 5.14.2 OS: linux Time: Tue Aug 20 11:18:25 2019
Message: DebugLog error: Summary: TicketGet.AuthFail Data : TicketGet: Authorization failing!.
RemoteAddress: 192.68.29.26
RequestURI: /nph-genericinterface.pl/Webservice/TestWS
Traceback (7531):
Module: Kernel::GenericInterface::Debugger::DebugLog Line: 218
Module: Kernel::GenericInterface::Debugger::Error Line: 312
Module: Kernel::GenericInterface::Operation::Common::ReturnError Line: 123
Module: Kernel::GenericInterface::Operation::Ticket::TicketGet::Run Line: 262
Module: Kernel::GenericInterface::Operation::Run Line: 132
Module: Kernel::GenericInterface::Provider::Run Line: 278
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_nph_2dgenericinterface_2epl::handler Line: 54
Module: (eval) (v1.99) Line: 204
Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
Module: ModPerl::Registry::handler (v1.99) Line: 31
[Tue Aug 20 11:18:25 2019] [error] [client 192.68.29.26] malformed header from script. Bad header=HTTP/1.1 200 OK: nph-genericinterface.pl
[Tue Aug 20 11:18:25 2019] [warn] /nph-genericinterface.pl/Webservice/TestWS did not send an HTTP header
As you can see, I get 200 OK for interface connection but TicketGet operation is not authenticating. What can be the issue in this case?