-
Notifications
You must be signed in to change notification settings - Fork 3
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
Host should not be empty - Deployment Issue #188
Comments
Would you mind sharing the errors that you are encountering or which step of the setup process you are hung up on? |
|
|
Change TENABLE_ENABLED to false and CPAT_CLIENT_DIRECTORY to ../client/dist/browser If you still encounter issues after these changes, can you provide updated logs? |
So I made this script so I can eventually get it so I don't have to keep forgetting what I've tried.
Script Output
MySql Logs
Keycloak
|
Just checking back in @crodriguez6497 |
Your script output terminates at waiting for keycloak. It appears from the individual outputs that MySQL and keycloak are initialized but the logs don't show the holistic flow where keycloak initialization finishes and C-PAT is started? Is there another issue you're encountering now? |
I got past the initial issue and now I'm hung up at this place where MySQL starts fine and then Keycloak starts, but hangs and never finishes. I have the script so it goes
|
All I'm trying to do is test this thing out. |
The logs look like keycloak is started. In my experience, starting them at the same time or running sequentially should work fine. C-PAT will retry if keycloak is not available right away. And I apologize but I may have led you in the wrong direction with the client dir, in RC.6 client/dist is still the appropriate structure. I'm out of the office until next week but if you aren't able to resolve it today feel free to send me an email (top of the API spec) and I can coordinate a time to hop on a call next week and assist with setup if you would like. Alternatively, feel free to continue posting logs or issues here. |
Just wanted to follow up and see if you were able to get this resolved? |
Nah. I have not. |
What are the steps you do to make it work? |
I made a short video that may be of assistance. This was recorded on a fresh windows VM. Of note, I am not running mysql containerized. Going step-by-step:
docker-compose.yml
NOTE: You MUST sign in with an admin user or you will receive a status message that your account is not activated. |
Just getting a lot of the same. What would the docker-compose file look like if I used a database in AWS lightsail |
If your Lightsail instance uses SSL/TLS, you may also need to configure these environment variables:
You could try setting CPAT_API_ADDRESS: "0.0.0.0" and STIGMAN_API_ADDRESS: "0.0.0.0" for each respective service. Otherwise, I am at a loss here. I have tried in a few different environments and I can't seem to recreate these issues. My offer still stands, if you want to send me an email to plan out a time, I would be happy to hop on a call and help troubleshoot these issues to get you up and running with a test instance. |
So I am supposed to follow this to get it going?
https://c-pat.readthedocs.io/en/main/source/install/installation.html
I'm just checking, because everytime I try on my Macbook it doesn't work I get errors and I tried in AWS and I get errors to and I'm at a lost now.
The text was updated successfully, but these errors were encountered: