[jbosstools-issues] [JBoss JIRA] (JBIDE-11431) Cannot log into user account, invalid json being reported
Andre Dietisheim (JIRA)
jira-events at lists.jboss.org
Thu Mar 29 07:34:47 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-11431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680278#comment-12680278 ]
Andre Dietisheim commented on JBIDE-11431:
------------------------------------------
Talking to OpenShift server team we were suspecting some bugs when trying to kill a domain when you still have an app to cause this. When trying to reproduce I was not able. The response from the server had ssh-keys reported in both properties (*ssh_key* and *ssh_keys*):
{code}
"data" : { "app_info" : { },
"user_info" : { "consumed_gears" : 0,
"max_gears" : 5,
"namespace" : "mydom",
"rhc_domain" : "rhcloud.com",
"rhlogin" : "SOMEUSER",
"ssh_key" : "AAAAB3NzaC1yc2EAAAADAQABAAABAQCAiWmP7Jq5ZQLR3OXfRi2zEfbdbsZWtVxboqnqiXbsy9Z3+xynl/cu5kg2JnKebxS3vWiPRtmrF8NS8g/b2V1I4dIXw3v+yIMt2KfM00UTd3UwK+XBbJrRHN2IXM+F7LUYGWxJ6tOzith7tAn9kfdjs3FS3g8JTySN+eNrYvmSGA8N1N9Mww7rkDf+PpLXgE65Kh5PFElKIW7U4jMME6jCPDsgJKuJeNSKi+VhmVbOycOhTdX/sRbaidiYsXcZM1ZRQu9ImlpsLND8U82upCzgfRTJW1nHyhmCr3xvb0UUI+AfZXw08mThwBivO5y2R1GfuF7xmR5ms1KkMYxVGiGL",
"ssh_keys" : { "default" : { "key" : "AAAAB3NzaC1yc2EAAAADAQABAAABAQCAiWmP7Jq5ZQLR3OXfRi2zEfbdbsZWtVxboqnqiXbsy9Z3+xynl/cu5kg2JnKebxS3vWiPRtmrF8NS8g/b2V1I4dIXw3v+yIMt2KfM00UTd3UwK+XBbJrRHN2IXM+F7LUYGWxJ6tOzith7tAn9kfdjs3FS3g8JTySN+eNrYvmSGA8N1N9Mww7rkDf+PpLXgE65Kh5PFElKIW7U4jMME6jCPDsgJKuJeNSKi+VhmVbOycOhTdX/sRbaidiYsXcZM1ZRQu9ImlpsLND8U82upCzgfRTJW1nHyhmCr3xvb0UUI+AfZXw08mThwBivO5y2R1GfuF7xmR5ms1KkMYxVGiGL",
"type" : "ssh-rsa"
} },
"ssh_type" : "ssh-rsa",
"uuid" : "5eaa53a134874f2b82b9633877032893",
"vip" : false
}
},
"debug" : "",
"exit_code" : 0,
"messages" : "",
"result" : ""
}
{code}
So we still dont know when this can occur.
> Cannot log into user account, invalid json being reported
> ---------------------------------------------------------
>
> Key: JBIDE-11431
> URL: https://issues.jboss.org/browse/JBIDE-11431
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 3.3.0.Beta1
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Fix For: 3.3.0.Beta3
>
>
> in a mail from Nam Duong on the 27th of March:
> {quote}
> Hi,
> I am getting the following errors when trying to login to my openshift account in Eclipse, talked to Nam Duong and it was suggested to email you the error I got.
> {code}
> Could not check user credentials: Could not unmarshall response "{"messages":"","broker_c":["namespace","rhlogin","ssh","app_uuid","debug","alter","cartridge","cart_type","action","app_name","api"],"api":"1.1.3","api_c":["placeholder"],"exit_code":0,"result":"","debug":"","data":{"app_info":{"test1":{"framework":"php-5.3","embedded":{"mysql-5.1":{"info":"Connection URL: mysql://127.12.203.1:3306/\n"},"phpmyadmin-3.4":{"info":"URL: https://test1-cpc.rhcloud.com/phpmyadmin/\n"}},"aliases":null,"creation_time":"2012-03-26T11:11:29-04:00","uuid":"f86f404f81d94838a05816fd7fbabf30"}},"user_info":{"ssh_type":null,"consumed_gears":1,"rhc_domain":"rhcloud.com","system_ssh_keys":null,"vip":false,"max_gears":5,"namespace":"cpc","ssh_key":null,"ssh_keys":{"uk":{"type":"ssh-rsa","key":"KEYVALUE"}},"rhlogin":"USER@COMPANY","uuid":"eb6b8d6d25ab4961926215908a3fd474","env_vars":null}}}".
> {code}
> {quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list