Hello Brian and Greg, We're hitting the same issue, also on Macs against a Java app. I searched and didn't find an open issue, so I started one: http://code.google.com/p/googleappengine/issues/detail?id=4721
If an issue already exists, please let me know so I don't duplicate bug reports. If not, please feel free to star it! Thanks for posting! Without knowing others are in the same boat, I was convinced I was doing something wrong ;) Cheers, Jason On Mar 10, 9:06 pm, Greg <[email protected]> wrote: > Brian, > > I have beaten my head against the wall on this problem myself. > > I agree with your assessment that it's likely a Mac issue. I'd really > like to see the dev team take a look at this. > > Good luck. Have you filed a bug yet? I've only just joined the group > and it was to complain about this problem. > > I've not explored the issue tracking system yet. Hopefully they are > aware of this issue. > > On Mar 9, 11:28 pm, 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.
