I've got the same error: error: [Errno 54] Connection reset by peer [INFO ] Authentication Failed
*Please google, help us. I have to insert by hand the same data from appengine datastore. Please and thanks. But please, help. On Mar 10, 2:28 am, Brian Conneen <[email protected]> wrote: > I've seen a bunch of threads on this issue, but there doesn't seem to > be a definitive example of getting this to work. > > Essentially I want to migrate my existing Python app to Java, and I > know I can deploy both versions into production. But I want to do lots > of testing locally before ever deploying a Java version. And in order > to test, I need to upload my data into my local Java dev server > datastore. > > I can use bulkuploader to export the datastore from the production > PYTHON app and load it into a local PYTHON dev server datastore no > problem. I've done it hundreds of time. > > If I try to use the same export to load into my local JAVA dev server > datastore, I always get an AuthenticationException [See stack below]. > Yes I've configured remote_api. Yes I can > accesshttp://localhost:8888/remote_api > from a browser. It first takes me to the authentication page. But > bulkupload just won't work against my local JAVA dev datastore. > > I've now read every thread on this subject, and it seems like there > might be a commonality. Perhaps everyone running into this > AuthenticationException is running on a Mac? I really don't know > what's causing it, and I can't believe more people don't want to do > the same thing. > > Stack Trace: > > [DEBUG ] Bulkloader using app_id: bofprod > [INFO ] Connecting to localhost:8080/remote_api > [ERROR ] Exception during authentication > Traceback (most recent call last): > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/tools/bulkloader.py", line 3175, in Run > self.request_manager.Authenticate() > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/tools/bulkloader.py", line 1187, in Authenticate > remote_api_stub.MaybeInvokeAuthentication() > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/ext/remote_api/remote_api_stub.py", line 540, in > MaybeInvokeAuthentication > datastore_stub._server.Send(datastore_stub._path, payload=None) > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/tools/appengine_rpc.py", line 346, in Send > f = self.opener.open(req) > File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/ > python2.6/urllib2.py", line 389, in open > response = meth(req, response) > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/ext/remote_api/throttle.py", line 473, in > http_response > self.AddResponse(BANDWIDTH_DOWN, res) > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/ext/remote_api/throttle.py", line 414, in AddResponse > content = res.read() > File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/ > python2.6/socket.py", line 327, in read > data = self._sock.recv(rbufsize) > File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/ > python2.6/httplib.py", line 537, in read > s = self.fp.read(amt) > File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/ > python2.6/socket.py", line 351, in read > data = self._sock.recv(left) > error: [Errno 54] Connection reset by peer > [INFO ] Authentication Failed -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
