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

[Docker Build] Unable to connect to the Sshwifty backend server: #8

Closed
gitkalz opened this issue Dec 3, 2019 · 7 comments
Closed

Comments

@gitkalz
Copy link

gitkalz commented Dec 3, 2019

Hi,

Thank you so much for this beautiful implementation.. Great Work.

After trying the Heroku URL, i wanted to build this project on my system and hence I cloned the project and used the available Dockerfile (No changes to any files) and issued docker build -t ssh . at the root of the project.

The build seemed to be successful, however launching the container using

docker run --detach \
  --restart=always \
  --publish 8182:8182 \
  --name sshwifty \
  ssh

aa9d179b9a95180d4c9d4822b7b7e4ef8b01eb50e75c2a3e3427fd4e27504d6e

When I browse to IP:8182 , i could see the FrontEnd page available, however when I navigate to + > SSH (or) Telnet, i receive a browser pop up as indicated below

Unable to connect to the Sshwifty backend server: TypeError: Cannot read property 'importKey' of undefined

You see any wrong doing on my actions? Kindly advise if this can fixed/corrected.

@gitkalz
Copy link
Author

gitkalz commented Dec 3, 2019

Well, After reading the README carefully, i see that this is a known issue and you suggested to switch browser or to HTTPS..

My bad for jumping the gun.. Keep up your good work! Thanks again for sharing.

@gitkalz gitkalz closed this as completed Dec 3, 2019
@nirui
Copy link
Owner

nirui commented Dec 4, 2019

I don't even have a chance to respond. Glad you've resolved the problem pal :)

@IIIdefconIII
Copy link

Well, After reading the README carefully, i see that this is a known issue and you suggested to switch browser or to HTTPS..

My bad for jumping the gun.. Keep up your good work! Thanks again for sharing.

Can you share how you fixed it? Ty

@nirui
Copy link
Owner

nirui commented Oct 11, 2023

Hi, @IIIdefconIII, probably this: https://github.com/nirui/sshwifty#why-i-got-error-typeerror-cannot-read-property-importkey-of-undefined, or to put it into short words: setup HTTPS for Sshwifty.

@IIIdefconIII
Copy link

IIIdefconIII commented Oct 11, 2023 via email

@nirui
Copy link
Owner

nirui commented Oct 11, 2023

Hi @IIIdefconIII, can you describe a little bit more about the problem? Error message, log output, which browser used etc and other information that might help debugging the issue?

@IIIdefconIII
Copy link

IIIdefconIII commented Oct 11, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants