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

Remote connection to the caldera server http://ipcaldera:8888 does not log in #3021

Closed
cris1198 opened this issue Jul 23, 2024 · 12 comments
Closed
Labels

Comments

@cris1198
Copy link

I set up the boiler server on a Debian machine, I want to connect to the server from another PC but when I access http://ipremotecaldera:8888 through the web it cannot log in, it stays there hanging, how can I solve it?

Copy link

Looks like your first issue -- we aim to respond to issues as quickly as possible. In the meantime, check out our documentation here: http://caldera.readthedocs.io/

@elegantmoose
Copy link
Contributor

@elegantmoose
Copy link
Contributor

@cris1198 did you pull 5.0 or master?

*Try pulling down master and see these notes: https://caldera.readthedocs.io/en/latest/Server-Configuration.html#configuration-file

@elegantmoose
Copy link
Contributor

Apologies for late reply.

@Ch1l3n0
Copy link

Ch1l3n0 commented Sep 12, 2024

I ran into a section in the Caldera documents that describes this type of behavior when the app.frontend.api_base_url is left at its default setting. If you look at the developer tools, network tools, there's a failed 302 redirect as your browser tries to access the default http://localhost:8888. The docs say:
The value set for app.frontend.api_base_url is used to configure the Caldera v5 Vue UI when the Caldera server is started with the --build flag. It has been observed that in some situations the default configuration values can cause the UI to appear unresponsive due to misrouted requests. This mainly occurs when the server is running on a host different than the UI is being accessed from. In these cases, the value should be changed to the appropriate URL for the UI to route requests to.

@uruwhy
Copy link
Contributor

uruwhy commented Sep 20, 2024

@cris1198 Can you confirm whether or not updating app.frontend.api_base_url fixed your issue?

@ns0r
Copy link

ns0r commented Sep 23, 2024

I too have this problem, and modifing the app.frontend.api_base_url config parameter made no difference.

@uruwhy
Copy link
Contributor

uruwhy commented Sep 24, 2024

I too have this problem, and modifing the app.frontend.api_base_url config parameter made no difference.

@ns0r If you open up the developer console on your CALDERA login page and attempt to log in, what console error(s) are you seeing?

@uruwhy
Copy link
Contributor

uruwhy commented Sep 24, 2024

I too have this problem, and modifing the app.frontend.api_base_url config parameter made no difference.

@ns0r Did you modify the configuration file while CALDERA was still running? If so, any manual changes in the yaml file will be overwritten when the server stops. You can confirm this by double-checking the contents of the config file when the server isn't running.

@ns0r
Copy link

ns0r commented Sep 24, 2024

I was able to fix my problem by changing the VITE_CALDERA_URL from http://0.0.0.0:8888 to http://myipaddress:8888 in the /plugins/magma/.env file, and doing a --fresh --build. This fixed the login problem. However the app still isn't looking right. It can't see any agents, etc.

@uruwhy
Copy link
Contributor

uruwhy commented Sep 24, 2024

I was able to fix my problem by changing the VITE_CALDERA_URL from http://0.0.0.0:8888 to http://myipaddress:8888 in the /plugins/magma/.env file, and doing a --fresh --build. This fixed the login problem. However the app still isn't looking right. It can't see any agents, etc.

@ns0r
Can you send a screenshot of what your login page looks like?
My fresh install looks something like this (no agents currently beaconing in, no previous operations):
Screenshot 2024-09-24 at 08 58 14

@elegantmoose
Copy link
Contributor

reopen if issue still persists.

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

No branches or pull requests

5 participants