I tried to add a Gitea (selfhosted) repository to jigit. Gitea works very similar to github (sadly not the same). The connection check shows a 404 with the default header and footer information (html). I tried adding a single repository and a group, but neither worked. Also I gave the account admin privileges to rule out permission stuff.
Maybe you can check what gitea does differently and provide a solution for that.