Bug 1065552 - Unhandled exeception reference when viewing /app/console
Summary: Unhandled exeception reference when viewing /app/console
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Website
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Jordan Liggitt
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-14 22:53 UTC by Stefanie Forrester
Modified: 2015-05-15 01:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-12 03:07:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Full traceback of error from site/production.log (13.34 KB, text/x-log)
2014-02-14 22:53 UTC, Stefanie Forrester
no flags Details

Description Stefanie Forrester 2014-02-14 22:53:25 UTC
Created attachment 863465 [details]
Full traceback of error from site/production.log

Description of problem:

When a user attempted to view the /app/console, an error with this reference ID was displayed:

#954af93677862c643d54da31715c16f1

Searching the console logs for this error gives some context:

2014-02-14 10:13:12.183 [INFO ] Started GET "/app/console" for 66.187.233.202 at 2014-02-14 10:13:12 -0500 (pid:27317)
2014-02-14 10:13:12.186 [INFO ] Processing by ConsoleIndexController#index as HTML (pid:27317)
2014-02-14 10:13:12.187 [DEBUG] Session contents: {"ticket"=>"0|aNItehiwQj1ci5IoqEwjTeH2moXxNff6zJY", "login"=>"cknapp", "streamline_type"=>:full, "session_id"=>"1af109b85d275f91986c021ee4967fb0", "_csrf_token"=>"AEIjGPizfg/nOEXaMMVsAxrbv1X3xqRgwL/6Crx7K2g="} (pid:27317)
2014-02-14 10:13:12.459 [DEBUG] Streamline call (270.9ms) terms! /wapps/streamline/protected/findUnacknowledgedTerms.html?hostname=openshift.redhat.com&context=OPENSHIFT&locale=en [ args: {}, code: 302, response: nil, exception: ["Streamline::StreamlineException", "No JSON in response "] ] (pid:27317)
2014-02-14 10:13:12.461 [ERROR] Unhandled exception reference #954af93677862c643d54da31715c16f1: No JSON in response 


(Full traceback attached)

The login name used here, cknapp, does not appear to be present in our system (nothing in mongo, and our ops tools return "Error: User 'cknapp' not found". 

Version-Release number of selected component (if applicable):


How reproducible:
Unsure. It only seem to be a single case at this point.

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Yujie Zhang 2014-02-17 05:08:54 UTC
Tried several times on devenv_4382 and devenv-stage_689, can not reproduce this bug, user can login without error.

Comment 2 Jordan Liggitt 2014-02-17 16:36:25 UTC
Probably due to expired Streamline ticket. Will fix to handle 302 response from Streamline better.

In the meantime, does logging out (or clearing cookies) and logging in again fix the problem?

Comment 3 Chester Knapp 2014-02-17 17:11:01 UTC
(In reply to Jordan Liggitt from comment #2)
> Probably due to expired Streamline ticket. Will fix to handle 302 response
> from Streamline better.
> 
> In the meantime, does logging out (or clearing cookies) and logging in again
> fix the problem?

Yeah, I'm not seeing the issue anymore. https://openshift.redhat.com/app/console now redirects me to https://openshift.redhat.com/app/console/applications (expected, since I have no existing apps right now).

Comment 4 Chester Knapp 2014-02-17 17:15:11 UTC
Also, I just received a "Welcome to your OpenShift account. Create your first App now." email, so it seems my account may not have been fully initialized until just now.

Comment 5 Jordan Liggitt 2014-02-17 17:45:46 UTC
Will merge fix in https://github.com/openshift/li/pull/2382

Comment 6 Yujie Zhang 2014-02-18 03:04:47 UTC
Tested on devenv-stage_700, user can login successfully without error, so verify this bug, thanks.


Note You need to log in before you can comment on or make changes to this bug.