Public key - Application error - heroku

Hey I'm new in programming Facebook applications and I wanted to start with Heroku but I have big problems to start working with it.
After I logged on in the console I am asked whether I want to create a SSH public key. When I'm entering yes I get the message that it's generating a public key to C:/Users/Test/.ssh/id_rsa.pub.
Then it says
Uploading SSH public key C:/Users/Test/.ssh/id_rsa.pub.. - failed.
! Application error.
Can anybody help me? :(

Here I have the same problem...
The solution I found was:
1) Open your file "C:/Users/Test/.ssh/id_rsa.pub" with any ext editor.
2) Copy the content, begininig with "ssh-rsa" until "==".
3) go to https://dashboard.heroku.com/account
4) copy this to "add new ssh key", press Add key.

I was getting the same error you may have not run the ssh-keygen.exe present in ..\Git\bin then you must enter the address of your ssh key in your case it seems to be C:/Users/Test/.ssh/id_rsa after that you should login .

Related

gpg2: Where's Linus' key?

I'm trying to build a linux kernel for my Arch install. I'd like to verify the signatures but find I can't get the keys needed to do that:
[joemadeus#<host>]$ gpg2 -vvv --locate-keys torvalds#kernel.org gregkh#kernel.org
gpg: using character set 'iso-8859-1'
gpg: using pgp trust model
gpg: key <HEX CHARS HERE> accepted as trusted key
gpg: error retrieving 'gregkh#kernel.org` via Local: No public key
gpg: error retrieving 'gregkh#kernel.org` via WKD: No data
gpg: error reading key: No data
gpg: error retrieving 'torvalds#kernel.org` via Local: No public key
gpg: error retrieving 'torvalds#kernel.org` via WKD: No data
gpg: error reading key: No data
Obviously these keys are there and something is wrong with the way I'm going after them. Unfortunately there's nothing here that gives me any hints, even with verbose turned on. And, searching about I find... nothing.
I do have connectivity to the outside world and can get to kernel.org via http without any trouble. In fact, that's where I found out how to get the keys: https://www.kernel.org/category/signatures.html I've tried several times over the last couple of days, so I don't think kernel.org is having problems (unless they're very long-lived ones.)
I have created a key for myself with this login on the local system. I haven't pushed it out anywhere. I don't know if any of that matters.
Any hints?
The solution comes from this post, found by a friend of mine, which answers a similar question (but with a different error message): https://askubuntu.com/a/1027703
The default gpg config on Arch does not include:
auto-key-locate cert,pka,dane,wkd,keyserver
...and I did not supply it on the command line (didn't know it existed.) Once this option was specified it found the keys.
The easiest way of importing the key of Linus and Greg is by fetching it directly by fingerprint as found by your link.
Fetch Linus Torvalds key:
gpg --search-keys ABAF11C65A2970B130ABE3C479BE3E4300411886
Fetch Greg Kroah-Hartmans key:
gpg --search-keys 647F28654894E3BD457199BE38DBBDC86092693E
This approach also makes it easier to ensure you fetch the correct keys and not any key published with the email addresses.

invalid login or password Mcrypt error

I' facing an issue with registered Customer through checkout.
After the checkout process, the customer lands in “My Account” but once logged off, he can’t acces "My Account" anymore, the message "Invalid login or password" is displayed.
Setting a new password through “Forgotten Password” button seems to solve the problem for the customer.
The system.log file is displaying:
Warning: mcrypt_generic_init(): Key size is 0 in /lib/Varien/Crypt/Mcrypt.php on line 94
Warning: mcrypt_generic_init(): Key length incorrect in /lib/Varien/Crypt/Mcrypt.php on line 94
Warning: mcrypt_generic_deinit(): 495 is not a valid MCrypt resource in /lib/Varien/Crypt/Mcrypt.php on line 135
Warning: mcrypt_module_close(): 495 is not a valid MCrypt resource in /lib/Varien/Crypt/Mcrypt.php on line 136
I thought it might be relative to my server configuration, but it's not the case as by installing a fresh Magento in a folder in the root of the same installation is doing its job properly with the same server configuration and Mcrypt.php. Moreover, the password set during registration with form (?and using the same encryption?), is set properly.
Any suggestion bout how to solve this problem?
Got it!
The encryption field was empty in app/etc/local.xml
<crypt>
<key><![CDATA[]]></key>
</crypt>
So, placed the encryption key of the fresh installation I did in my subfolder and it solved the issue.
<crypt>
<key><![CDATA[encryption_key]]></key>
</crypt>
I don't know what happened during the first installation of Magento on my server, I've double checked in my backups and there's nothing here from the beginning.
I hope nothing else has failed during installation, any suggestion of files generated during installation I should look at?

SQLite Can't open — Meteor create app

I'm trying to create a new app with Meteor (this is the first time I've used it on this computer).
When I try and start a new app:
meteor create simple-todos
I'm getting the following error and creating the app fails:
{ [Error: SQLITE_CANTOPEN: unable to open database file]
stack: [Getter] }
And below that I get some other errors:
Error: SQLITE_CANTOPEN: unable to open database file
at Object.Future.wait (/Users/Jack/.meteor/packages/meteor-tool/.1.1.4.2l3p0l++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:398:15)
I can't find other people having this same issue, so I'm a bit in the dark as to how to debug or fix. Pointers as to how to debug / fix this would be really helpful.
It may be a permission error.
In order to fix this issue, you could try to adjust the permission by running this command:
sudo chown -R $USER ~/.meteor

