Http Request Status Code

Hii,

I am using HTTP request for interfacing with OTRS but the status code is 0

What does that means

How to solve it

Thanks and Regards,
Supriya

You can get info from the below link

https://doc.otrs.com/doc/api/otrs/6.0/Perl/Kernel/GenericInterface/Transport/HTTP/REST.pm.html

Hope this helps

Thanks

Hi,

I suppose It means there is no HTTP response.
And it usually causes at low network layer below HTTP such as TCP/IP.

Can you access to it like browser? If not, you need to check network settings such as firewall, port number, whether http service is running, etc

Regards,

@Yoichi

I didn’t get what u said

Thanks and Regards,
Supriya

and if it is 401 error in case of redmine how to solve it

Thanks and Regards,
supriya

Hi,

401 means Unauthorised.
You need to send request wirh proper credential such as ID/Password.

Regards,

Hi,

I didn’t get what u said

Sorry for my explanation is not good.
I suppose there are mainly 2 possibilty for StaatusCode 0 as follows:

  1. Your HTTP request does not reach the server.
  2. The server is not working.

If you access to the server via web browser, you might be able to get some information.

Regards,

Hi @Yoichi

I don’t have access of server
Do you have any idea about what may be the issue

Thanks and Regards,
Supriya

Hi,

Can you share more specific information such as Endpoint URL, your environment (Intranet? is there http proxy?) ,if possible?
It’s also OK to share your workflow.

Regards,

hi yoichi,
Facing similar kind of issue…
few URLs working https activity few showing unable to connect to remote server,
but manually url works find…
it may be due to vpn ?

Hi,

Is your problem same as the following post?

I’ll reply in the above topic.

Regards,