Skip to main content
Question

HttpCaller and Forefront TMG denied error


roberto
Contributor
Forum|alt.badge.img+6

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

danilo_fme
Evangelist
Forum|alt.badge.img+41
  • Evangelist
  • February 22, 2019

Hi @roberto

Could you share us the complete Log file?

 

Thanks,

Danilo


david_r
Evangelist
  • February 25, 2019

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


roberto
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • February 25, 2019
danilo_fme wrote:

Hi @roberto

Could you share us the complete Log file?

 

Thanks,

Danilo

Hello,

here attached.

Thx

job_208067.txt


roberto
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • February 25, 2019
david_r wrote:

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).


david_r
Evangelist
  • February 25, 2019
roberto wrote:

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.


roberto
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • February 27, 2019
david_r wrote:

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


david_r
Evangelist
  • February 27, 2019
roberto wrote:

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?


roberto
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • February 27, 2019
david_r wrote:

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.


david_r
Evangelist
  • February 27, 2019
roberto wrote:

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.


nampreetatsafe
Safer
Forum|alt.badge.img+12

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.


stezi
Contributor
Forum|alt.badge.img+5
  • Contributor
  • April 3, 2019
nampreetatsafe wrote:

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?


xiaomengatsafe
Safer
Forum|alt.badge.img+3
stezi wrote:

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!

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings