[AC-1023] Cannot enable cloud services
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2015-03-12T18:22:47.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Bill Noble |
Assignee | Radamantis Torres-Lechuga |
Created | 2015-03-03T19:06:42.000+0000 |
Updated | 2016-03-08T07:37:21.000+0000 |
Description
Steps to Reproduce
Click on enable button in tiappActual Result
Exception: Server returned HTTP response code: 400 for URL: https://api.cloud.appcelerator.com/v1/admins/studio_login.jsonExpected Result
Succesful enableAttachments
File | Date | Size |
---|---|---|
.log | 2015-03-03T19:06:43.000+0000 | 754 |
diagnostic8870013856810837583.log | 2015-03-03T19:06:48.000+0000 | 29192 |
[~bill.noble@vardas.com], 400 meaning that the request may have been malformed. Can you answer a few questions for me? 1. Can you run
2. Can you run
3. Have you ran your updates? This should get the ball rolling.
Hello [~bill.noble@vardas.com], I wasn't able to reproduce your issue so I think this definitely sounds like an environment issue. I compared our _ti info_ output and they seem pretty similar. Though, your _Java Development Kit_ is 1.8.0_31 where mine is 1.6.0. This seems suspicious to me since the error thrown in your log is a java error. Can you provide info as to how that version was installed? I'm fairly certain its higher than what normally comes on OSX 10.10.2 Yosemite. Thank you, Seth
I can't remember where I got the java kit but I do have a vague memory of having difficulty getting it. Is there a way to get 1.6.0?
Hello [~bill.noble@vardas.com], I can say for sure what the best supported way is. But I found this interesting article [here](http://www.jayway.com/2014/01/15/how-to-switch-jdk-version-on-mac-os-x-maverick/).
Do you recommend following those instructions and using version 1.6? Do you know where the bash profile can be found?
I have changed to version 1.6 and now when I click on the enable cloud button I no longer get an error message. But I also don't get any indication that the enable cloud has worked. Should I get some kind of confirmation?
[~bill.noble@vardas.com], for the purposes of deniability I cant really vouch for it. I just updated my .bash_profile and it seems to work, though I don't have multiple versions of java on my Mac. I would first check if you even have 1.6.0 on your mac
Your bash_profile can be found at ~/.bash_profile
[~bill.noble@vardas.com] - You should see a set of ACS/Cloud keys on the Overview view of the tiapp.xml. Or "acs" keys in the xml view of the tiapp.xml
I can't see anything on the overview page or the xml page. When I click on the enable button it whirrs for a while but that is all. My log file shows: !ENTRY org.eclipse.equinox.security 4 0 2015-03-03 21:27:04.891 !MESSAGE Secure storage was unable to retrieve the master password from the OS keyring. Make sure that this application has access to the OS keyring. If the error persists, the password recovery feature could be used, or secure storage can be deleted and re-created. !STACK 0 java.lang.SecurityException: Could not obtain password. Result: -25300 at org.eclipse.equinox.internal.security.osx.OSXProvider.getPassword(Native Method) at org.eclipse.equinox.internal.security.osx.OSXProvider.getPassword(OSXProvider.java:45) at org.eclipse.equinox.internal.security.storage.PasswordProviderModuleExt.getPassword(PasswordProviderModuleExt.java:35) at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getModulePassword(SecurePreferencesRoot.java:259) at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getPassword(SecurePreferencesRoot.java:224) at org.eclipse.equinox.internal.security.storage.SecurePreferences.put(SecurePreferences.java:224) at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.put(SecurePreferencesWrapper.java:110) at com.appcelerator.titanium.core.acs.ACSAppKey.save(ACSAppKey.java:193) at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppCloudSectionContributor$1$1.run(TiAppCloudSectionContributor.java:281) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) !ENTRY org.eclipse.equinox.security 4 0 2015-03-03 21:27:04.905 !MESSAGE Secure storage was unable to retrieve the master password from the OS keyring. Make sure that this application has access to the OS keyring. If the error persists, the password recovery feature could be used, or secure storage can be deleted and re-created. !STACK 0 java.lang.SecurityException: Could not obtain password. Result: -25300 at org.eclipse.equinox.internal.security.osx.OSXProvider.getPassword(Native Method) at org.eclipse.equinox.internal.security.osx.OSXProvider.getPassword(OSXProvider.java:45) at org.eclipse.equinox.internal.security.storage.PasswordProviderModuleExt.getPassword(PasswordProviderModuleExt.java:35) at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getModulePassword(SecurePreferencesRoot.java:259) at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getPassword(SecurePreferencesRoot.java:224) at org.eclipse.equinox.internal.security.storage.SecurePreferences.put(SecurePreferences.java:224) at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.put(SecurePreferencesWrapper.java:110) at com.appcelerator.titanium.core.acs.ACSAppKey.save(ACSAppKey.java:193) at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppCloudSectionContributor$1$1.run(TiAppCloudSectionContributor.java:281) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) !ENTRY org.eclipse.equinox.security 4 0 2015-03-03 21:27:04.951 !MESSAGE Secure storage was unable to retrieve the master password from the OS keyring. Make sure that this application has access to the OS keyring. If the error persists, the password recovery feature could be used, or secure storage can be deleted and re-created. !STACK 0 java.lang.SecurityException: Could not obtain password. Result: -25300 at org.eclipse.equinox.internal.security.osx.OSXProvider.getPassword(Native Method) at org.eclipse.equinox.internal.security.osx.OSXProvider.getPassword(OSXProvider.java:45) at org.eclipse.equinox.internal.security.storage.PasswordProviderModuleExt.getPassword(PasswordProviderModuleExt.java:35) at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getModulePassword(SecurePreferencesRoot.java:259) at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getPassword(SecurePreferencesRoot.java:224) at org.eclipse.equinox.internal.security.storage.SecurePreferences.get(SecurePreferences.java:262) at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.get(SecurePreferencesWrapper.java:106) at com.appcelerator.titanium.core.acs.ACSAppKey.
Can you do repair your disk permissions and the reboot the machine?
Did both those but still no joy.
When pressing the cloud enable button the following appears on my log: !ENTRY org.eclipse.equinox.security 4 0 2015-03-04 11:14:19.224 !MESSAGE Secure storage was unable to retrieve the master password from the OS keyring. Make sure that this application has access to the OS keyring. If the error persists, the password recovery feature could be used, or secure storage can be deleted and re-created. !STACK 0 java.lang.SecurityException: Could not obtain password. Result: -25300 at org.eclipse.equinox.internal.security.osx.OSXProvider.getPassword(Native Method) at org.eclipse.equinox.internal.security.osx.OSXProvider.getPassword(OSXProvider.java:45) at org.eclipse.equinox.internal.security.storage.PasswordProviderModuleExt.getPassword(PasswordProviderModuleExt.java:35) at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getModulePassword(SecurePreferencesRoot.java:259) at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getPassword(SecurePreferencesRoot.java:224) at org.eclipse.equinox.internal.security.storage.SecurePreferences.put(SecurePreferences.java:224) at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.put(SecurePreferencesWrapper.java:110) at com.appcelerator.titanium.core.acs.ACSAppKey.save(ACSAppKey.java:193) at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppCloudSectionContributor$1$1.run(TiAppCloudSectionContributor.java:281) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) !ENTRY org.eclipse.equinox.security 4 0 2015-03-04 11:14:19.239 !MESSAGE Secure storage was unable to retrieve the master password from the OS keyring. Make sure that this application has access to the OS keyring. If the error persists, the password recovery feature could be used, or secure storage can be deleted and re-created. !STACK 0 java.lang.SecurityException: Could not obtain password. Result: -25300 at org.eclipse.equinox.internal.security.osx.OSXProvider.getPassword(Native Method) at org.eclipse.equinox.internal.security.osx.OSXProvider.getPassword(OSXProvider.java:45) at org.eclipse.equinox.internal.security.storage.PasswordProviderModuleExt.getPassword(PasswordProviderModuleExt.java:35) at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getModulePassword(SecurePreferencesRoot.java:259) at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getPassword(SecurePreferencesRoot.java:224) at org.eclipse.equinox.internal.security.storage.SecurePreferences.put(SecurePreferences.java:224) at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.put(SecurePreferencesWrapper.java:110) at com.appcelerator.titanium.core.acs.ACSAppKey.save(ACSAppKey.java:193) at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppCloudSectionContributor$1$1.run(TiAppCloudSectionContributor.java:281) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) !ENTRY org.eclipse.equinox.security 4 0 2015-03-04 11:14:19.282 !MESSAGE Secure storage was unable to retrieve the master password from the OS keyring. Make sure that this application has access to the OS keyring. If the error persists, the password recovery feature could be used, or secure storage can be deleted and re-created. !STACK 0 java.lang.SecurityException: Could not obtain password. Result: -25300 at org.eclipse.equinox.internal.security.osx.OSXProvider.getPassword(Native Method) at org.eclipse.equinox.internal.security.osx.OSXProvider.getPassword(OSXProvider.java:45) at org.eclipse.equinox.internal.security.storage.PasswordProviderModuleExt.getPassword(PasswordProviderModuleExt.java:35) at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getModulePassword(SecurePreferencesRoot.java:259) at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getPassword(SecurePreferencesRoot.java:224) at org.eclipse.equinox.internal.security.storage.SecurePreferences.get(SecurePreferences.java:262) at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.get(SecurePreferencesWrapper.java:106) at com.appcelerator.titanium.core.acs.ACSAppKey.
Hello Bill, I'm sorry you're having difficulty still. Can you confirm that the java version was changed by running _java -version_ in the terminal? For the password issue, can you try logging out of Studio and then logging back in? Thank you, Seth
Yes definitely running 1.6 and have quit and relaunched titanium several times
Hello [~bill.noble@vardas.com], Not quit, but _logout_. You should be able to click your name down the the very bottom right corner to logout. Then when you reopen Titanium it should ask you to login again. Thank you, Seth
It asks me to login every time i launch titanium
[~bill.noble@vardas.com] Please try this: 1. logout from Studio 2. Make sure that Studio is not running 3. Open terminal 4. Go to your home directory 5. cd .eclipse 6. remove the file org.eclipse.equinox.security 7. Start Studio Is going to ask you for your credentials and is going to rebuild the file that we delete, after that you should be good to go. Also, make sure that you have admin privileges on that computer
Can not reproduce