-
Notifications
You must be signed in to change notification settings - Fork 496
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
Guacamole VNC Throws 500 in Sunstone #6244
Comments
let's check the sunstone configuration:
do you get any relevant entries in fireedge.{log,err} |
Yes, I can use FireEdge no issues (moved to port 2618 since 2616 is the default for fireedge.error is empty, fireedge.log is a bit hard to read but no new line is added when I trigger the error. |
someone is giving this 500 error, if it is not fireedge then is more likely your reverse proxy somehow. can you try removing it from the equation? |
closing until we can validate this is a bug, we can continue the conversation here. |
I tried to reverse engineer the flow, but when I trigger the error no request is logged in my reverse proxy for the FireEdge hostname. The fact no new lines land in So we know the request goes client -> nginx -> sunstone; Sunstone throws a 500 (I can see it in Is there a debug mode I can enable somewhere to figure out what Sunstone does before throwing the 500? |
you can run sunstone-server.rb from the CLI, this will show exceptions from the server that probably are producing this 500. For that, check the process using "ps -ef", stop it and run it using "ruby -dw" |
Got it, thanks!
|
Sunstone it's complaining (not very elegantly, I have to admit) about fireedge_key not containing a proper 32 key. You can find this file in /var/lib/one/.one, it should be generated by fireedge on first run. |
File exists but it's empty, seems to be untouched for years:
Do you have an hint on how to generate the key? I tried to slap 32 hex bytes in it but I get the same error ( |
this file is automatically generated by fireedge , you can delete it and restart fireedge service to recreate it |
This worked! Thanks a lot. Should whatever check you make at startup also validate the file is not empty? I've never fiddled with it so this file has clearly broken at some update or similar. Unfortunately my apt log doesn't go back to 2021 so can't confirm what happened on that day or which version was installed then. |
Certainly we can add a check, we'll do it as part of the campaign for the new Fireedge Sunstone #5422 |
Description
If FireEdge endpoints are configured in Sunstone, Guacamole is used for VNC access and returns a 500 error. Note Guacamole in FireEdge, and legacy VNC in Sunstone are working as expected.
To Reproduce
Configure FireEdge endpoints in Sunstone:
Try to open a VM's console - Sunstone will return
It appears there was a server exception. Please check server's log.
and server side logs will have a line such as:Expected behavior
Console opens and I can see my VM's screen
Details
Additional context
I've been unable to fetch more detailed logs, due to lack of familiarity with Sunstone. If there are hints on which debug to enable and where to look to figure this out, I'll be happy to support.
Progress Status
The text was updated successfully, but these errors were encountered: