2013-07-31 114 views
4

我試圖獲取應用程序的iTunes連接報告。 爲此,我使用Apple提供的Autoingestion.class,並在autoingestion.properties中設置我的用戶名/密碼。蘋果的文檔沒有及時更新關於現在無法避免的屬性文件。iTunes Connect Autoingestion.class無所作爲

我的問題是,當我執行命令行時,沒有顯示錯誤,也沒有任何反應。

我的命令行是這樣的:

java Autoingestion autoingestion.properties 8****** Sales Daily Summary 20130701 

autoingestion.properties包含:

userID = [email protected] 
password = PaSsWoRd 

我缺少什麼?

我的輸出(無):

$C:\autoingestion>java Autoingestion autoingestion.properties 8****** Sales Daily Summary 20130701 
$C:\autoingestion> 

編輯:

好了,所以我回來了今天早上上班,做了完全一樣的命令行,而現在它的作品...我的猜是iTunes Connect有一些麻煩...

+0

自昨天以來,我有同樣的錯誤。 突然Autoingestion不顯示錯誤,但不會在我的生產環境中返回該文件。 我的服務器是hetzner上的虛擬主機。所有在我的本地環境中都可以正常工作 –

+0

事實上,autoingest服務器似乎有問題。我也有幾天沒有收到任何報告。我嘗試了Apple的Autoingestion.Class(Java)和這個[非官方PHP類](https://github.com/kmonaghan/itunes-connect-auto-ingest),但都沒有返回任何內容,甚至沒有更早的日期。 –

+1

我有同樣的問題,我用tzunany的答案得到相同的標題。 – zirinisp

回答

0

我有同樣的錯誤。相同的代碼正在處理我的本地環境。

自動檢索從此itunes url https://reportingitc.apple.com/autoingestion.tft檢索數據。

在我的本地機器上,我可以正確下載數據。在這裏,您可以看到標題recived:

< HTTP/1.1 200 OK 
< Server: Apache-Coyote/1.1 
< X-UA-Compatible: IE=EmulateIE8 
< Set-Cookie: JSESSIONID=C661B770C05C723FB06CFD0223D46976; Path=/ 
< Content-Encoding: agzip 
< Content-Disposition: attachment;filename=S_D_85242578_20130923.txt.gz 
< filename: S_D_85242578_20130923.txt.gz 
< Content-Type: application/a-gzip 
< Transfer-Encoding: chunked 
< Date: Thu, 03 Oct 2013 13:47:48 GMT 

在我的督促environement我得到這些標題:

< HTTP/1.1 200 OK 
< Server: Apache-Coyote/1.1 
< X-UA-Compatible: IE=EmulateIE8 
< Content-Length: 0 
< Date: Thu, 03 Oct 2013 13:52:04 GMT 
< 

所以沒有其它的請求返回。 (使用相同版本的捲曲)

0

安裝OpenJDK爲我解決這個問題。