apache / linkis

Apache Linkis builds a computation middleware layer to facilitate connection, governance and orchestration between the upper applications and the underlying data engines.
https://linkis.apache.org/
Apache License 2.0
3.3k stars 1.17k forks source link

[Bug] Token with legal host not work #4030

Closed casionone closed 1 year ago

casionone commented 1 year ago

Search before asking

Linkis Component

linkis-spring-cloud-services

Steps to reproduce

set linkis_mg_gateway_auth_token with token user test and logal host ip

Illegal Host for Token

Caused by: 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/entrance/submit",
"status":-1,
"message":"Token Authentication Failed, token: ip-test,tokenUser: hadoop, reason: errCode: 15203 ,desc: Illegal Host for Token(Token非法主机)! ,ip: bdpdev01dss03 ,port: 9001 ,serviceKind: linkis-mg-gateway","data":{}} ,ip: null ,port: 0 ,serviceKind: null
############Execute Error!!!########

Expected behavior

can pass the token auth

Your environment

Anything else

No response

Are you willing to submit a PR?

github-actions[bot] commented 1 year ago

: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.

Community

WeChat Assistant WeChat Public Account

Mailing Lists

name description Subscribe Unsubscribe archive
dev@linkis.apache.org community activity information subscribe unsubscribe archive