2013-11-01 2 views
0

내 appengine 응용 프로그램에서 데이터 저장소를 다운로드해야합니다. 응용 프로그램 자체는 JAVA로 작성되었으며 this instruction에 따라 이미 원격 API를 활성화했습니다. 그럼 난 appcfg.py를 실행하고 세부 사항에 로그 나에게 요청하고 나는 다음과 같은 결과를 얻을 :AppEngine 원격 API가 계속 반환 302

분명 내가 앱 내 메일을 숨긴하지만 (나는 동일한 자격 증명을 올바르게 사용하는
06:18 PM Downloading data records. 
[INFO ] Logging to bulkloader-log-20131101.181851 
[INFO ] Throttling transfers: 
[INFO ] Bandwidth: 250000 bytes/second 
[INFO ] HTTP connections: 8/second 
[INFO ] Entities inserted/fetched/modified: 20/second 
[INFO ] Batch Size: 10 
Please enter login credentials for [_app_address_]  
Email: [_My_Google_Mail_] 
Password for [_My_Google_Mail_]: 
Error 302: --- begin server output --- 

--- end server output --- 

사용 appcfg.sh을 새 버전 배포).

는 응용 프로그램 구성이 도움이된다면 : 인증 유형 : (실험) 연합 로그인 데이터 저장소 복제 옵션 : 나는 그것에 대해 무엇을 할 수 높은 복제

? 생산 데이터의 로컬 사본을 가져와야합니다 ...

답변

0

허. 문제가 있습니다. Note: Bulk upload and download is not supported for apps that use Federated (OpenID) authentication

누군가가 유용하다고 생각하여 해결책을 찾았습니다. 데이터를 다운로드하려면 Google 계정 인증 유형으로 두 번째 앱을 만들고 this instruction에서 간단한 파이썬 앱을 업로드했습니다. 타겟팅 내 소스 응용 프로그램에서 개체를 이동 한 후 간단한 appcfg.py 호출을 사용하여 다운로드 할 수 있었다 이런 식으로 ...

0
The parameter `--url` needs to start with `https` 
e.g. 
`appcfg.py upload_data --config_file=bulkloader.yaml --url=https://<APP_ID>.appspot.com/remote_api --kind=<ENTITY> --filename=<FILE_NAME>.csv`