New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Listen for all IPs even without SSL config #50
Comments
I found a workaround for now, but this is ugly https://github.com/Djaler/evil-bot/blob/19194c5ec04e3ce562377999036a54af936e468e/src/main/kotlin/com/github/djaler/evilbot/components/BotInitializer.kt#L35 |
For now, it is required to pass only information about url ( |
Of course, you can use method with signature |
Url is an application address, to which requests will be sent after installing the webhook. I am talking about |
host is "0.0.0.0" by default both in ssl connector and simple connector. I don't thin you should override it. Maybe it should be configurable parameter |
Understand and fix in 43b08e9 |
So, if it is what you meant, I will close issue and create new version |
Yeah, looks like this is what I need. Thanks! |
Glad to help! Close due to there is fix in 43b08e9 |
Hmm. It works only if I specify both:
and use artifact name
|
Looks like this is because of multiplatform features of your library, because there also a |
https://blog.gradle.org/gradle-metadata-1.0 It is one of the gradle features. You can just update your gradle wrapper to 6.0 version or higher |
I already have 6.0.1 |
Also, |
So, in this case it must be available using common notation TelegramBotAPI. If it is not, we will create new issue |
I know about issue with jcenter, but for now I do not know how to solve it |
I host my bot on heroku, which itself controls everything that is necessary for https. So I don't need and I simply can't provide SSL configuration. But, I should listen for 0.0.0.0, not localhost.
The text was updated successfully, but these errors were encountered: