Skip to main content
Solved

Application Messages are failing with 'java.net.UnknownHostException'


Forum|alt.badge.img+5

Hi

One of my customer’s environment, all the Application messages are failing with below message.

ExecutionException from Sender thread Caused by: ifs.fnd.connect.senders.ConnectSender$TemporaryFailureException: Exception while sending data Caused by: java.net.UnknownHostException: site_url’

Even though I tried with mail sender, it has the same behavior.

Any idea on this?

Best answer by Asanka Dissanayake

Reason for this issue was domain name. When I used IP address instead of domain name in Routing Address it’s giving expected result.

So, the issue was in the 3rd party end due to not accepting request from outside from domain name. They have to map domain name and IP address in hosts to allow request from outside.

 

View original
Did this topic help you find an answer to your question?

5 replies

Forum|alt.badge.img+10
  • Hero (Partner)
  • 189 replies
  • October 29, 2023

@Asanka Dissanayake  Looks like you are trying to connect to “site_url” which is not a valid url? 

  • Can you hardcode the host you want to connect to?
  • Can you show how you have setup your Connect Sender? 
  • For which Application message do you get the error and which routing rule / Routing address are you using?

Forum|alt.badge.img+5
kvbe wrote:

@Asanka Dissanayake  Looks like you are trying to connect to “site_url” which is not a valid url? 

  • Can you hardcode the host you want to connect to?
  • Can you show how you have setup your Connect Sender? 
  • For which Application message do you get the error and which routing rule / Routing address are you using?

Hi @kvbe 

 

Error:
ExecutionException from Sender thread Caused by: ifs.fnd.connect.senders.ConnectSender$TemporaryFailureException: Exception while sending data Caused by: java.net.UnknownHostException: sde-ldifst01.hamamatsu.eu

This is a Outbound post request I’m going to send. This is working when I’m trying with POSTMAN, but not working with IFS end.

Host: sde-ldifst01.hamamatsu.eu

I’m using default REST_SENDER.
 

 

Routing Rule
 

 

Routing Address

 

Application Message
 

 

I’m using Call_Rest_Endpoint3 for this
 

Please let me know if I need to change anything in this setup?


Forum|alt.badge.img+10
  • Hero (Partner)
  • 189 replies
  • October 30, 2023

@Asanka Dissanayake 

  • Are you sure IFS can access this URL? Seems a private url only available over a VPN?
  • Is it publicly available? As otherwise IFS cannot access this url. 
  • Should it be http or https? 
  • Any authentication involved?

     

Forum|alt.badge.img+5
kvbe wrote:

@Asanka Dissanayake

  • Are you sure IFS can access this URL? Seems a private url only available over a VPN?
  • Is it publicly available? As otherwise IFS cannot access this url. 
  • Should it be http or https? 
  • Any authentication involved?

     

This is only accessible inside the VM. I’m trying there. This is http and it’s working fine with the POSTMAN. Below screen shot.
Even though token generation one is giving the same error., but everything working with POSTMAN, but not with IFS.

 

 

I have tried with PLSQL Developer, it also giving same result unfortunately.
 

 


Forum|alt.badge.img+5

Reason for this issue was domain name. When I used IP address instead of domain name in Routing Address it’s giving expected result.

So, the issue was in the 3rd party end due to not accepting request from outside from domain name. They have to map domain name and IP address in hosts to allow request from outside.

 


Reply


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