Skip to Content
0
Aug 23, 2023 at 07:38 PM

SAP Desktop Agent Connecting to Document Information Extraction through Proxy fails

87 Views Last edit Aug 24, 2023 at 07:29 AM 5 rev

Hey together,

I am currently at a loss as to where the problem lies.
I am using the Desktop Agent (3.18.60) on a VDI, which is using Squid Proxy (with .pac file).
On this VDI I created the following process, which uses the Document Information Extraction SDK:

image.png

The Agent immediately crashes with ERR_INVALID_URL, when I run the automation.

image.png

But it gets the correct Proxy URL:

image.png

After this step the next Message shows that the Connection has a Timeout and i get the "test failed error" in SAP Build Process Automation with the following Error Message:

Could not get status for template [doxtemplate0]: "Timeout error: call callHttpRequest" The template is probably deleted at Document Information Extraction.

That being said, I can execute the Automation flawlessly on my DaaS-Laptop with proxy active (even though it differs from the one we use on the VDI), when I deactivate VPN. But I need the VDI in order to access our SAP Servers for Development, so that doesn't do very much for me.

I have talked to the Proxy Guys in my Company, but they cant see the Requests to

"https://aiservices-dox.cfapps.eu10.hana.ondemand.com/document-information-extraction/v1/templates/dbc52d81-dbfb-41e7-83a6-82b82ad1cca1, use proxy PROXY smp-proxy.tds.de:8080"

in the Logs aka. the Requests don't even reach the Proxy or Firewall.


I can't test the Process because of it. Because this is my Bachelor Thesis I am very limited in Time and this just completely set me back. I really hope you Guys can help me out here.

PS: I can execute other Automations without a Problem, such as Logging into SAP Logon and executing TCODES etc.

PPS: We tried manually setting the Proxy for HTTP and HTTPS, but it always takes the Proxy from the .pac-File - even when the .pac-File is disabled. How does the Desktop Agent store its Proxy-Configuration?

Kind Regards
Kim

Attachments

image.png (10.7 kB)
image.png (9.5 kB)
image.png (5.2 kB)