Community
Participate
Working Groups
using orion.eclipse.org (I20120201-2230) 1. Go to the git-repository page for my clone of orion.client.core. 2. Click "Pull" beside the repo (or "Fetch" beside the remote). 3. Nothing happens in the UI. The Network Log shows an error 400 is returned by the server. This only happens in Chrome. Firefox works OK. I tried clearing my cache/localStorage/refreshing plugins and it didn't help.
Here is the HTTP talk that happens when I try to pull. -- Request -- POST /gitapi/clone/file/G/ HTTP/1.1 Host: orion.eclipse.org Connection: keep-alive Content-Length: 136 Origin: http://orion.eclipse.org Orion-Version: 1 X-Requested-With: XMLHttpRequest User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.46 Safari/535.11 Content-Type: application/x-www-form-urlencoded Accept: */* Referer: http://orion.eclipse.org/git/git-repository.html Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: JSESSIONID=9zz3a7q0dxe9u1i1xc8kcruv {"Pull":"true","Force":false,"GitSshUsername":"","GitSshPassword":"","GitSshKnownHost":null,"GitSshPrivateKey":"","GitSshPassphrase":""}: -- Response -- HTTP/1.1 400 Bad Request Date: Thu, 02 Feb 2012 23:00:44 GMT Server: Jetty(8.1.0.RC4) Content-Type: application/json; charset=UTF-8 Vary: Accept-Encoding Content-Encoding: gzip Content-Length: 468 Connection: close {"JsonData":{"Scheme":"ssh","HostKey":"AAAAB3NzaC1yc2EAAAABIwAAAIEAuKF3Ly38celFqKvVs1nAikEnNHxfW/nvg5mE/nOJQJNWMcNX/yxsr3pxfYWW5EVVDQ+SYUtpJjP36m04jaai/nHBuJTa4diubdzYM/wA4ZMf0zef2LqY/+aE6o3TGbKR3N181pXRBfKeOm92Vig4pLINoV3Im0ebblz6HDDrNtE=","Host":"dev.eclipse.org","KeyType":"ssh-rsa","User":"mmacdonald","HumanishName":"org.eclipse.orion.client","HostFingerprint":"68:d8:ed:a9:c2:d8:7b:b8:90:56:0c:9e:d9:8a:17:6c","Url":"ssh://mmacdonald@dev.eclipse.org/gitroot/orion/org.eclipse.orion.client.git"},"HttpCode":400,"DetailedMessage":"The authenticity of host dev.eclipse.org can't be established","Message":"The authenticity of host dev.eclipse.org can't be established","Severity":"Error","Code":0}
After I cleared my localStorage and cookies in Firefox, I started to observe the same problem.
Fixed. After some reorganization I've made recently in gitClient those responses wheren't correctly handled if Fetch or Push did not switch to task and in your case I see that response was quick enough not to switch to task.