-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refresh app list always give error "Failed to get accounts list for <account name>" #9
Comments
This whole plugin needs some work. I intend to clean it up, but it'll take a few releases. Have you tried recreating the project since you authorized Heroku? This is the workflow that worked for me:
|
Hi tylermauthe, Yes I tried a couple of times without success . But one last try started working!!. Thanks |
Ah okay, that is good info. I will investigate this while I investigate #8. I have the exact same setup as you, so any info you can provide is very helpful. For myself, I've found that once I've added the app to the project I can continue to deploy to my dyno; even after Strider goes to sleep from idling. |
Hi tylermauthe, I will keep adding detailed findings for "the next to come" ;). Best |
The problem is that ssh-keypair generates an dss key which heroku does not like so nothing works. Even if you add a new account. So the ssh-key must be one that is supported:"ssh-dsa, ssh-rsa, ecdsa-sha2-nistp256" Generating an ssh-rsa it works (adding the account to your account) but when you want to do the same in a project it does not work :( |
Oh yes, with the updated plugin, (having an RSA key works). So i guess you should change this ssh-keypair library. |
Any updates here? |
Hi have a strider instance running on heroku.
The idea is to deploy a project on another heroku app.
With 1.2 update I managed to link the heroku account (no more localhost error with the heroku oAuth2 dance :D) and now I can see my account as "linked account" in the heroku plugin.
The problem is that clicking the refresh Apps List to get the apps in the combo, it always shows the toast error "Failed to get accounts list for ".
Created the api client and added the client keys as PLUGIN_HEROKU_CLIENT_ID (and KEY) to the heroku app running strider.
-Used Heroku belt as described. Didn't work.
-Added also in the web console as config vars. Still the same
-Even added in strider web console as Environment Variables for the project to build. Same thing.
-Desperation rules, also added as HEROKU_OAUTH_ID and key just in case. Same thing.
Debugging strider when the message appears I see an Error 500 and a json from heroku with
failed to get apps from api: Status: 401; {"id":"unauthorized","error":"Invalid credentials provided."}
Regenerated the api just in case. Same issue.
The thing is that if I try to rebuild the project manually, it shows the project as failed and shows
Error: Invalid heroku configuration. Account not found
at module.exports.init (/app/node_modules/strider-heroku/worker.js:7:15)
at /app/node_modules/strider-simple-runner/lib/index.js:258:14
at /app/node_modules/strider-simple-runner/node_modules/async/lib/async.js:454:21
at /app/node_modules/strider-simple-runner/node_modules/async/lib/async.js:185:13
at /app/node_modules/strider-simple-runner/node_modules/async/lib/async.js:86:13
at Array.forEach (native)
at _forEach (/app/node_modules/strider-simple-runner/node_modules/async/lib/async.js:26:24)
at async.forEach (/app/node_modules/strider-simple-runner/node_modules/async/lib/async.js:85:9)
at _asyncMap (/app/node_modules/strider-simple-runner/node_modules/async/lib/async.js:184:9)
at Object.map (/app/node_modules/strider-simple-runner/node_modules/async/lib/async.js:168:23)
But clicking on configure and then Heroku, it shows the linked heroku account.
Looks like I'm missing something, because it looks so dawn simple : D
Any hint?
thanks!
The text was updated successfully, but these errors were encountered: