NetTalk Central

The Rest Of NetTalk => The Rest - Ask For Help => Topic started by: mriffey on December 07, 2018, 10:44:14 AM

Title: NetWebClient cant reach out to the net - except when elevated
Post by: mriffey on December 07, 2018, 10:44:14 AM
Have you ever seen a situation where a https fetch never gets off the client machine, despite having firewall/AV off, and/or having FW on and inbound/outbound exceptions in place? There's nothing in the eventviewer, nothing in debugview, nothing anywhere that Ive found that is alerting on this connection attempt.

AsInvoker - cant reach out to any machine via Nettalk, but can via C++ web calls.

As admin - nettalk works fine.

This app is using a fairly current (10.15) NT10 in this case.

Mark
Title: Re: NetWebClient cant reach out to the net - except when elevated
Post by: Jane on December 08, 2018, 10:19:31 AM
Mark,

Weird.  Is the behavior the same on all machines on which you try running it?

FWIW, I have asInvoker web clients accessing https API servers without issue, the clients running on Win 10 or Server 2012R2 (which is binary family with Win 8.1).

But... one thing you might try...  check permissions on this folder and as a test, add Modify for Everyone:  C:\ProgramData\Microsoft\Crypto\RSA
Just grasping at straws here because asAdministrator works for you.  Your regular account may not be able to do the https encryption stuff.

Jane
Title: Re: NetWebClient cant reach out to the net - except when elevated
Post by: mriffey on December 10, 2018, 08:19:51 AM
It turned out that something in windows was terribly upset that the EXE and the dll were both referencing Winevent5 calls. Once I made the exe refer to the dll's instance of WE - everything worked again. <wipes sweat from brow>. Weird situation. No diagnostic data anywhere. Just got lucky.

Mark
Title: Re: NetWebClient cant reach out to the net - except when elevated
Post by: Jane on December 10, 2018, 02:47:34 PM
Sometimes lucky trumps good!

Good job!

jf