Issue with on-premise sentry integration with github enterprise


I am trying to integrate github enterprise with the on premise sentry. After all the settings sentry is able to install the app, but ends up in 404 Not Found in the end and does not redirect back to the sentry page(assuming its the expected behavior). Also the integration does not go through. Is there something that I am missing here?

Thanks and Regards,