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

Copy functionality (Copy message, copy id, copy token, copy scratchpad) does not work over http but does work over https #19643

Closed
drewmiranda-gl opened this issue Jun 14, 2024 · 2 comments · Fixed by #19654
Labels

Comments

@drewmiranda-gl
Copy link
Member

Copy functionality (Copy message, copy id, copy token, copy scratchpad) does not work over http but does work over https.

This appears to have been introduced starting with graylog 6.0.

See also #18788

Expected Behavior

Copy buttons provided in the UX copy text (at the very least show an error to let the user know the copy failed)

Current Behavior

Copy buttons do not work when accessing a graylog node via http

Possible Solution

@a-zombie (Rick) theorizes this is a result of the copy function only working via HTTPS: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/clipboard#browser_compatibility

Steps to Reproduce (for bugs)

Access graylog via http

Context

Your Environment

  • Graylog Version: 6.0.3
  • Browser version: Version 125.0.6422.142 (Official Build) (arm64)
@ryan-carroll-graylog
Copy link
Contributor

ryan-carroll-graylog commented Jun 14, 2024

@ValiDrv
Copy link

ValiDrv commented Jun 14, 2024

Confirmed I used http to access GrayLog (vpn, internal network), Under Ubuntu 22.04.3 LTS, and Chrome/Firefox/Edge.

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

Successfully merging a pull request may close this issue.

3 participants