Closed spmishra121 closed 2 years ago
Thank you for creating an issue ticket for our SKF project, we highly appriciate the feedback so we can improve the project and make it more awesome for everyone! We will shortly come back to you after the evaluation of the issue.
Hey @spmishra121,
When I am browsing IP address, front page is opening and when I am clicking on account activation link. I am getting 405...
Can you maybe show me the request/response from the "developer tools" network tab? :-)
Thank @RiieCco , I have modified the configuration, highlighted in bold above and use default config as provided with source code. Now I am getting 502. Request and Response is below:
Request and Response header:
Request Payload:
Response:
Hi @RiieCco, @blabla1337 , Any update on this ticket? I have observed following thing.
I am using AWS server instance to deploy SKF and when I am running skf using localhost (Without changing anything in docker-compose.yml file), I am getting connection refused due to cross-origin policy.
When I am providing my server IP at the place of localhost. I am getting 502. (Screenshot attached above)
Solved
"Solved"
Without trying to be mean, this is the most useless way of closing a reported issue.
How did you resolve the issue? What was the problem and what was the solution?
I had installed SKF at my server. I am connected my server using VPN.
I had followed following installation process...
Changes docker-compose as per our suitability like...
Run docker-compose up
version: '2' services: rabbitmq: container_name: skf-rabbitmq_container image: rabbitmq:3.8.19 environment:
"15672:15672"
mysql: container_name: skf-mysql_container image: blabla1337/mysql restart: always environment: MYSQL_DATABASE: 'skf' MYSQL_ROOT_PASSWORD: 'admin-skf-secret' MYSQL_DEFAULT_PASS: 'admin-skf-secret' MYSQL_DEFAULT_USER: 'root' ports:
nginx: container_name: skf-nginx_container restart: always image: nginx volumes:
skf-angular: container_name: skf-angular_container depends_on:
skf-api: container_name: skf-api_container depends_on:
- LABS_KUBE_CONF=base64_string_here_of_the_content_of_the .kube/config file_for_example: cat ~/.kube/config | base64
- GOOGLE_CREDENTIALS=base64_string_here_of_the_content_of_the gsa-key.json file_for_example: cat gsa-key.json | base64
- SKF_LABS_DEPLOY_MODE=subdomain
- JWT_ENABLED="False"
- SKF_DOJO_API_KEY=
volumes: mysql_data: {}
Note: Highlighted the changed part.
When I am analysing further, I have found that docker container run this container with user owner and group user_api. See screenshot...
When I am browsing IP address, front page is opening and when I am clicking on account activation link. I am getting 405...
Please let me know, If anything I am missing?