Exception detected!

Make AuthToken Error.

500 Internal Server Error - RuntimeException

Stack Trace

  1. in src/Biz/CloudPlatform/Client/AbstractCloudAPI.php at line 206  -
    1.         $matched preg_match('/:\/\/.*?(\/.*)$/'$url$matches);
    2.         if (!$matched) {
    3.             throw new \RuntimeException('Make AuthToken Error.');
    4.         }
    5.         $text $matches[1]."\n".json_encode($params)."\n".$this->secretKey;
  2. at AbstractCloudAPI ->_makeAuthToken ('/v1/resources/02d32250cdce41818668c4d5e0730792', array())
    in src/Biz/CloudPlatform/Client/AbstractCloudAPI.php at line 144  +
  3. at AbstractCloudAPI ->_request ('GET', '/resources/02d32250cdce41818668c4d5e0730792', array(), array('Content-type: application/json'))
    in src/Biz/CloudPlatform/Client/FailoverCloudAPI.php at line 26  +
  4. at FailoverCloudAPI ->_request ('GET', '/resources/02d32250cdce41818668c4d5e0730792', array(), array())
    in src/Biz/CloudPlatform/Client/AbstractCloudAPI.php at line 86  +
  5. at AbstractCloudAPI ->get ('/resources/02d32250cdce41818668c4d5e0730792')
    in src/Biz/File/Service/Impl/CloudFileImplementorImpl.php at line 35  +
  6. at CloudFileImplementorImpl ->getFullFile (array('id' => '180', 'globalId' => '02d32250cdce41818668c4d5e0730792', 'hashId' => 'course-activity-119/20190423092948-2axi7sq0p72808go', 'targetId' => '119', 'targetType' => 'course-activity', 'useType' => null, 'filename' => '上门服务视频.mp4', 'ext' => 'mp4', 'fileSize' => '2927864', 'etag' => 'course-activity-119/20190423092948-2axi7sq0p72808go', 'length' => '42', 'description' => null, 'status' => 'ok', 'convertHash' => 'course-activity-119/20190423092948-2axi7sq0p72808go', 'convertStatus' => 'none', 'convertParams' => array(), 'metas' => array(), 'metas2' => array(), 'type' => 'video', 'storage' => 'cloud', 'isPublic' => '0', 'canDownload' => '0', 'usedCount' => '1', 'updatedUserId' => '667', 'updatedTime' => '1555982988', 'createdUserId' => '667', 'createdTime' => '1555982988', 'audioConvertStatus' => 'doing', 'mp4ConvertStatus' => 'none'))
  7. at call_user_func_array (array(object(CloudFileImplementorImpl), 'getFullFile'), array(array('id' => '180', 'globalId' => '02d32250cdce41818668c4d5e0730792', 'hashId' => 'course-activity-119/20190423092948-2axi7sq0p72808go', 'targetId' => '119', 'targetType' => 'course-activity', 'useType' => null, 'filename' => '上门服务视频.mp4', 'ext' => 'mp4', 'fileSize' => '2927864', 'etag' => 'course-activity-119/20190423092948-2axi7sq0p72808go', 'length' => '42', 'description' => null, 'status' => 'ok', 'convertHash' => 'course-activity-119/20190423092948-2axi7sq0p72808go', 'convertStatus' => 'none', 'convertParams' => array(), 'metas' => array(), 'metas2' => array(), 'type' => 'video', 'storage' => 'cloud', 'isPublic' => '0', 'canDownload' => '0', 'usedCount' => '1', 'updatedUserId' => '667', 'updatedTime' => '1555982988', 'createdUserId' => '667', 'createdTime' => '1555982988', 'audioConvertStatus' => 'doing', 'mp4ConvertStatus' => 'none')))
    in vendor/codeages/biz-framework/src/Service/ServiceProxy.php at line 36  +
  8. at ServiceProxy ->__call ('getFullFile', array(array('id' => '180', 'globalId' => '02d32250cdce41818668c4d5e0730792', 'hashId' => 'course-activity-119/20190423092948-2axi7sq0p72808go', 'targetId' => '119', 'targetType' => 'course-activity', 'useType' => null, 'filename' => '上门服务视频.mp4', 'ext' => 'mp4', 'fileSize' => '2927864', 'etag' => 'course-activity-119/20190423092948-2axi7sq0p72808go', 'length' => '42', 'description' => null, 'status' => 'ok', 'convertHash' => 'course-activity-119/20190423092948-2axi7sq0p72808go', 'convertStatus' => 'none', 'convertParams' => array(), 'metas' => array(), 'metas2' => array(), 'type' => 'video', 'storage' => 'cloud', 'isPublic' => '0', 'canDownload' => '0', 'usedCount' => '1', 'updatedUserId' => '667', 'updatedTime' => '1555982988', 'createdUserId' => '667', 'createdTime' => '1555982988', 'audioConvertStatus' => 'doing', 'mp4ConvertStatus' => 'none')))
    in src/Biz/File/Service/Impl/UploadFileServiceImpl.php at line 78  +
  9. at UploadFileServiceImpl ->getFullFile ('180')
  10. at call_user_func_array (array(object(UploadFileServiceImpl), 'getFullFile'), array('180'))
    in vendor/codeages/biz-framework/src/Service/ServiceProxy.php at line 36  +
  11. at ServiceProxy ->__call ('getFullFile', array('180'))
    in src/Biz/Activity/Type/Video.php at line 99  +
  12. at Video ->get ('92')
    in src/Biz/Activity/Service/Impl/ActivityServiceImpl.php at line 445  +
  13. at ActivityServiceImpl ->fetchMedia (array('id' => '186', 'title' => '上门服务视频', 'remark' => null, 'mediaId' => '92', 'mediaType' => 'video', 'content' => null, 'length' => '42', 'fromCourseId' => '119', 'fromCourseSetId' => '115', 'fromUserId' => '667', 'startTime' => '0', 'endTime' => '0', 'createdTime' => '1555982995', 'updatedTime' => '0', 'copyId' => '0', 'migrateLessonId' => '0', 'finishType' => 'end', 'finishData' => '1'))
    in src/Biz/Activity/Service/Impl/ActivityServiceImpl.php at line 29  +
  14. at ActivityServiceImpl ->getActivity ('186', true)
  15. at call_user_func_array (array(object(ActivityServiceImpl), 'getActivity'), array('186', true))
    in vendor/codeages/biz-framework/src/Service/ServiceProxy.php at line 36  +
  16. at ServiceProxy ->__call ('getActivity', array('186', true))
    in src/AppBundle/Controller/Course/CourseController.php at line 146  +
  17. at CourseController ->calculateCategoryTag (array('id' => '119', 'courseSetId' => '115', 'title' => '', 'subtitle' => '', 'courseSetTitle' => '上门服务视频', 'learnMode' => 'freeMode', 'expiryMode' => 'forever', 'expiryDays' => '0', 'expiryStartDate' => '0', 'expiryEndDate' => '0', 'summary' => null, 'goals' => array(), 'audiences' => array(), 'isDefault' => '1', 'maxStudentNum' => '0', 'status' => 'published', 'seq' => '0', 'creator' => '667', 'isFree' => '1', 'price' => '0.00', 'vipLevelId' => '0', 'buyable' => '1', 'tryLookable' => '1', 'tryLookLength' => '5', 'watchLimit' => '0', 'services' => array(), 'taskNum' => '1', 'compulsoryTaskNum' => '1', 'lessonNum' => '1', 'publishLessonNum' => '1', 'studentNum' => '30', 'teacherIds' => array('667'), 'parentId' => '0', 'createdTime' => '1555982922', 'updatedTime' => '1625892991', 'ratingNum' => '0', 'rating' => '0', 'noteNum' => '0', 'buyExpiryTime' => '0', 'threadNum' => '0', 'type' => 'normal', 'approval' => '0', 'income' => '0.00', 'originPrice' => '0.00', 'coinPrice' => '0.00', 'originCoinPrice' => '0.00', 'showStudentNumType' => 'opened', 'giveCredit' => '0', 'about' => null, 'locationId' => '0', 'address' => '', 'deadlineNotify' => 'none', 'daysOfNotifyBeforeDeadline' => '0', 'useInClassroom' => 'single', 'singleBuy' => '1', 'freeStartTime' => '0', 'freeEndTime' => '0', 'locked' => '0', 'cover' => null, 'enableFinish' => '1', 'materialNum' => '0', 'maxRate' => '100', 'serializeMode' => 'serialized', 'showServices' => '0', 'recommended' => '0', 'recommendedSeq' => '0', 'recommendedTime' => '0', 'categoryId' => '12', 'hitNum' => '3172', 'courseType' => 'default', 'rewardPoint' => '0', 'taskRewardPoint' => '0', 'enableAudio' => '0', 'isHideUnpublish' => '0'))
    in src/AppBundle/Controller/Course/CourseController.php at line 108  +
  18. at CourseController ->showAction (object(Request), '119', 'notes')
  19. at call_user_func_array (array(object(CourseController), 'showAction'), array(object(Request), '119', 'notes'))
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 144  +
  20. at HttpKernel ->handleRaw (object(Request), '1')
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 64  +
  21. at HttpKernel ->handle (object(Request), '1', true)
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php at line 69  +
  22. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 185  +
  23. at Kernel ->handle (object(Request))
    in web/app.php at line 36  +

Logs  -

Stack Trace (Plain Text)  +