Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Not able to load Spotlight when deployed with my application #457

Closed
jais001 opened this issue Jul 25, 2024 · 2 comments
Closed

Not able to load Spotlight when deployed with my application #457

jais001 opened this issue Jul 25, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@jais001
Copy link

jais001 commented Jul 25, 2024

Hi,

I have developed an application that utilizes Spotlight and deployed it on an EC2 instance. The application includes an API endpoint to create a Spotlight instance and return the port. However, when attempting to create the Spotlight instance via the API, I encounter the following error:

"error": "Starting Spotlight on non-localhost without TLS certificate is insecure. Please provide TLS certificate and key."

To resolve this, I added the parameter no_ssl = True, which allowed us to create the Spotlight instance. However, when attempting to load Spotlight using the public address, it results in a blank white screen.

Could you please advise on how to resolve this issue?

Screenshots

vis

visual
rome, safari]

Desktop (please complete the following information):

  • OS: Ubuntu
  • Spotlight Version 1.6.10
@jais001 jais001 added the bug Something isn't working label Jul 25, 2024
@neindochoh
Copy link
Collaborator

Hey,
Sorry for the missing error message.

We are utilizing several Web APIs accessible only in secure contexts.
This means you won't be able to use Spotlight's front end via just HTTP when hosted online.

To host a Spotlight instance online, you could

  • either supply an SSL certificate on spotlight start
  • or put the instance behind a TLS termination proxy.

I hope this helps.

@jais001
Copy link
Author

jais001 commented Jul 26, 2024

@neindochoh Thanks, let me try those.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants