[Error 111] Api Reporter 2.2

Hello,


I ve been working with your Reporter Version 2.2 and i have some automated processess for our Digital Sales Department. I ve been fetching some tables with your reports, but two days ago an error occurred. Looking at your Reporter Guide 3.0, it says Error 111: Network is available but cannot connect to application. Check your proxy and firewall settings and try again.


Im using the Reporter.jar and i have the Token/credentials in the Reporter.properties file.

Also here is the syntax im using in bash for calling the java

java -jar Reporter.jar p=Reporter.properties Sales.getReport ########, Subscription, Summary, Daily, $date, 1_1


and the output is the error 111.

I ve been asking to IT and Systems departments if something changed but the overall answer is nope.

My question is: this kind of error lays in Itunes side or it is, as it states, a problem with my network? RIght now we are to hit the XMas holidays and maybe they are making changes in their servers, that´s why im suspicious.

Anyway thanks in advance!!!


Best,

Raúl

Hi,
I have exactly same issue for two days with same configurations, but with a small and strange difference. When I try same command on my local machine, It works but on the server that daily reporting job runs It doesn't work. So that is the important part for me. It should work on the server as well.
Please help us.
Thanks in advance.
Best,
Serkan

I am the same symptom.


It has stopped working on the server that was moving until now.

But when tested local server it worked.


Inexplicable


Thanks

I ve been working with your Reporter Version 2.2


Who are you speaking to ?

"Inexplicable" its a good sum up of the trouble. Did you manage to solve it in your servers? The sale downloads keep failing in my server too.

I m going to start downloading the files manually...

I hope they will solve it after Xmas....


Thanks!

At first i thought i could reach the Api developers of Itunes ,i thought this was something like a technical support forum where you can ask questions directly to them 🙂

Has anyone found a resolution to this? I have this same problem where Reporter 2.2 is reporting error code 111.

Nothing has changed on the network, and I even removed all firewall restrictions temporarily to see if it was something on our side.

It looks like this started on 12/22 or 12/23.

Same problem here... has anybody found a solution?

Same problem here. It looks as though there is some sort of routing issue between our network and the reportingitc-reporter server.


Is anyone from Apple support on these forums and able to shed any light on the problem?

nope, it keeps giving me the same error. How can we reach their backend and ask directly to them?

Accepted Answer

What is your version of Java?

For my part, I now have the same error since December 18 with java 1.7. I noticed that everything works with Java 1.8.

My java was also 1.7.0.

Updated java to 1.8.0 and it ran.

Thanks a lot, this solved the problem!!!!!


I was also using Java -version 1.7


I noticed that my server was using 1.7 but also i had installed Java 1.8. Now im summoning the reporter with

/usr/java/jdk1.8.0_60/bin/java -jar Reporter.jar p=Reporter.properties Sales.getReport ######, Sales, Summary, Daily, $date, 1_0

and now it works.

Thank a lot guys 🙂

Somehow this error popped up for me today again. running 1.8
Same here, fine on localhost, 111 error on production app (running on Heroku). Zero code or stack changes in production.
Error occurring for over a week now and cannot find a fix.
Use Oracle JRE instead of Open JRE.
It was a big waste of time for us also...
Having this same issue. Started happening just before Christmas. Works on a local server, but not when running on Ubuntu server. OpenJDK 11.0.10 installed.

Has changing to Oracle JRE fixed things for you Wavek? Or has anyone else found a solution for this?

I'm getting the same issue today (7 June 2022)... it was working fine yesterday. Nothing has changed in terms of network config, java version etc. I've tried from my local Windows machine using Oracle JRE and from a different Ubuntu server using OpenJDK. I can't even run the getAccounts command eg.

java -jar Reporter.jar p=Reporter.properties Sales.getAccounts

Network is available but cannot connect to application. Check your proxy and firewall settings and try again.

Has anybody managed to solve this?

I'm also having the same problem and getting the exact same error message today (June 7, 2022). It was working a few days ago, but it doesn't work now. I'm using a Windows 10 machine with Java 1.8.

It's working now for me (June 8, 2022) with no changes on my end.

It seems the issue originates from server problems that Apple has been experiencing lately. The error message is actually incorrect due to a bug in the reporter's code:

      boolean connectionStatus = ConnectivityHelper.getConnectionStatus(clientProperties, appName, outputStyle, isDebug, networkCheck);
      if (connectionStatus) {
        AutoIngestClientUtil.showErrorMessage("Network is available but cannot connect to application. Check your proxy and firewall settings and try again.", "111", 1, outputStyle);
      } else {
        AutoIngestClientUtil.showErrorMessage("Network is not available. Check connection and try again.", "110", 1, outputStyle);
      }

If a connection to apple.com is possible, connectionStatus is true, so the displayed error messages are swapped. Apple, please fix your servers!

[Error 111] Api Reporter 2.2
 
 
Q