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

[BUG] Can't Type as Client in Firefox #26

Closed
CorySanin opened this issue Jan 31, 2020 · 8 comments
Closed

[BUG] Can't Type as Client in Firefox #26

CorySanin opened this issue Jan 31, 2020 · 8 comments
Labels

Comments

@CorySanin
Copy link

@CorySanin CorySanin commented Jan 31, 2020

Describe the bug
Perhaps there is something I'm missing, but I'm unable to type anything into the browser through the client running inside of Firefox. Client works fine in Chrome.

To Reproduce
Steps to reproduce the behavior:

  1. Start docker container (nurdism/neko:firefox)
  2. Open the web client within Firefox
  3. Take control of the remote
  4. Attempt to type anything

Expected behavior
Can type into the remote browser when control is obtained

Screenshots
N/A

Desktop (please complete the following information):

  • OS: Windows, Manjaro
  • Browser: Firefox
  • Version: 72.0.2 for both OS's

Additional context
I tried using Chrome on Windows and it worked as expected. Still using Firefox within the container

Client Log:
I see this a bunch:

TypeError: "navigator.clipboard.readText is not a function"

Server Log:
N/A

@nurdism nurdism added the client label Jan 31, 2020
@doggogoesbork

This comment has been minimized.

Copy link

@doggogoesbork doggogoesbork commented Feb 2, 2020

had a similar issue through a nginx reverse proxy only. It went away randomly though

@CorySanin

This comment has been minimized.

Copy link
Author

@CorySanin CorySanin commented Feb 2, 2020

That might be the issue then. I'm also using nginx as a reverse proxy.

@nurdism

This comment has been minimized.

Copy link
Owner

@nurdism nurdism commented Feb 2, 2020

This might be due to firefox and needing https for clipboard access, I need to do some testing on firefox with https.

@CorySanin

This comment has been minimized.

Copy link
Author

@CorySanin CorySanin commented Feb 2, 2020

Do you think that if I use Chrome in the container and Firefox for the client that my setup would work?

@nurdism

This comment has been minimized.

Copy link
Owner

@nurdism nurdism commented Feb 2, 2020

well navigator.clipboard.readText is a client side issue, the server should be working.

@nurdism

This comment has been minimized.

Copy link
Owner

@nurdism nurdism commented Feb 2, 2020

so can confirm, does not work on ff, chrome works just fine. going to look into alternative for clipboard api on ff

https://i.imgur.com/FnkGCzw.png

@nurdism nurdism added the bug label Feb 2, 2020
nurdism added a commit that referenced this issue Feb 2, 2020
@nurdism

This comment has been minimized.

Copy link
Owner

@nurdism nurdism commented Feb 5, 2020

I've updated the docker container with a potential fix for this, please update and check it out. Reopen if this still an issue for you

@nurdism nurdism closed this Feb 5, 2020
@CorySanin

This comment has been minimized.

Copy link
Author

@CorySanin CorySanin commented Feb 6, 2020

Thanks, that works!

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.