Cannot activate repo

when my drone server use ip to connect the gitlab, the drone server can not activate repo ,the following is the error message.
api: cannot create or update hook

but ,if i use ngrok to expose http and https domain, and i use the domain to callback the drone server ,it’s ok .

i need some to help me to use the ip callback url .

The code says,must be verification ssl ? Can I not verification the ssl?

code location: /scm/driver/gitlab/repo.go
line 203