Skip to content

[openAPI] open api always return 401 #4322

@bulolo

Description

@bulolo

Search before asking

  • I had searched in the issues and found no similar issues.

Java Version

No response

Scala Version

2.12.x

StreamPark Version

2.1.7

Flink Version

1.20.3

Deploy mode

None

What happened

Image Image
curl -i -X POST 'http://192.168.103.231:10000/openapi/app/start' \
-H 'Authorization: hGEUAJ2ncjaU4n2djQQPcigZMuYEv4txagxejfagkWwOLcEK7rtsGGXZt3H1DmXzJHUVfY2cDafbtNhSRQo4cC5Br2U2cBO/TzRyfftK7ieKMsgo81+BlAAn9oKRGScy8LDN/GkhiA9ViNd5dSH+f7XlfQhq3sjTOT6b7m6YONXSt4UT1osl1bFuMWxgo3encsyd+LYf2B0lwOBSRchs4TcyMdz0g8ps+cnk5yzFlwtTg3Ntb5jWTMBqWWvZeAoYlW+SCUS82jw=' \
-H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' \
--data-urlencode 'argument=' \
--data-urlencode 'savepointPath=' \
--data-urlencode 'allowNonRestored=false' \
--data-urlencode 'id=100007' \
--data-urlencode 'restoreFromSavepoint=false'
HTTP/1.1 401 Unauthorized
Connection: keep-alive
Set-Cookie: rememberMe=deleteMe; Path=/; Max-Age=0; Expires=Wed, 14-Jan-2026 06:45:33 GMT; SameSite=lax
Set-Cookie: rememberMe=deleteMe; Path=/; Max-Age=0; Expires=Wed, 14-Jan-2026 06:45:33 GMT; SameSite=lax
Content-Length: 0
Access-Control-Allow-Methods: GET,POST,OPTIONS,PUT,DELETE
Date: Thu, 15 Jan 2026 06:45:33 GMT

Error Exception

HTTP/1.1 401 Unauthorized

Screenshots

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!(您是否要贡献这个PR?)

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions