NetTalk Central

Author Topic: NetWebClien proxy  (Read 5444 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
NetWebClien proxy
« on: October 23, 2019, 03:03:29 AM »
I have ThisWebClient.CanUseProxy=1 but it is not using the proxy.
Is there any condition when Im obligued to set de proxy settings to use it?
-----------
Regards
Alberto

Jane

  • Sr. Member
  • ****
  • Posts: 372
  • Expert on nothing with opinions on everything.
    • View Profile
    • Email
Re: NetWebClien proxy
« Reply #1 on: October 23, 2019, 06:42:30 AM »
Interesting, Alberto.

This may not be related.  Or may be.

I did a webinar on clarionlive a couple of months ago demonstrating how I had developed a combination API client/API server for a project.
And showed that I used Fiddler in that development process (to compare the packets I was creating with those created by some sample c# code I had received from the external API service with which I needed to connect.)

BUT...  in order to do that part of the demonstration, I needed to revert to NT 10.x. 

Using the main NetTalk demo app compiled with NT11.x (not sure which version... maybe 11.11??) the conversation from the web client did not pass through Fiddler, even with CanUseProxy set. 

I mentioned that in the webinar, but I think Bruce had already left by that point.  And I neglected to send him an email afterwards to ask about the discrepancy I observed between NT 10 and 11.

Jane

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: NetWebClien proxy
« Reply #2 on: October 23, 2019, 06:47:59 AM »
Thanks Jane for your answer.
Im sure NT11.23 has a problem with proxys
I cant make it work

and... bad news Ive tested with nt10.36 and same problem.
« Last Edit: October 23, 2019, 09:48:03 AM by michelis »
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NetWebClien proxy
« Reply #3 on: October 25, 2019, 05:03:50 AM »
>> Is there any condition when I'm obliged to set de proxy settings to use it?

absolutely. In almost all cases (especially these days) you'll need to set the proxy settings yourself.
the "automatic" settings come from Windows, which come from IE, and no-one sets that up anymore.

cheers
Bruce


Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: NetWebClien proxy
« Reply #4 on: October 25, 2019, 06:24:08 AM »
But Bruce, this is the case where all is setted in IE and many other programs works ok, all even my NT app.
Read the Janes post.
-----------
Regards
Alberto

Jane

  • Sr. Member
  • ****
  • Posts: 372
  • Expert on nothing with opinions on everything.
    • View Profile
    • Email
Re: NetWebClien proxy
« Reply #5 on: October 28, 2019, 08:48:42 PM »
I need to amend my post, Alberto.

I have a copy of my test app in a folder (that was one of the pieces I used in the webinar on July 5). 
I don't know which version of NetTalk it is using... its clanet.dll date is 5/23/2019.  If I send a request to an API server, have "enable proxy" specified, and have Fiddler running, the app hangs.

When I recompile the same app with NetTalk 11.19, it DOES work with a proxy (Fiddler, in my case). 

It's not the DLL - I copied the May 23 DLL into the newly compiled folder and it still works with Fiddler. 

This may be completely unrelated to the issues you're having.  And I don't have anything more recent than 11.19 to test.

Cheers,

Jane