forms-flow-ai icon indicating copy to clipboard operation
forms-flow-ai copied to clipboard

Project is configured and running but Localhost is not able to load or Keycloak url is not working ?

Open Abhineet786 opened this issue 2 years ago • 15 comments

Project is configured here...

Screenshot 2023-04-24 at 2 52 21 PM

Trying to access localhost here..but no luck .

Screenshot 2023-04-24 at 2 53 28 PM Screenshot 2023-04-24 at 2 53 44 PM

Abhineet786 avatar Apr 24 '23 09:04 Abhineet786

i have followed this https://aot-technologies.github.io/forms-flow-installation-doc/Pages/Server/containerized_deployment.html

Abhineet786 avatar Apr 24 '23 09:04 Abhineet786

Looks like keycloak is not up, can you check if you have anything running on 8080 ? Also easy way to try out formsflow.ai is using quick installation script : https://aot-technologies.github.io/forms-flow-installation-doc/Pages/PC/PC.html

sumesh-aot avatar Apr 24 '23 21:04 sumesh-aot

Thanks for the reply sumesh-aot

i have tried this but getting some issues in Mac M1. I have attached related screenshots below.

Screenshot 2023-04-25 at 3 17 40 PM Screenshot 2023-04-25 at 3 15 04 PM

Abhineet786 avatar Apr 25 '23 09:04 Abhineet786

Is Containerized deployment compatible with Apple M1 Chip ? I had also following the below documents to configure. https://aot-technologies.github.io/forms-flow-installation-doc/Pages/Server/containerized_deployment.html

Abhineet786 avatar Apr 25 '23 09:04 Abhineet786

@Abhineet786 are you using the docker-compose file for arm64 ? If not, please try it and update the result here.

sumesh-aot avatar Apr 25 '23 17:04 sumesh-aot

@sumesh-aot yes, i am using this file docker-compose-arm64.yml for docker-compose.

Abhineet786 avatar Apr 25 '23 18:04 Abhineet786

@Abhineet786 Can you try the docker-compose from here https://github.com/AOT-Technologies/forms-flow-ai-deployment/blob/refactor/docker-compose/docker-compose-arm64.yml or try quick install after downloading the repo from refactor branch (https://github.com/AOT-Technologies/forms-flow-ai-deployment/tree/refactor). Seems like issue is with keycloak db volume. PR is in progress (https://github.com/AOT-Technologies/forms-flow-ai-deployment/pull/43)

sumesh-aot avatar Apr 25 '23 19:04 sumesh-aot

Hi @sumesh-aot Trying to run the above repo but getting same issues :

Screenshot 2023-04-26 at 4 59 27 PM Screenshot 2023-04-26 at 4 59 44 PM

When i try to access localhost:3001 .... getting un-authorized screen Screenshot 2023-04-26 at 5 00 08 PM

Is this application compatible with 8 Gb RAM ?

Abhineet786 avatar Apr 26 '23 11:04 Abhineet786

@Abhineet786 It should work with 8 GB RAM. Seems like your images are different from the screenshot. The ARM64, docker compose is using different image for keycloak (https://github.com/AOT-Technologies/forms-flow-ai-deployment/blob/refactor/docker-compose/docker-compose-arm64.yml#L17), but your screenshot is saying it's using image from quay. Could you please re-check ?

sumesh-aot avatar Apr 26 '23 17:04 sumesh-aot

Hi @sumesh-aot i have also try to setup this (https://aot-technologies.github.io/forms-flow-installation-doc/Pages/Server/containerized_deployment.html) on linux server. But when i am accessing the react or keyclock url with server ip ...page is not loading.

Screenshot 2023-04-27 at 9 57 51 PM

took too long to respond. Screenshot 2023-04-27 at 10 02 12 PM

and one more question should i need to install keycloak package separately in the system to generate KEYCLOAK_BPM_CLIENT_SECRET or i can use forms-flow-keycloak http://{ip address of system}:8080 url to generate client secret.

Abhineet786 avatar Apr 27 '23 16:04 Abhineet786

@Abhineet786 You dont need to install keycloak separately as docker-compose-arm64 contains keycloak image. Can you do a cleanup and install docker-compose-arm64.yml in Mac M1 and update the result. From your previous screenshot it doesn't look like you were using docker-compose-arm64 and instead was using docker-compose.yml.

sumesh-aot avatar Apr 27 '23 19:04 sumesh-aot

If you are still facing issues, our team would be able to help troubleshoot the issue over a call.

sumesh-aot avatar Apr 27 '23 19:04 sumesh-aot

@sumesh-aot thanks for your support, yes i am facing some issues in both mac and linux server. If you can assign someone to troubleshoot these issues, it will be great.

Abhineet786 avatar Apr 28 '23 04:04 Abhineet786

@sumesh-aot i am waiting for your response.

Abhineet786 avatar May 02 '23 14:05 Abhineet786

@Abhineet786 Sincere apologies, I was on vacation. If you are still facing issues, please share your email.

sumesh-aot avatar Jun 08 '23 05:06 sumesh-aot