Comments (12)
我这里看到的是好的呀。
from gitlab-ce-zh.
注册一个账号
from gitlab-ce-zh.
点了注册后
from gitlab-ce-zh.
嗯,我在 https://gitclub.cn 上注册了一个账户,确实重定向后是空白页。从客户端跟踪了一下,发现服务端返回的内容是 400 Bad Request
内容为空:
HTTP/1.1 400 Bad Request
Server: nginx/1.6.2
Date: Tue, 10 Jan 2017 14:24:21 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 0
Connection: keep-alive
X-Request-Id: 72443c8a-cdb2-46ea-85e7-d32174f864e8
X-Runtime: 3.036429
因此进一步的信息应该查看你服务器的日志。
我本地 docker run -P twang2218/gitlab-ce-zh:8.15.3
后,可以注册用户,在我这里 /users
返回的是 302
:
HTTP/1.1 302 Found
Server: nginx
Date: Tue, 10 Jan 2017 14:19:09 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 107
Connection: keep-alive
Cache-Control: no-cache
Location: http://localhost:32769/dashboard/projects
Set-Cookie: request_method=POST; path=/
Set-Cookie: _gitlab_session=668fbd1b9c5e90edcfea1a07671a4c50; path=/; HttpOnly
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-Request-Id: 8275eaa3-0236-4da0-81e9-d09cc152d569
X-Runtime: 0.445970
X-Ua-Compatible: IE=edge
X-Xss-Protection: 1; mode=block
一方面你查一下服务器日志,另一方面,你看能不能找到一个可以让我本地重现这个问题的办法。
from gitlab-ce-zh.
==> /var/log/gitlab/gitlab-rails/production.log <==
Completed 500 Internal Server Error in 3030ms (ActiveRecord: 6.0ms)
ActionController::ParameterMissing (param is missing or the value is empty: user):
app/controllers/registrations_controller.rb:60:in `sign_up_params'
app/controllers/registrations_controller.rb:68:in `resource'
app/views/devise/shared/_signup_box.html.haml:3:in `_app_views_devise_shared__signup_box_html_haml__4519254100422264913_70253222314360'
app/views/devise/registrations/new.html.haml:2:in `_app_views_devise_registrations_new_html_haml__1619682086775940562_70253163162760'
app/controllers/registrations_controller.rb:22:in `create'
lib/gitlab/middleware/multipart.rb:93:in `call'
lib/gitlab/request_profiler/middleware.rb:15:in `call'
lib/gitlab/middleware/go.rb:16:in `call'
from gitlab-ce-zh.
==> /var/log/gitlab/gitlab-workhorse/current <==
2017-01-11_02:49:06.81367 gitclub.cn @ - - [2017-01-11 02:49:03.773111155 +0000 UTC] "POST /users HTTP/1.1" 400 0 "https://gitclub.cn/users/sign_in?redirect_to_referer=yes" "Mozilla/5.0 (Windows NT 10.0.14393; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2950.5 Safari/537.36" 3.040433
==> /var/log/gitlab/nginx/gitlab_access.log <==
192.168.0.1 - - [11/Jan/2017:02:49:06 +0000] "POST /users HTTP/1.0" 400 0 "https://gitclub.cn/users/sign_in?redirect_to_referer=yes" "Mozilla/5.0 (Windows NT 10.0.14393; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2950.5 Safari/537.36"
from gitlab-ce-zh.
没搞清楚这个错在哪了。
from gitlab-ce-zh.
Processing by SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"SMl+BN2zMhPVg086UO3OTkDtrLs12eBRyKadeNXgjGi8mCI8hskatLGrrlFpkuEvUwTpaO8pxBUlymRgo8kEjw==", "user"=>{"login"=>"maikebing", "password"=>"[FILTERED]", "remember_me"=>"0"}}
Redirected to https://gitclub.cn/explore/projects
from gitlab-ce-zh.
@maikebing 你给的这几个日志都没有办法帮助排障。第一个是 500 Internal Server Error
内部错误,跟之前提到的 400 Bad Request
没关系。接着的两部分只是访问日志,也没有错误信息。最后这个也不是报错。
要么你就把日志完整的放到 https://gist.github.com/ 上,然后贴个链接过来;要么你给出一个最小配置可以重现你的问题的,让我这里可以重现问题。否则没法重现问题就没法排障。
另外,GitHub 支持 Markdown 语法,请使用 Markdown 语法来描述问题,特别是需要贴代码、日志的地方。
from gitlab-ce-zh.
是开启了
垃圾与防机器人保护
的原因
from gitlab-ce-zh.
哦,你是说 Google reCAPTCHA 开启后出故障?是配置问题,还是说这是一个 bug?现在是修复这个问题了么?
from gitlab-ce-zh.
我把 reCAPTCHA 关闭了就正常了。 应该不是配置问题。 我只是把reCAPTCHA 关了 , 然后就正常了。
from gitlab-ce-zh.
Related Issues (20)
- 11.1.1版本点击合并请求页时cpu会到100%并导致504 HOT 4
- 有没有考虑过通过 svnsrv 支持 svn ? HOT 5
- 11.1.1版本在页面查看修改历史的时候返回500错误码 HOT 2
- Integrations Settings 翻译错误
- 现在gitlab的cloud native的新镜像有没有重新汉化一个的想法啊
- gitlab已经11.3了,咱们还是11.1.4,什么时候发布新版本? HOT 4
- 我提议这个仓库大家组织社区 来维护吧 !作者时长不更新。
- 请尽快更新哦 HOT 1
- 当新建标签包含中文时,页面跳转500错误
- 修改gitlab.rb的external_url 携带端口则无法启动 HOT 1
- 关于gitlab-runner HOT 1
- https访问配置
- arm64架构的gitlab-ce镜像有没有呢 HOT 3
- 关于镜像更新问题
- 迁移数据问题 HOT 1
- 请问项目还在维护吗
- 你好,关于docker容器传参数的设置
- 手动指定挂载路径
- 安装一年之后突然无法启动状态一直 Restarting HOT 1
- 备用 ldap 配置不起作用。 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 gitlab-ce-zh.