Skip to content

GitLab

  • 菜单
项目 Groups 代码片段
    • 正在加载...
  • 帮助
    • 帮助
    • 支持
    • 社区论坛
    • 提交反馈
    • 为 GitLab 提交贡献
  • 登录
  • S steedos-platform
  • 项目信息
    • 项目信息
    • 动态
    • 标记
    • 成员
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者
    • 分支图
    • 比较
  • 议题 640
    • 议题 640
    • 列表
    • 看板
    • 服务台
    • 里程碑
  • 合并请求 58
    • 合并请求 58
  • CI/CD
    • CI/CD
    • 流水线
    • 作业
    • 计划
  • 部署
    • 部署
    • 环境
    • 发布
  • 监控
    • 监控
    • 指标
    • 事件
  • 软件包与镜像库
    • 软件包与镜像库
    • 软件包库
    • 基础设施库
  • 分析
    • 分析
    • CI/CD
    • 仓库
    • 价值流
  • Wiki
    • Wiki
  • 代码片段
    • 代码片段
  • 动态
  • 分支图
  • 创建新议题
  • 作业
  • 提交
  • 议题看板
收起侧边栏
  • steedos
  • steedos-platform
  • 议题
  • #90

已关闭
开放中
Created 6月 22, 2019 by 孙浩林@sunhaolinDeveloper

未登录调用odata接口报错

W20190622-09:49:41.654(8)? (STDERR) (node:3816) UnhandledPromiseRejectionWarning: TypeError: Data must be a string or a buffer
W20190622-09:49:41.654(8)? (STDERR)     at Hash.update (crypto.js:99:16)
W20190622-09:49:41.655(8)? (STDERR)     at _hashLoginToken (D:\GitHub\creator\node_modules\@steedos\auth\lib\session.js:13:10)
W20190622-09:49:41.655(8)? (STDERR)     at getUser (D:\GitHub\creator\node_modules\@steedos\auth\lib\session.js:43:23)
W20190622-09:49:41.656(8)? (STDERR)     at Object.getSession (D:\GitHub\creator\node_modules\@steedos\auth\lib\session.js:101:26)
W20190622-09:49:41.656(8)? (STDERR)     at ODataManager.auth (D:\GitHub\creator\node_modules\@steedos\core\lib\odata\ODataManager.js:309:33)
W20190622-09:49:41.656(8)? (STDERR)     at auth (D:\GitHub\creator\node_modules\@steedos\core\lib\odata\MeteorODataRouter.js:12:32)
W20190622-09:49:41.658(8)? (STDERR)     at Layer.handle [as handle_request] (D:\GitHub\creator\node_modules\express\lib\router\layer.js:95:5)
W20190622-09:49:41.658(8)? (STDERR)     at trim_prefix (D:\GitHub\creator\node_modules\express\lib\router\index.js:317:13)
W20190622-09:49:41.659(8)? (STDERR)     at D:\GitHub\creator\node_modules\express\lib\router\index.js:284:7
W20190622-09:49:41.660(8)? (STDERR)     at param (D:\GitHub\creator\node_modules\express\lib\router\index.js:354:14)
W20190622-09:49:41.660(8)? (STDERR)     at param (D:\GitHub\creator\node_modules\express\lib\router\index.js:365:14)
W20190622-09:49:41.661(8)? (STDERR)     at Function.process_params (D:\GitHub\creator\node_modules\express\lib\router\index.js:410:3)
W20190622-09:49:41.661(8)? (STDERR)     at next (D:\GitHub\creator\node_modules\express\lib\router\index.js:275:10)
W20190622-09:49:41.661(8)? (STDERR)     at Function.handle (D:\GitHub\creator\node_modules\express\lib\router\index.js:174:3)
W20190622-09:49:41.662(8)? (STDERR)     at router (D:\GitHub\creator\node_modules\express\lib\router\index.js:47:12)
W20190622-09:49:41.662(8)? (STDERR)     at Layer.handle [as handle_request] (D:\GitHub\creator\node_modules\express\lib\router\layer.js:95:5)
W20190622-09:49:41.663(8)? (STDERR) (node:3816) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
W20190622-09:49:41.663(8)? (STDERR) (node:3816) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
%d位指派人
分配到
工时统计