Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349333 - [git] git-status.html not working in self-hosting mode
Summary: [git] git-status.html not working in self-hosting mode
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: Simon Kaegi CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-14 11:08 EDT by Boris Bokowski CLA
Modified: 2011-09-01 11:42 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Bokowski CLA 2011-06-14 11:08:34 EDT
I am running the latest code on a subdomain of orion.eclipse.org (http://binner.orion.eclipse.org:8080). I am getting errors in the console for the git-status.html page:

Error: Unable to load http://localhost:8080/gitapi/commit/HEAD..3690e203c05fcea0eb5974709cbedc04da813f53/file/x/ status:0
var err = new Error("Unable to load...oArgs.url + " status:" + xhr.status);
xhr.js (line 774)
HTTP status code: 0
gitClient.js (line 714)
Error: Unable to load http://localhost:8080/gitapi/commit/HEAD..3690e203c05fcea0eb5974709cbedc04da813f53/file/x/ status:0
var err = new Error("Unable to load...oArgs.url + " status:" + xhr.status);
xhr.js (line 774)
Error: Unable to load http://localhost:8080/gitapi/commit/HEAD..3690e203c05fcea0eb5974709cbedc04da813f53/file/x/ status:0
var err = new Error("Unable to load...oArgs.url + " status:" + xhr.status);
xhr.js (line 774)
Error: Unable to load http://localhost:8080/gitapi/commit/HEAD..3690e203c05fcea0eb5974709cbedc04da813f53/file/x/ status:0
var err = new Error("Unable to load...oArgs.url + " status:" + xhr.status);
xhr.js (line 774)
GET http://binner.orion.eclipse.org:8080/gitapi/remote/origin/master/file/x/
	
200 OK
		50ms	
xhr.js (line 880)
POST http://binner.orion.eclipse.org:8080/gitapi/commit/3690e203c05fcea0eb5974709cbedc04da813f53/file/x/
	
200 OK
		50ms	
xhr.js (line 880)
Error: Unable to load http://localhost:8080/gitapi/commit/3690e203c05fcea0eb5974709cbedc04da813f53..HEAD/file/x/ status:0
var err = new Error("Unable to load...oArgs.url + " status:" + xhr.status);
xhr.js (line 774)
HTTP status code: 0
gitClient.js (line 714)
Error: Unable to load http://localhost:8080/gitapi/commit/3690e203c05fcea0eb5974709cbedc04da813f53..HEAD/file/x/ status:0
var err = new Error("Unable to load...oArgs.url + " status:" + xhr.status);
xhr.js (line 774)
Error: Unable to load http://localhost:8080/gitapi/commit/3690e203c05fcea0eb5974709cbedc04da813f53..HEAD/file/x/ status:0
var err = new Error("Unable to load...oArgs.url + " status:" + xhr.status);
xhr.js (line 774)
Error: Unable to load http://localhost:8080/gitapi/commit/3690e203c05fcea0eb5974709cbedc04da813f53..HEAD/file/x/ status:0
var err = new Error("Unable to load...oArgs.url + " status:" + xhr.status);
Comment 1 Simon Kaegi CLA 2011-06-14 14:38:52 EDT
The problem here is that we need to proxy the Location: headers. ++fun
Comment 2 Simon Kaegi CLA 2011-06-14 16:36:22 EDT
Fixed in HEAD. Reviewed by two Johns and Mark.