cQube release 3.3 Installation not working #36
-
We have installed cQube_Base and cQube_Workflow release 3.3. https://cqube.preprod.ntp.net.in/ - Installation config file attached here. Sunbird cQube Installation Details Please let me know if you need any information to support us, cc: @jai-ekstep @gandham-santhosh, @Ramya-kmurthy, @LavanyaKR3007 Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
Hi @srajasimman, All the configurations are looking good except the keycloak_config_otp field. You mentioned that you installed cQube 3.3 and we observed that your configurations are having the keycloak_config_otp which is not a part of config.yml file in cQube 3.3 If you added/modified any of the other files apart from the documentation, Please let us know the steps what you did which helps us to debug and understand the issue more better. Thanks. |
Beta Was this translation helpful? Give feedback.
-
And also please share us the netstat -ntlp command output to investigate the issue. |
Beta Was this translation helpful? Give feedback.
-
We followed the installation procedure as per the document. Regarding the
cc: @jai-ekstep @gandham-santhosh, @Ramya-kmurthy, @LavanyaKR3007 Regards, |
Beta Was this translation helpful? Give feedback.
-
Could you please check the Keycloak status. Thanks. |
Beta Was this translation helpful? Give feedback.
-
We found there is no issue with cQube installation and the issue with the Nginx config. # cqube.preprod.ntp.net.in
proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=my_cache:10m max_size=10g inactive=60m;
server {
listen 80;
listen [::]:80;
gzip on;
gzip_types application/javascript text/css;
gzip_min_length 1000;
gzip_static on;
root /var/www/html;
server_tokens off;
more_clear_headers Server;
index index.html index.htm index.nginx-debian.html;
server_name cqube.preprod.ntp.net.in;
if ($http_x_forwarded_proto = 'http'){
return 301 https://$host$request_uri;
}
location / {
proxy_pass http://10.14.0.4:4200;
}
location /auth {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header Accept-Encoding "";
proxy_pass http://10.14.0.4:8080$request_uri;
}
location /api {
proxy_cache my_cache;
proxy_buffering on;
proxy_cache_methods POST;
proxy_cache_key "$request_uri|$request_body";
proxy_ignore_headers Expires Cache-Control X-Accel-Expires;
proxy_cache_valid any 30m;
proxy_ignore_headers "Set-Cookie";
proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504;
add_header X-Proxy-Cache $upstream_cache_status;
proxy_pass http://10.14.0.4:3000/api;
}
location /data {
proxy_pass http://10.14.0.4:8000;
client_max_body_size 3G;
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
proxy_connect_timeout 3600s;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /health {
return 200 'up\n';
access_log off;
error_log /var/log/nginx/health_error.log notice;
}
location ~ /\.(?!well-known).* {
deny all;
access_log off;
log_not_found off;
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/cqube.preprod.ntp.net.in/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/cqube.preprod.ntp.net.in/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
} Regards, |
Beta Was this translation helpful? Give feedback.
Hi @SreenivasNimmagadda
We found there is no issue with cQube installation and the issue with the Nginx config.
we have fixed it with the following Nginx config.