Reply
Highlighted
Contributor
Posts: 45
Registered: ‎08-01-2013

"Non-proxy" from AuthNet SDK is spamming our logs!

[ Edited ]

Could someone please tell me why this is spaming our logs from the AuthorizeNet Java SDK? This is very bothersome for our customers.

 

We use the AcceptHosted method and poll every 10 seconds for unsettled transactions.

 

[2020-05-07 10:44:47,089] [ WARN] Defaulting to non-proxy environment (pool-7-thread-1:net.authorize.util.HttpClient)
[2020-05-07 10:44:57,368] [ WARN] Defaulting to non-proxy environment (pool-8-thread-1:net.authorize.util.HttpClient)
[2020-05-07 10:45:07,693] [ WARN] Defaulting to non-proxy environment (pool-9-thread-1:net.authorize.util.HttpClient)
[2020-05-07 10:45:17,953] [ WARN] Defaulting to non-proxy environment (pool-10-thread-1:net.authorize.util.HttpClient)
[2020-05-07 10:45:28,223] [ WARN] Defaulting to non-proxy environment (pool-11-thread-1:net.authorize.util.HttpClient)

 

Also I tried to search "non-proxy" in the forums and it auto-corrected to "nonprofit". You might want to fix that.

Highlighted
New Member
Posts: 1
Registered: ‎05-07-2020

Re: "Non-proxy" from AuthNet SDK is spamming our logs!

I found the same thing. is there anyone can help answer. Thanks
Daftar Situs Judi Slot Online Terpercaya
Highlighted
Contributor
Posts: 45
Registered: ‎08-01-2013

Re: "Non-proxy" from AuthNet SDK is spamming our logs!

[ Edited ]

Well since no one is responding to us I dug through their own code. Cringiness of variables begining with capital letters aside, (Just...why. Java conventions people. It's CS 101) it appears you must use a proxy if you don't want this message to be spammed?

 

Why is that? And how do you setup a proxy?

 

I really shouldn't have to debug your own code to solve my problem. I have my own job to do. Come on, guys.

 

if (UseProxy && ProxyHost != null) {
    // Use proxy	
} else {
    LogHelper.warn(logger, "Defaulting to non-proxy environment");
    httpClient = HttpClients.custom().setSSLSocketFactory(sslSocketFactory)
        .setDefaultRequestConfig(requestConfig).setRedirectStrategy(new 
        LaxRedirectStrategy()).build();
}

 

Highlighted
Contributor
Posts: 45
Registered: ‎08-01-2013

Re: "Non-proxy" from AuthNet SDK is spamming our logs!

And it's been a week. Still no one helping us.