mbeijen / App-OTRS-CreateTicket

Create tickets in OTRS via the Ticket Connector from the command line (CLI).
12 stars 6 forks source link

PROXY ERROR #6

Closed dennis0212 closed 7 years ago

dennis0212 commented 7 years ago

This script over Proxy is error. Who can i set the Proxysetting ?

mbeijen commented 7 years ago

Hi Dennis, you could probably use the HTTP_PROXY environment variable:

HTTP_PROXY=proxy.example.corp otrs.CreateTicket.pl ....

or use set HTTP_PROXY=proxy.example.corp to set it in your shell.

dennis0212 commented 7 years ago

I have set Proxy in Shell the error is constant

Von: Michiel Beijen [mailto:notifications@github.com] Gesendet: Montag, 23. Oktober 2017 15:53 An: mbeijen/App-OTRS-CreateTicket App-OTRS-CreateTicket@noreply.github.com Cc: Rupprecht Dennis Dennis.Rupprecht@cancom.de; Author author@noreply.github.com Betreff: Re: [mbeijen/App-OTRS-CreateTicket] PROXY ERROR (#6)

Hi Dennis, you could probably use the HTTP_PROXY environment variable:

HTTP_PROXY=proxy.example.corp otrs.CreateTicket.pl ....

or use set HTTP_PROXY=proxy.example.corp to set it in your shell.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mbeijen/App-OTRS-CreateTicket/issues/6#issuecomment-338666175, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APPLEbJTsE5a391oaxw4wZ6K5NepuhDjks5svJpKgaJpZM4QC3K7.

mbeijen commented 7 years ago

Well, what is the error message you get? What OS do you use? What version of LWP::UserAgent do you have installed?

dennis0212 commented 7 years ago

This is a script in /etc/profile.d/proxy

export http_proxy="http://*\\*:*:3128" export HTTP_PROXY=$http_proxy

pear config-set http_proxy 'http://*\\*:*@*:3128'

\

With domainuser

OS= centos

Von: Michiel Beijen [mailto:notifications@github.com] Gesendet: Montag, 23. Oktober 2017 15:53 An: mbeijen/App-OTRS-CreateTicket App-OTRS-CreateTicket@noreply.github.com Cc: Rupprecht Dennis Dennis.Rupprecht@cancom.de; Author author@noreply.github.com Betreff: Re: [mbeijen/App-OTRS-CreateTicket] PROXY ERROR (#6)

Hi Dennis, you could probably use the HTTP_PROXY environment variable:

HTTP_PROXY=proxy.example.corp otrs.CreateTicket.pl ....

or use set HTTP_PROXY=proxy.example.corp to set it in your shell.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mbeijen/App-OTRS-CreateTicket/issues/6#issuecomment-338666175, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APPLEbJTsE5a391oaxw4wZ6K5NepuhDjks5svJpKgaJpZM4QC3K7.

dennis0212 commented 7 years ago

The error is:

500 Can't connect to *:3128 (SSL connect attempt failed because of handshake problemserror:00000000:lib(0):func(0):reason(0)) at /usr/lib/nagios/plugins/otrs.CreateTicket.pl line 184.

Von: Michiel Beijen [mailto:notifications@github.com] Gesendet: Montag, 23. Oktober 2017 15:56 An: mbeijen/App-OTRS-CreateTicket App-OTRS-CreateTicket@noreply.github.com Cc: Rupprecht Dennis Dennis.Rupprecht@cancom.de; Author author@noreply.github.com Betreff: Re: [mbeijen/App-OTRS-CreateTicket] PROXY ERROR (#6)

Well, what is the error message you get? What OS do you use? What version of LWP::UserAgent do you have installed?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mbeijen/App-OTRS-CreateTicket/issues/6#issuecomment-338666896, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APPLEbLs-VUlXE6NNrLC7MjIKwVikBOkks5svJrmgaJpZM4QC3K7.

dennis0212 commented 7 years ago

Okay Problem was LWP::UserAgent

Thanks

Von: Michiel Beijen [mailto:notifications@github.com] Gesendet: Montag, 23. Oktober 2017 15:56 An: mbeijen/App-OTRS-CreateTicket App-OTRS-CreateTicket@noreply.github.com Cc: Rupprecht Dennis Dennis.Rupprecht@cancom.de; Author author@noreply.github.com Betreff: Re: [mbeijen/App-OTRS-CreateTicket] PROXY ERROR (#6)

Well, what is the error message you get? What OS do you use? What version of LWP::UserAgent do you have installed?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mbeijen/App-OTRS-CreateTicket/issues/6#issuecomment-338666896, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APPLEbLs-VUlXE6NNrLC7MjIKwVikBOkks5svJrmgaJpZM4QC3K7.