Open ZCdenheijer opened 3 years ago
I am not sure if the bad gateway issue is related to the sw360chores setup in docker, but I just merged the main code changes to let it run with version 12. It will not work beyond commit:
https://github.com/eclipse/sw360/commit/71348b4fffa6e3e5fd761a3f63590a0a60663827
(because the apache compress dependency is not ether as prerequisite)
Apart from that:
I too have this problem on my hosts. As far as I can tell, the problem arises from a not runing couchDB which results in the server to wait for it endlessly. In my case the following error ist found in the docker logs:
from sw360_sw360couchDB: [notice] 2021-01-26T08:11:36.758647Z nonode@nohost <0.324.0> -------- chttpd_auth_cache changes listener died database_does_not_exist at mem3_shards:load_shards_from_db/6(line:403) <= mem3_shards:load_shards_from_disk/1(line:378) <= mem3_shards:load_shards_from_disk/2(line:407) <= mem3_shards:for_docid/3(line:91) <= fabric_doc_open:go/3(line:38) <= chttpd_auth_cache:ensure_auth_ddoc_exists/2(line:187) <= chttpd_auth_cache:listen_for_changes/1(line:134)
from sw360_sw360: DEBUG: Waiting for CouchDB to be up... DEBUG: curl --output /dev/null --silent --head --fail http://sw360:sw360@sw360couchdb:5984/_up
@ZCdenheijer : do you have any updates on this matter yet?
Hm, usually, if the couchdb is not running, then the web pages load but areas will have a red rectangle saying "The portlet is currently not available".
What would be really required here is some log output from the tomcat to understand what happens if nginx tries to contact the tomcat. 502 means if I am not mistaken that the nginx is working, but the application / service does not respond.
I got the latest sources from sw360chores and followed the instructions of V2 to build everything. That works fine, however when I run startUp.sh and go to https://localhost:8443 I get an Bad Gateway error with the following Nginx error.
I'm running this on a VirtualBox and all docker containers are running
Did I miss something? Any help will very much appreciated.