2014-04-25 132 views
2

我想在Debian上的内部网络上用gitlab CI设置gitlab。 即时通讯使用Gitlab 6.7.3 abd gitlab ci 4.3。 Gitlab在自签名ssl上。Gitlab和Gitlab CI CSRF错误

一切似乎没问题,直到我尝试开始构建。两个系统都已连接,令牌自动设置。

当我提交到库构建显示gitlab CI为“待处理”,并在日志中我可以看到:

Started POST "/projects/1/build?token=d18e0fea59ae4d40327f9cc11d2793" for 127.0.0.1 at 2014-04-25 05:38:02 +0000 
Processing by ProjectsController#build as HTML 
    Parameters: {"before"=>"0000000000000000000000000000000000000000", "after"=>"437d8dddd2de6c3329ca58808fd08b4557f8b3af", "ref"=>"refs/heads/master", "user_id"=>3, "user_name"=>"Pokluda, Vaclav", "project_id"=>1, "repository"=>{"name"=>"test", "url"=>"[email protected]:Vaclav.Pokluda/test.git", "description"=>"", "homepage"=>"https://mobile-gitlab.dev/Vaclav.Pokluda/test"}, "commits"=>nil, "total_commits_count"=>0, "token"=>"d18e0fea59ae4d40327f9cc11d2793", "id"=>"1", "project"=>{}} 
Can't verify CSRF token authenticity 
Completed 201 Created in 15ms (ActiveRecord: 1.6ms) 

什么建议吗?

回答