Comments (9)
/cc @kubesphere/sig-devops
/cc @kubesphere/sig-console
from ks-devops.
/assign
from ks-devops.
As we can see below, the front-end can get the error message from API response directly.
There's one thing you might need to consider is the localization.
from ks-devops.
/cc @harrisonliu5 Please take a look
from ks-devops.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.
from ks-devops.
/remove-lifecycle stale
from ks-devops.
The error message obtained from the API cannot be internationalized, so a general error message is used instead. @LinuxSuRen
from ks-devops.
I'm not sure if code 428 represents a particular error. We can provide i18n base on that if it's true.
from ks-devops.
@zryfish: The label(s) area/devops, area/console
cannot be applied, because the repository doesn't have them.
In response to this:
Describe the Bug
When creating a DevOps pipeline using in-scm way, I've generated a github token and pasted it into the Token input box, and clickconfirm
, then it showedwrong token
, but there is no why. Only after inspecting server logs, I've found this error message.E0323 10:02:24.731578 1 pipeline.go:637] { "message" : "Invalid token, its missing scopes: user:email,repo", "code" : 428, "errors" : [ ] }
Clearly, I've forget to select the right scopes when generating token. It's better to return this error message back to users.
![]()
![]()
Versions Used
KubeSphere: nightly-20210321
Kubernetes: (If KubeSphere installer used, you can skip this)/kind bug
/priority low
/area devops
/area console
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
from ks-devops.
Related Issues (20)
- DevOps rbac error
- 【集群管理】【存储】当存储类默认设置为xsky的nfs类型时,启用ks-installer中的minio和openldap组件会报错
- Support writefile step in pipeline
- support to config discover branch and tag in pipeline when git type is git-source
- DevOpsProject not been deleted when the workspace deleted
- pipeline block in not-running
- failed to create service from source code HOT 1
- the s2ibuilder not run
- Too many useless logs when create a new pipeline
- failed to trigger pipelinerun by gitlab webhook HOT 3
- multi-branch pipeline not work with private gitlab HOT 1
- When starting or creating a pipeline, the kubesphere alarm prompt 404 HOT 2
- the frame disappear when create private gitlab repo
- support private gitlab repo
- 获取devops 运行日志非常慢
- the user to replay pipeline is not current user
- 无法通过gitlab创建多分支流水线
- CD无法执行,缺少script.sh
- devops-apiserver无法运行,Error: unable to retrieve the complete list of server APIs HOT 2
- Exception when creating a devops project with the devops function enabled HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ks-devops.