【GitLab】gitlab上配置webhook后,点击测试报错:Requests to the local network are not allowed

摘要:
完成后:1.此时可以点击Test进行测试对于上面勾选的权限,测试结果如下,即代表成功!!!

gitlab上配置webhook后,点击测试报错:

Requests to the local network are not allowed

操作如下:

【GitLab】gitlab上配置webhook后,点击测试报错:Requests to the local network are not allowed第1张

报错:

【GitLab】gitlab上配置webhook后,点击测试报错:Requests to the local network are not allowed第2张

错误原因:

gitlab 10.6 版本以后为了安全,不允许向本地网络发送webhook请求

解决方法:

1.登录管理员账号

【GitLab】gitlab上配置webhook后,点击测试报错:Requests to the local network are not allowed第3张

2.最上面一排的 扳手设置按钮--->进入左侧设置---->网络---->

选择 允许webhooks和本机网络交互

【GitLab】gitlab上配置webhook后,点击测试报错:Requests to the local network are not allowed第4张

勾选后,点击保存,退出!!!

完成后:

【GitLab】gitlab上配置webhook后,点击测试报错:Requests to the local network are not allowed第5张

1.此时可以点击Test进行测试

【GitLab】gitlab上配置webhook后,点击测试报错:Requests to the local network are not allowed第6张

对于上面勾选的权限,测试结果如下,即代表成功!!!

【GitLab】gitlab上配置webhook后,点击测试报错:Requests to the local network are not allowed第7张

2.对于未勾选的权限接口,点击测试

【GitLab】gitlab上配置webhook后,点击测试报错:Requests to the local network are not allowed第8张

未授权的接口测试是这个结果!!!!!

【GitLab】gitlab上配置webhook后,点击测试报错:Requests to the local network are not allowed第9张

OK 解决!!!

免责声明:文章转载自《【GitLab】gitlab上配置webhook后,点击测试报错:Requests to the local network are not allowed》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇Golang的标准命令简述ffmpeg 使用 gdb 调试相关技巧下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

随便看看

Datax3.0使用说明

任务是DataX作业的最小单位。每个任务负责一些数据的同步。DataX的调度决策思想是:-DataXJob根据数据库和表划分为100个任务。...

泛微E8升级E9代码修改

E8升级E9需要修改后台二次开发的代码,总工作量相当大。CheckCustomize=function(){varnodeId=$.val();//应用程序节点如果{varpgrcontrol=$.val);varfinishpercent=$.vl();如果{如果{Dialog.alert(“进度控制为yes,需要完成百分比!”);return false...

PartⅠ邮件伪造

什么是伪造发件人邮件地址简单邮件传输协议 (Simple Mail Transfer Protocol, SMTP) 即简单邮件传输协议,是在Internet传输email的事实标准。正如名字所暗示的那样,它其实是一个非常简单的传输协议,无需身份认证,而且发件人的邮箱地址是可以由发信方任意声明的,利用这个特性可以伪造任意发件人。如何识别虚假(欺骗性)电子邮件...

android动态申请权限

申请权限对于安卓开发很重要,从Android6.0开始,Android系统提供动态申请权限的机制,APP在使用危险权限时,需要用户的授权才可进一步操作。...

开源项目推荐:Qt有关的GitHub/Gitee开源项目

https://www.froglogic.com/windeployqthttps://doc.qt.io/Qt-5/windows部署。htmlhttps://wiki.qt.io/Deploy_an_Application_on_Windowshttps://github.com/lucasg/Dependencieshttp://www.depend...

yml在线格式转换工具(properties)

目前springboot的配置文件已经同时支持properties和yaml格式。...