【GitLab】gitlab上配置webhook后,点击测试报错:Requests to the local network are not allowed...
生活随笔
收集整理的這篇文章主要介紹了
【GitLab】gitlab上配置webhook后,点击测试报错:Requests to the local network are not allowed...
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
gitlab上配置webhook后,點擊測試報錯:
Requests to the local network are not allowed?
?
操作如下:
?
報錯:
?
?
?
錯誤原因:
gitlab 10.6 版本以后為了安全,不允許向本地網(wǎng)絡(luò)發(fā)送webhook請求?
解決方法:
1.登錄管理員賬號
?
?2.最上面一排的? 扳手?設(shè)置按鈕--->進(jìn)入左側(cè)?設(shè)置---->網(wǎng)絡(luò)---->
選擇 允許webhooks和本機(jī)網(wǎng)絡(luò)交互
?
?勾選后,點擊保存,退出!!!
?
完成后:
?
1.此時可以點擊Test進(jìn)行測試
對于?上面勾選的權(quán)限,測試結(jié)果如下,即代表成功!!!
?
?
2.對于未勾選的?權(quán)限?接口,點擊測試
?未授權(quán)的接口?測試?是這個結(jié)果!!!!!
?
?
?
?
OK? 解決!!!
?
轉(zhuǎn)載于:https://www.cnblogs.com/sxdcgaq8080/p/10592806.html
總結(jié)
以上是生活随笔為你收集整理的【GitLab】gitlab上配置webhook后,点击测试报错:Requests to the local network are not allowed...的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python实例(一)
- 下一篇: pyinstaller 打包seleni