1. eyal hadad
  2. PowerBuilder
  3. Tuesday, 27 December 2022 09:41 AM UTC

Hi, 

when make a call via httpclient I'm getting error number (-3).

that mean no internet connection. 

when I'm ping the IP address every thing ok. 

what more can I check? 

thank you, 

Eyal 

eyal hadad Accepted Answer Pending Moderation
  1. Wednesday, 28 December 2022 05:58 AM UTC
  2. PowerBuilder
  3. # 1

1) Are you having this issue when accessing any URL using HttpClient.SendRequest, or only the specified URL? Please try some other URLs.

Yes via  HttpClient.SendRequest , when I'm trying to access the URL, when i pass the json I created via Postman it's running O.K.

2) Is there an internet proxy setting in your environment? If yes, it is recommended that you adjust the proxy settings to see if there is any change.

My Environment it's Intranet no interment so there is no proxy object.

3) Was HttpClient working well in your environment before this issue? Is it possible the environment has been changed? Have you ever tried it on another machine?

Yes, it worked before from my machine to the same URL (an internal S3 Bucket storage )

4) What's the PowerBuilder build? Have you ever tried it in PB 2022?

It's a PB 2019 R3 last build. I can't upgrade to higher version due EJB  Service I consume that it's no longer supported in PB 2022...

 

Does HttpClient required any PBX to be add to my application ?

thank you,

Eyal

Comment
  1. eyal hadad
  2. Wednesday, 28 December 2022 06:29 AM UTC
Do you mean the change of environment from your machine led to this issue? Is it the same PowerBuilder build?

There was no change in my environment , it worked few days before and now it doesn't.

as I mention before via postman it's working fine from my machine to the same URL...
  1. Helpful
  1. Logan Liu @Appeon
  2. Wednesday, 28 December 2022 06:36 AM UTC
  1. Helpful 1
  1. eyal hadad
  2. Wednesday, 28 December 2022 07:41 AM UTC
Great, I will Check it on the day I will be at client site... probably near sunday
  1. Helpful
There are no comments made yet.
Logan Liu @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 28 December 2022 03:46 AM UTC
  2. PowerBuilder
  3. # 2

Hi Eyal,

Yes. For the HttpClient.SendRequest method, -3 means "Cannot connect to the Internet".

1) Are you having this issue when accessing any URL using HttpClient.SendRequest, or only the specified URL? Please try some other URLs.

2) Is there an internet proxy setting in your environment? If yes, it is recommended that you adjust the proxy settings to see if there is any change.

3) Was HttpClient working well in your environment before this issue? Is it possible the environment has been changed? Have you ever tried it on another machine?

4) What's the PowerBuilder build? Have you ever tried it in PB 2022?

If you still can't solve it, kindly please report your issue via our support ticketing system to ensure it is being properly received by our tech support and tracked at: https://www.appeon.com/standardsupport/

Regards, Logan

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.