You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@linkis.apache.org by GitBox <gi...@apache.org> on 2022/08/31 11:42:35 UTC

[GitHub] [incubator-linkis] cipay0325 opened a new issue, #3168: linkis-cg-engineplugin启动失败!Gateway未启用token认证,请采用其他认证方式!

cipay0325 opened a new issue, #3168:
URL: https://github.com/apache/incubator-linkis/issues/3168

   ### Before asking
   
   - [X] I have read the [How to ask for help](https://linkis.apache.org/community/how-to-ask-for-help) (我已阅读[如何寻求帮助](https://linkis.apache.org/zh-CN/community/how-to-ask-for-help)指引文档).
   
   
   ### Your environment
   
   <!-- Please describe the linkis version you are using and basic environment information -->
   <!-- 请描述您使用的linkis版本和基本环境信息 -->
   - Linkis version used: 1.1.3
   - Environment name and version:
       - cdh-6.3.0
       - hive-2.1.1
       - spark-2.4.0
       - scala-2.12.13
       - jdk 1.8.0_181 
   
   ### Describe your questions
   
   <!-- Please describe your questions -->
   <!-- 请描述您的问题 -->
   linkis-cg-engineplugin启动失败!Gateway未启用token认证,请采用其他认证方式!
   Q1.  ...
   Failed to upload engine conn to bml, now exit! org.apache.linkis.httpclient.exception.HttpClientRetryException: errCode: 10900 ,desc: The user is not logged in, please log in first, you can set a retry, message: {"method":"/api/rest_j/v1/bml/upload","status":-1,"message":"Gateway未启用token认证,请采用其他认证方式!","data":{}} ,ip: hadoop-test-10-10-6-101 ,port: 9103 ,serviceKind: linkis-cg-engineplugin
   
    Application run failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'enginePluginRestful': Unsatisfied dependency expressed through field 'engineConnResourceService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultEngineConnResourceService': Unsatisfied dependency expressed through field 'org$apache$linkis$engineplugin$server$service$DefaultEngineConnResourceService$$engineConnBmlResourceGenerator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getEngineConnBmlResourceGenerator' defined in class path resource [org/apache/linkis/engineplugin/server/conf/EngineConnPluginSpringConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.linkis.engineplugin.server.localize.EngineConnB
 mlResourceGenerator]: Factory method 'getEngineConnBmlResourceGenerator' threw exception; nested exception is LinkisException{errCode=20001, desc='Cannot find the home path(/appcom/Install/LinkisInstall/lib/linkis-engineconn-plugins) of engineConn.', ip='hadoop-test-10-10-6-101', port=9103, serviceKind='linkis-cg-engineplugin'}
   
   Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultEngineConnResourceService': Unsatisfied dependency expressed through field 'org$apache$linkis$engineplugin$server$service$DefaultEngineConnResourceService$$engineConnBmlResourceGenerator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getEngineConnBmlResourceGenerator' defined in class path resource [org/apache/linkis/engineplugin/server/conf/EngineConnPluginSpringConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.linkis.engineplugin.server.localize.EngineConnBmlResourceGenerator]: Factory method 'getEngineConnBmlResourceGenerator' threw exception; nested exception is LinkisException{errCode=20001, desc='Cannot find the home path(/appcom/Install/LinkisInstall/lib/linkis-engineconn-plu
 gins) of engineConn.', ip='hadoop-test-10-10-6-101', port=9103, serviceKind='linkis-cg-engineplugin'}
   
   ### Eureka service list
   
   <!-- You can directly copy and paste the screenshot of the list of registered service instances displayed on the Eureka page here -->
   <!--  可以将Eureka页面显示的注册服务实例列表的的截图 直接复制并粘贴到这里。 粘贴后,会自动生成如下格式的url-->
   ![image](https://user-images.githubusercontent.com/37971707/187669495-c02c8dcc-e120-4131-8037-2b19e92fe728.png)
   ![image](https://user-images.githubusercontent.com/37971707/187669605-b1255cf1-38bb-459f-8826-7fe6b840f4c0.png)
   ![image](https://user-images.githubusercontent.com/37971707/187669687-37bf7e2f-142d-4aec-943b-44ac102de946.png)
   
    
   
   
   ### Some logs info or acctch file
   
   <!-- Please add the log in the following format, the key error log must be pasted in the code style, and the text as much as possible, the detailed log or other files can be dragged and uploaded as an attachment -->
   <!-- 请按如下格式 添加日志,关键错误日志请贴到[````log][````]之间,尽可能贴文字,详细日志或则其它文件,可以拖拽上传作为附件 -->
   
   linkis-xxx.log:
   ````log
   
   <!--日志文字贴到这里-->
   
   ````
   log file:
    <!-- 拖拽上传后,会自动生成如下示例格式的附件url -->
    
   [linkis-cg-engineplugin(4).log](https://github.com/apache/incubator-linkis/files/9461174/linkis-cg-engineplugin.4.log)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


[GitHub] [incubator-linkis] peacewong closed issue #3168: linkis-cg-engineplugin启动失败!Gateway未启用token认证,请采用其他认证方式!

Posted by GitBox <gi...@apache.org>.
peacewong closed issue #3168: linkis-cg-engineplugin启动失败!Gateway未启用token认证,请采用其他认证方式!
URL: https://github.com/apache/incubator-linkis/issues/3168


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


[GitHub] [incubator-linkis] github-actions[bot] commented on issue #3168: linkis-cg-engineplugin启动失败!Gateway未启用token认证,请采用其他认证方式!

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #3168:
URL: https://github.com/apache/incubator-linkis/issues/3168#issuecomment-1232826291

   :blush:  Welcome to the Apache Linkis (incubating) community!!
   We are glad that you are contributing by opening this issue.
   
   Please make sure to include all the relevant context.
   We will be here shortly.
   
   If you are interested in contributing to our website project, please let us know!
   You can check out our contributing guide on 
    :point_right:  [How to Participate in Project Contribution](https://linkis.apache.org/community/how-to-contribute).
    
   WeChat  Group:
   
   ![image](https://linkis.apache.org/Images/wedatasphere_contact_01.png)
   Mailing Lists:
   |name|description|Subscribe|Unsubscribe|archive|
   |:-----|:--------|:------|:-------|:-----|
   | [dev@linkis.apache.org](mailto:dev@linkis.apache.org) | community activity information | [subscribe](mailto:dev-subscribe@linkis.apache.org) | [unsubscribe](mailto:dev-unsubscribe@linkis.apache.org) | [archive](http://mail-archives.apache.org/mod_mbox/linkis-dev) |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


[GitHub] [incubator-linkis] peacewong commented on issue #3168: linkis-cg-engineplugin启动失败!Gateway未启用token认证,请采用其他认证方式!

Posted by GitBox <gi...@apache.org>.
peacewong commented on issue #3168:
URL: https://github.com/apache/incubator-linkis/issues/3168#issuecomment-1232961073

   linkis-mg-gateway.properties set:wds.linkis.gateway.conf.enable.token.auth=true


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org