Replies: 4 comments 1 reply
-
@ddevadat Can we get into a call to verify this issue? We are available any time between 2Pm to 5PM IST. |
Beta Was this translation helpful? Give feedback.
-
i can join at 2pm IST. Will you be sending the invite or should i send one |
Beta Was this translation helpful? Give feedback.
-
updated the youtube api url in learning service (tomcat server ) and now able to upload youtube content |
Beta Was this translation helpful? Give feedback.
-
updated the youtube api url in learning service (tomcat server ) and now able to upload youtube content |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We have deployed sunbird from release-7.0.0 as per documentation
https://ed.sunbird.org/misc/archived/getting-started/install/build-provision-and-deploy
apimanager is build from release-4.10.0_RC1
api call for validate license is failing
Already updated the content serivce configmap with the youtube api key. But makes no difference
Infact the api call is not even going to content service, but instead its going to learning service ( tomcat service)
2025-07-28 02:05:58,170 {"eid":"ERROR","ets":1753668358170,"ver":"3.0","mid":"LP.1753668358170.e8865944-46ec-4542-87d9-576b46b4ec93","actor":{"id":"43ba7c2a-fd91-438b-afa2-b2f4e42785e9","type":"User"},"context":{"channel":"01436264563932364816","pdata":{"id":"dev.dev.learning.platform","pid":"learning-service","ver":"1.0"},"env":"asset"},"edata":{"err":"ERR_YOUTUBE_LICENSE_VALIDATION","stacktrace":"ERR_YOUTUBE_LICENSE_VALIDATION: Please Provide Valid YouTube URL!\n\tat org.sunbird.common.util.YouTubeUrlUtil.getLicense(YouTubeUrlUtil.java:89)\n\tat org.sunbird.common.mgr.impl.YoutubeUrlManagerImpl.validateURL(YoutubeUrlManagerImpl.java:21)\n\tat org.sunbird.taxonomy.mgr.impl.AssetManagerImpl.urlValidate(AssetManagerImpl.java:42)\n\tat org.sunbird.taxonomy.controller.AssetV3Controller.licenseValidate(AssetV3Controller.java:48)\n\tat sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:498)\n\tat org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:222)\n\tat org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)\n\tat org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:814)\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:737)\n\tat org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)\n\tat org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)\n\tat org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)\n\tat org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:969)\n\tat org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:871)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:648)\n\tat org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:845)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:729)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)\n\tat org.sunbird.interceptor.ResponseFilter.doFilter(ResponseFilter.java:68)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)\n\tat org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)\n\tat org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099)\n\tat org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:670)\n\tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)\n\tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\n\tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n\tat java.lang.Thread.run(Thread.java:745)\n","errtype":"system"},"syncts":1753668358170}
As per the knowledge documentation
https://knowlg.sunbird.org/use/release-notes/release-5.7.0#configuration-environment-variable-changes
This validation service has been moved to content service and the api manager needs to be repointed to content service.
But we have build api manager from the below as given in the documentation https://ed.sunbird.org/misc/archived/getting-started/install/build-provision-and-deploy
release-4.10.0_RC1
please provide the right version to use to build the apimanager
Beta Was this translation helpful? Give feedback.
All reactions