Comments (20)
@m0re-work 麻烦可以看看是否接口请求存在5xx错误,或在server目录下再次执行./scripts/deploy.sh start
from codeanalysis.
已经执行了,并不好用
from codeanalysis.
报错 500 Internal Server Error
from codeanalysis.
执行./scripts/deploy.sh start 后依旧存在500报错
from codeanalysis.
from codeanalysis.
请求 URL: http://10.0.8.12/server/credential/api/v3/login/user/
请求方法: GET
状态代码: 502 Bad Gateway
远程地址: 10.0.8.12:80
引用站点策略: strict-origin-when-cross-origin
Connection: keep-alive
Content-Length: 559
Content-Type: text/html; charset=utf-8
Date: Tue, 11 Jan 2022 10:09:42 GMT
Server: nginx/1.20.1
Accept: /
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
Authorization: CodeDog eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjQxODg3OTQ2LCJqdGkiOiIwYTM4ODE5ZmU3OGE0NmVlOTBjMWU3NWQ0MjhhNjdiMyIsInVzZXJfaWQiOiJDb2RlRG9nIn0.txlywAZ9okA4V9MMk23s6FXLnzJF09dvTVBZuYVSdiaN31cZaIdJNHXDuoY6Ml5VOPOPAM1g1LNwVDlqYQ2ZRXDuO8BnasIB6leO9lvY9d0dZ8YGZaTiLO7b7yWDQulwY8qboBoZPyBFEeHpd4t6EL64uxcTH1LG7Y8oMqPAMaM
Connection: keep-alive
Content-Type: application/json
Host: 10.0.8.12
Referer: http://10.0.8.12/teams
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36 Edg/97.0.1072.55
from codeanalysis.
@m0re-work 请问是docker部署的吗?
from codeanalysis.
麻烦再参考对应server部署文档重试看看
本地部署文档:https://github.com/Tencent/CodeAnalysis/blob/main/doc/deploy.md
docker部署文档:https://github.com/Tencent/CodeAnalysis/blob/main/doc/deploy_dc.md
from codeanalysis.
如果是docker部署,麻烦查看下是否已执行./compose_init.sh
from codeanalysis.
就是参照本地部署文档部署的
from codeanalysis.
from codeanalysis.
@m0re-work 请问目前是否还未解决?
from codeanalysis.
未解决
from codeanalysis.
[root@VM-8-12-centos CodeAnalysis-main]# ./compose_init.sh
Recreating codeanalysismain_redis_1 ...
Recreating codeanalysismain_mysql_1 ... done
wait dbEnter password:
.Enter password:
Building file-server
ERROR: Forbidden path outside the build context: ../../dockerconfs/Dockerfile-common ()
ERROR: No container found for file-server_1
Building login-server
ERROR: Forbidden path outside the build context: ../../dockerconfs/Dockerfile-common ()
ERROR: No container found for login-server_1
Building analysis-server
ERROR: Forbidden path outside the build context: ../../dockerconfs/Dockerfile-common ()
ERROR: No container found for analysis-server_1
Building main-server
ERROR: Forbidden path outside the build context: ../../dockerconfs/Dockerfile-common ()
ERROR: No container found for main-server_1
Building main-server
ERROR: Forbidden path outside the build context: ../../dockerconfs/Dockerfile-common ()
from codeanalysis.
镜像:腾讯云Lighthouse CentOS7.6
from codeanalysis.
更新docker-compose,重新运行即可
这里需要将本地的docker-compose更新到2以上
from codeanalysis.
安装docker-compose ing
from codeanalysis.
重装了很多次依旧报错,对腾讯云服务器兼容性这么差吗
from codeanalysis.
重装了很多次依旧报错,对腾讯云服务器兼容性这么差吗
这里是指重装docker-compose多次依旧报错么?还是上述的报错原因么?
能否提供一下对应的docker、docker-compose的版本信息,我们本地复现一下看看
from codeanalysis.
官方文档部分缺少部分命令可能会出现相关问题,已经补充相关命令
from codeanalysis.
Related Issues (20)
- 使用Findbugs工具分析代码出现编译失败。 HOT 3
- 仓库登记时候显示错误,配置为ssh,显示自动将ssh替换为http HOT 1
- 【需求】一个小细节, jenkins插件assert .hpi文件命名带上tca信息 HOT 1
- 【BUG】安装TCA插件,配置TCA 测试任务,一触发任务jenkins就会shutdown,且所触发的构建#N在界面上会消失 HOT 3
- 【咨询】如何查看当前的扫描日志或是扫描状态 HOT 1
- 【需求】与LDAP集成
- 【需求】项目普通成员可配置是否允许标记处理 或是 提供类似read_only的角色 HOT 1
- Gitlab Oauth 500 HOT 1
- 团队管理禁用团队失败 HOT 1
- 【bug】路径过滤与tscan_cpp扫描的问题
- helm-charts安装遇到一些问题及使用上的建议 HOT 1
- 日志显示异常 HOT 2
- Unable to obtain the worker node HOT 1
- 客户端扫描执行崩溃 HOT 1
- 【需求】调研集成 corax 社区版 HOT 1
- 使用findbugs时,指令gradle未找到 HOT 3
- web端部署最新资源执行 `sh build-source.sh`在windows环境下会导致configs.json路径问题
- cls生成的Server ID发生了变化 HOT 1
- 客户端本地分析失败,HTTP Error 500: Internal Server Error
- 打开问题详情复制文件名时,变成关闭 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeanalysis.