Community
Participate
Working Groups
Commits pulled this morning but I've been seeing it for a while. Steps: 1. Start Orion 2. Open Firebug console 3. Go to http://localhost:8080/index.html => GET http://localhost:8080/org.dojotoolkit/... 200 OK GET http://localhost:8080/auth2 200 OK GET http://localhost:8080/defaults.pref 304 Not Modified GET http://localhost:8080/prefs/user/plugins 401 Unauthorized <= is this expected? POST http://localhost:8080/login 200 OK POST http://localhost:8080/login/form 200 OK POST http://localhost:8080/login 200 OK GET http://localhost:8080/prefs/user/plugins 404 Not Found <= is this expected? ... I haven't noticed any side effects.
(In reply to comment #0) > I haven't noticed any side effects. Well, this is not quite true. Opening the welcome page takes a little longer on my box comparing to Szymon. Refreshing with Ctrl+Shift+R and doing localStorage.clear() didn't help.
This is expected but we might see if there is something we can do to prevent a console message.
I am seeing this on my instance of Orion as well (http://develop.cloudfier.com/). Is this really expected? What is involved? How to address it? Cheers.
Note that in my case, the site never loads. It seems that is not expected in this report, so there may be something else at play.
The 401 and 404 on /prefs/user/plugins is expected and does no harm. If you have no extra plugins installed then you get a 404 attempting to get the plugins preference. We should be able to suppress it. I believe the 401 is a timing issue that we haven't authenticated yet and we are trying to get the plugin list too early. If no user is logged in then 401 on getting plugins is correct. If you have seeing problems with the site not loading at all I think you are seeing something else and these messages are unrelated.
I am marking this major as it is becoming increasingly irritating to keep seeing the 404 errors in the console when trying to debug the Orion client. When I toggle on the console in Chrome it should be clean of anything at all times. GET http://localhost:8080/prefs/user/cm/configurations 404 (Not Found) GET http://localhost:8080/prefs/user/common-nav 404 (Not Found) GET http://localhost:8080/prefs/user/sectionsOrder 404 (Not Found) If there are no user preferences, can we not just return an empty list and not a 404?
(In reply to Anthony Hunter from comment #6) > If there are no user preferences, can we not just return an empty list and > not a 404? We now return an empty JSON Object. We walked the client code and there are no issues with the change. Fixed with commit http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=70521691731f26c0f76dbeac4dc6ddb708f04d19