Skip to content
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

Connection is closed by foreign host with xDebug in PhpStorm #1422

Closed
sereden opened this issue Mar 11, 2018 · 5 comments
Closed

Connection is closed by foreign host with xDebug in PhpStorm #1422

sereden opened this issue Mar 11, 2018 · 5 comments
Labels

Comments

@sereden
Copy link

sereden commented Mar 11, 2018

Info:

  • Docker version ($ docker --version): 17.12.0-ce, build c97c6d6
  • Laradock commit ($ git rev-parse HEAD): c4aef8e
  • System info (Mac, PC, Linux): macOS 10.13.3
  • PhpStorm: 2017.1.4
  • PhpStorm's JRE: 1.8.0_112

Issue:

I was following given tutorial to set up xDebug and I failed at step 1 when I need provide PhpStorm with insecure_id_rsa.ppk.
Firstly, I entered path to file in laradock/workspace and got

Keypair ‘laradock/workspace/insecure_id_rsa.ppk’ is corrupt or has unknown format. Only SSH2 keys in OpenSSH format or PuTTY Private Key *.ppk are supported. Error message: The cipher ‘aes256-cbc’ is required, but it is not available

screen shot 2018-03-11 at 11 20 44_censored

Then I've found two possible solutions.
First is to download the correct "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files" and replace PhpStorm's files. Which didn't help me and I still received the message described above.

And second one to re-export insecure_id_rsa using puttygen (it was a nightmare to do on Mac) and finally describing error disappeared. But Remote Host tab displays another problem -

connection is closed by foreign host

screen shot 2018-03-11 at 11 33 46_censored

Does anyone have ideas why it might happen? Maybe I mixed something?

@dmz9
Copy link

dmz9 commented Mar 14, 2018

@sereden
+1, any news on that? )

@sereden
Copy link
Author

sereden commented Mar 14, 2018

@dmz9 no :-( Have spent time re-installing from scratch, watched different tutorial, used different versions of PhpStorm (btw, the latest one displays another message) and still no results

@paslandau
Copy link

Not sure why it's even recommended to use the .ppk file. Did you try using "laradock/workspace/insecure_id_rsa"?

@stale
Copy link

stale bot commented Feb 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale label Feb 2, 2020
@stale
Copy link

stale bot commented Feb 23, 2020

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

@stale stale bot closed this as completed Feb 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants