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