Hello,
I am getting an error while consuming the REST API in Outsystems with "Error Executing Test. The operation has timed out.". In Postman the API is working fine but giving error in Outsystems. Any idea what am I missing here? I have configured all the headers and authentication correctly as per the postman still getting this error.
In service center when I checked the logs, it is showing below error.
Also, in service center when I am checking the consumed REST APIs in integrations tab of that module, in that also it is not visible. Any idea why it is not showing up there?
Hi @Kaustubh Kamble,
Can you please check below points:
Please refer below link:
https://www.outsystems.com/forums/discussion/81850/the-operation-has-timed-out/
Regard,
Rajat Agrawal
The error message "Unable to connect to the remote server" indicates that your platform server is unable to establish a connection with the API Server. Could you test the API Server from your desktop using Postman to see if it works?
Hello Siya,
I tried from same desktop using Postman and it is working. Not sure why exactly it is failing in Outsystems.
Could you describe how the API Server and the OutSystems Platform server are configured? Is the API Server on-premise and not accessible from outside your network, with the OutSystems server hosted on the cloud? Or is it the other way around, with the OutSystems server on-premise and unable to connect to an API Server that's on the internet?
Hi,
Is it possible that your dekstop is connected to a VPN? If yes, it's possible that you can only reach your API from inside the network. In that case you would need a VPN Tunnel from OutSystems to the network where your API is running.
Best regards,Michiel
Hi Kaustubh,
It seems that the API is accepting a connection from your local computer, but not from the OutSystems cloud server. This can have a number of reasons, though most likely it's firewall settings. Where is the API running? Is that server under your control, or can you ask someone who's responsible for the server to check the firewall loggings?
Hello
Please check your API call URL and Authentication
Regards
Shradha
I have encounter this problem multiple times.
This is what I suggest :
1. if Outsystems is Outsystems Cloud, then check the REST provider and ask to whitelist the Outsystems Cloud IP and/or domain.
2. if Outsystems is On Prem, do the #1 and also check firewall on your on premises Outsystems, to whitelist the REST Provider.
Most of the case, this will solve this problem (like Kilian inform you above, most likely Firewall).