blabla1337 / skf-flask

Security Knowledge Framework (SKF) Python Flask / Angular project
https://www.securityknowledgeframework.org
Apache License 2.0
810 stars 308 forks source link

Getting 502 during user activation. #802

Closed spmishra121 closed 2 years ago

spmishra121 commented 2 years ago

I had installed SKF at my server. I am connected my server using VPN.

I had followed following installation process...

  1. Clone the skf repository at my local directory.
  2. 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:

Note: Highlighted the changed part.

  1. Skipped step 3 from "Docker-compose local how to" guidelines. I think this is no use
  2. Run docker compose file.
  3. But I am getting below error in log... image

When I am analysing further, I have found that docker container run this container with user owner and group user_api. See screenshot... image

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?

github-actions[bot] commented 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.

RiieCco commented 2 years ago

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? :-)

spmishra121 commented 2 years ago

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: image

Request and Response header: image

Request Payload: image

Response: image

spmishra121 commented 2 years ago

Hi @RiieCco, @blabla1337 , Any update on this ticket? I have observed following thing.

  1. 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.

  2. When I am providing my server IP at the place of localhost. I am getting 502. (Screenshot attached above)

spmishra121 commented 2 years ago

Solved

cptfixit commented 1 year ago

"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?