Oracle isqlplus won't start and stay on starting status

I'm new on oracle and I just installed the "Oracle 10g"
but I can't access the "isqlplus" via " localhost:5560/isqlplus " it says : "unable to connect"
so when I check the services I found everything Running but "sqlplus" is stuck on "Starting" status ... and when I tried to start it from console using : "isqlplusctl start" it says the error message shown in the picture below :
I hope you can help me solve this problem please .
thanks.
I found the solution myself ! and I wanna keep it here ,maybe someone else will need it later ...
so the solution is to go to "Net Configuration Assistant" in Oracle then remove the actual Listener, and add a new on again ;)
it will work fine ;) and the isqlplus will start then ;)

Jmeter 2.10 and 2.11 don't let me start a HTTP Script Recorder

I'm having trouble starting a proxy server for jmeter 2.10 and 2.11. I found a couple links here on SO and apache.org but my error message is slightly different that what's written on these links. Per the wiki from apache.org, I don't think I have trouble finding keytool because it returns the path when I do a
which keytool
/usr/bin/keytool
and I don't have trouble creating a file in the jmeter-210 and jmeter-211/bin dirs. This is the error message I get in my jmeter.log file:
ERROR - jmeter.protocol.http.proxy.ProxyControl: Could not initialise key store java.io.IOException: Command :'"keytool" "-genkeypair" "-alias" ":root_ca:" "-dname" "CN=_ DO NOT INSTALL unless this is your certificate (JMeter root CA), OU=Username: COMPANY\user.name, C=US" "-keyalg" "RSA" "-keystore" "proxyserver.jks" "-storepass" "randomstr1" "-keypass" "randomstr1" "-validity" "7" "-ext" "bc:c"' failed, code: 1
keytool error: java.io.IOException: Invalid escaped character in AVA: 's'
I don't know what this "invalid escaped char in AVA" is. My company and username don't have the string "AVA" and I didn't find it in any of the property files in jmeter-21x/bin.
Not sure if this is affecting it but I'm running jmeter from Darwin on a MBP, OSX 10.7.5.
JMeter 2.9 doesn't give me any proxy issues, although, I ran into other issues with it, which is why I tried using these 2 newer versions, which are giving me problems with the proxy server. I'll try going down to 2.8 to see what happens but I'd rather not if I can help it. That and I'm super curious what the issue is with 2.1x and my laptop. Thanks in advance for your help.
EDIT: The COMPANY/user.name part of the error message was changed this way to sanitize the error message, although, I will try at home on my linux box to see if the funny username representation is the cause.
As per sebb response on User Mailing List:
"I suspect it might be in the string "COMPANY\user.name" which is
derived from the Java system property "user.name".
You could try redefining it on the command line (or in
system.properties) to something simpler, for example:
-Duser.name=foobar
A bug has been opened to fix this issue with "\" character:
https://issues.apache.org/bugzilla/show_bug.cgi?id=56178

Resources