mirror of
https://github.com/productiveops/dokemon.git
synced 2026-04-26 08:15:49 +03:00
[GH-ISSUE #1] Copy Not Working When Trying to Register New Server #2
Labels
No labels
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dokemon#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dnburgess on GitHub (Dec 12, 2023).
Original GitHub issue: https://github.com/productiveops/dokemon/issues/1
Updated to the current version as of this morning.
Tried to register a new server for remote management.
When I click the "Copy" button to get the code to run on the new server, nothing happens.
I opened my browser console in Chrome Version 120.0.6099.71 to see what's going on in the background and am getting the following:
Looking through the container logs, I just see this:
I also tried this in Firefox Version 119.0.1 and am getting the same result with this in the console:
@salilponde commented on GitHub (Dec 12, 2023):
Looks like its this: https://stackoverflow.com/a/51823007/22850013
I use localhost when testing locally and on my VMs I have DNS/https setup. So that might be the reason I did not encounter this issue while testing. Let me check with IP address and http and come up with a solution.
@salilponde commented on GitHub (Dec 12, 2023):
Fixed in 1.1.1
Fix:
I see the browsers do not allow copying when running over HTTP (navigation.clipboard object is not available)
So I have done the following fix:
In future versions I will add a feature to run Dokemon with self-signed certificates for those who do not have an SSL enabled reverse proxy in front of it.