Check GitLab API access: FAILED: Failed to connect to internal API

执行

sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
检查提示Check GitLab API access: FAILED: Failed to connect to internal API

查看gitlab/config/unicorn.rb

listen "127.0.0.1:9000", :tcp_nopush => true

gitlab/config/gitlab.yml中填写的公网ip

netstat -nltp 查看127.0.0.1:9000

telnet
127.0.0.1 9000是OK,而telnet 公网ip 9000提示拒绝

git
clone时也提示拒绝

将gitlab/config/unicorn.rb修改为

listen "0.0.0.0:9000", :tcp_nopush => true

telnet
公网ip 9000 OK

git
clone时也ok

版权声明:本文为博主原创文章,未经博主允许不得转载。

时间: 2024-10-19 14:47:56

Check GitLab API access: FAILED: Failed to connect to internal API的相关文章

Push failed: Failed with error: fatal: Could not read from remote repository.

GitLab push远端,出现错误提示:Push failed: Failed with error: fatal: Could not read from remote repository. 原因: 1,账号无push的权限. 2,请添加一个正确的sshKey 添加方法: ssh-keygen -t rsa -C "账号" cat ~/.ssh/id_rsa.pub 将ssh保存到 GitLab即可

Access restriction: The type 'BASE64Encoder' is not API

问题的原因好像是这个方法不是安全的,所以不推荐使用,我是在做毕设时要用到的所以就直接用了(毕设要求没有那么严格的要求) Access restriction: The type 'BASE64Encoder' is not API (restriction on required library '/home/rocky/develop/jdk1.8.0_65/jre/lib/rt.jar') Access restriction: The type 'BASE64Encoder' is not

2015/5/7 Access restriction: The type 'BASE64Encoder' is not API

Access restriction: The type 'BASE64Encoder' is not API (restriction on required library 'D:\Java\jdk1.6.0_43\jre\lib\rt.jar') 引入import sun.misc.BASE64Encoder; 是红叉,怎么解决? 右键项目,点属性(Properties): java bulid path-->Libraries-->jre System Library: Access

关于Access restriction: The type 'Application' is not API (restriction on required library)

原文链接:http://rxxluowei.iteye.com/blog/671893 今天写第一次写JavaFX的入门程序就GG 遇到了导入API的问题,无奈疯狂地通过网络找解决方案.. 我的问题是: 导入import javafx.application.Application;时 出现这个错误提示 Access restriction: The type 'Application' is not API (restriction on required library 'C:\Progra

Java,AWTUtilities,eclipse报编译错误:Access restriction: The type 'AWTUtilities' is not API (restriction on required library 'C:\Program Files\Java\jre7\lib\rt.jar')

[场景]调用com.sun.awt.AWTUtilities时,eclipse提示编译错误: Access restriction: The type 'AWTUtilities' is not API (restriction on required library 'C:\Program Files\Java\jre7\lib\rt.jar') [分析]eclipse项目默认的jre版本较早. com.sun.awt.AWTUtilities是在JDK 6 update10中增加的. [解决

Gradle sync failed: failed to find Build Tools revision 21.1.2

从github上下载了一个开源项目到Android Studio 出现以下问题: 下午2:56:05 Gradle sync started下午3:00:11 Gradle sync failed: failed to find Build Tools revision 21.1.2 Consult IDE log for more details (Help | Show Log) 解决办法: 查找SDK安装目录\build-tools 下查看自己的BuildTools 版本,然后修改项目为该

process launch failed: failed to get the task for process 1482

在真机调试过程中,如果遇到这种问题:Could not launch "EzPlug" process launch failed: failed to get the task for process 1482 这种问题其实很简单,就是你的证书设置不对,你只需要在code signing中将发布证书切换为开发者证书就ok了. 版权声明:本文为博主原创文章,未经博主允许不得转载.

Access restriction: The type 'BASE64Decoder' is not API

Access restriction: The type 'BASE64Decoder' is not API (restriction on required library 'C:\Program Files\Java\jdk1.7.0\jre\lib\rt.jar') http://blog.csdn.net/jbxiaozi/article/details/7351768 Access restriction: The type 'BASE64Decoder' is not API

Bamboo bootstrap failed: Failed to run pre-bootstr

Bamboo bootstrap failed: Failed to run pre-bootstrap upgrade tasksSkip to end of metadata Problem After installing / starting Bamboo the following message is shown on the UI: The following appears in the atlassian-bamboo.log1 Bamboo bootstrap failed: