Invalid URL in webhook

Juan Borja October 17, 2019

Hi, im having a problem when try to set a webhook with a com.ar domain and subdomain. For example:
with the url http://sub.domain.com.ar/some/ says Invalid url. However the url http://domain.com.ar/some/ creates the webhook and the url http://sub.domain.com/some/ also creates the webhook. Any idea about i can use subdomain with com.ar in the webhook. Change the url or use public ip its not posible bocuase not depends on me.

 

Anotación 2019-10-17 170119.png

3 answers

1 accepted

0 votes
Answer accepted
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 17, 2019

Hello @Juan Borja,

The message you see means the hostname can't be resolved to an IP address – this is a minimal smoke test Bitbucket does to validate user input.

I checked with nic.ar – domain jenk.com.ar is not registered, so neither it nor its subdomains would work in the webhook registration form.

Hope this helps.

Cheers,
Daniil

Juan Borja October 19, 2019

Hello! Thanks for your answer. The domain jenk.com.ar was an example for ilustrate the problem, its not the real one. Aparently like the real domain was set for responds from outside of our network just before i try the webhook and tath its the reason why not worked (the site was not real available) . However, i cant understend why the validation works with some inexistents sites that i tested for know if was only a string validations or making a real petition to the site. Thanks again!

1 vote
Yosef Herskovitz November 18, 2021

You may also get this error if there is a white-space in the beginning of the url.

For example, "test.com" would work, but not " test.com"

0 votes
shahjad ahemad June 9, 2022

how you resolved this problem

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events