Question

HttpCaller and Forefront TMG denied error

  • 22 February 2019
  • 12 replies
  • 44 views

Badge

Hello,

I'm trying to use HTTPCaller to invoke an url on the same network but I have some trouble to make it working.

The error I receive is "HTTP/1.1 502 Proxy Error ( Forefront TMG denied the specified Uniform Resource Locator (URL). )".

Using the browser with the same account, the url is reachable without problems.

I parsed and decoded all the characters and the result string is correct. The same string I'm using to test in the browser.

Hints?

Thanks a lot

Roberto


12 replies

Userlevel 4
Badge +30

Hi @roberto

Could you share us the complete Log file?

 

Thanks,

Danilo

Userlevel 4

It may be an issue with the proxy configuration on your network. Depending on your FME version, proxy support may behave differently than your browser, notably if your proxy settings specify that the proxy should not be used for local addresses. This is a setting that FME may not always pick up, leading your request to go to the proxy rather than the intended server.

A workaround is to create a custom proxy map for your URL, here's an example for a URL that starts with http://my.local.server/...

This basically creates an exception in FME where you tell it to ignore the system proxy for all URLs starting with http://my.local.server

Badge

Hi @roberto

Could you share us the complete Log file?

 

Thanks,

Danilo

Hello,

here attached.

Thx

job_208067.txt

Badge

It may be an issue with the proxy configuration on your network. Depending on your FME version, proxy support may behave differently than your browser, notably if your proxy settings specify that the proxy should not be used for local addresses. This is a setting that FME may not always pick up, leading your request to go to the proxy rather than the intended server.

A workaround is to create a custom proxy map for your URL, here's an example for a URL that starts with http://my.local.server/...

This basically creates an exception in FME where you tell it to ignore the system proxy for all URLs starting with http://my.local.server

Hi David,

I tried to do it but it seems not solved.

Below the configuration (the url is a sample).

Userlevel 4

Hi David,

I tried to do it but it seems not solved.

Below the configuration (the url is a sample).

Have you tried the following configuration, based on the FME log you posted:

It may be (?) that you need to restart FME for this to take effect.

Badge

Have you tried the following configuration, based on the FME log you posted:

It may be (?) that you need to restart FME for this to take effect.

Hi,

yes I also tried that one and restarted. Without success.

Obviously, removing the firewall configuration in explorer, all works fine.

Roberto

Userlevel 4

Hi,

yes I also tried that one and restarted. Without success.

Obviously, removing the firewall configuration in explorer, all works fine.

Roberto

And if you set "No proxy" in the FME options, does that work?

Badge

And if you set "No proxy" in the FME options, does that work?

The same. It seems that windows proxy configuration overwrite the FME options.

Userlevel 4

The same. It seems that windows proxy configuration overwrite the FME options.

That's strange. I recommend you forward this case to Safe support. It's also a good idea to link back to this thread so that they get the background info.

I'd be grateful if you could keep us informed on any relevant developements here.

Userlevel 1
Badge +10

Hi @roberto: Sorry to hear about your issues! What version and build of FME are you using?

There was an issue found where the Custom Proxy Map wasn't working in FME 2018.1. We recently fixed the issue and released it in the latest build of FME 2018.1.1.2 (b18586). If possible, try @david_r's recommendations again with the newest FME build and let us know if you have any luck.

Badge +1

Hi @roberto: Sorry to hear about your issues! What version and build of FME are you using?

There was an issue found where the Custom Proxy Map wasn't working in FME 2018.1. We recently fixed the issue and released it in the latest build of FME 2018.1.1.2 (b18586). If possible, try @david_r's recommendations again with the newest FME build and let us know if you have any luck.

We're still receiving this issue in FME 2018.1.1.2 (b18586). Can You confirm, that the bug has been fixed?

Badge +2

We're still receiving this issue in FME 2018.1.1.2 (b18586). Can You confirm, that the bug has been fixed?

Hi @stezi, sorry to hear you are running into similar problems. It's hard to diagnose the problem to say for sure that the problem you observed is caused by the bug we fixed.

 

I encourage you to post a new question, and provide a bit more detail on your scenario, as well as a log file. This will give us a better chance of troubleshooting it. Thank you!

Reply