Comments (8)
When i try to change the api url curl fails with this message:
error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
I don't know if it's a problem with libcurl of my hosting or some weird configuration of the pwrTelegram server API.
You should try to ask them.
from telegrambotphp.
I have already used it in other telegram bot frameworks and it worked fine I don't think the problem is from their api
from telegrambotphp.
By the way you can use it manually from your web browser to test it !
I did and worked !
from telegrambotphp.
I also did some test using browser and it works.
Btw i think there is a problem with libcurl in php. Did you try to use it on some other php bot framework ? If yes, wich one ?
from telegrambotphp.
Nope as I mentioned above I just tested it on python-telegram-bot ( https://github.com/python-telegram-bot/python-telegram-bot/ ) and pyTelegrambotAPI ( https://github.com/eternnoir/pyTelegramBotAPI ) I think your right , something must be wrong with the php!
from telegrambotphp.
I think I solved the problem !
You just need to change "https://api.pwrtelegram.xyz/" to "http://api.pwrtelegram.xyz/" !
I think the problem is with their ssl certificate !!
BTW do you think it's a secure way to send requests through non-ssl port ??
from telegrambotphp.
I'll never use it for a real bot.
It's already "unsecure" using a thidy part API (you are trusting them to not stole your bot id and that their server is secure from external threat).
If i were you, i'll open an issue asking the correct way to use php curl to contact their site, maybe they can give you a snippet or do some changes to make ssl working.
from telegrambotphp.
@Eleirbag89 We can close this.
from telegrambotphp.
Related Issues (20)
- $telegram->getUpdateType()=='channel_post' not receiving channel updates HOT 1
- Unable to get phone number HOT 1
- Telegram::getChatMembersCount() method
- [BUG]
- Hi~~ @Eleirbag89 pls delete this issue,thanks!
- Web Apps HOT 8
- UpdateCount[BUG] HOT 2
- payment function HOT 1
- you have any video for this bot like tutorial ? HOT 1
- How to make wait for answer HOT 2
- Can you create .phar file for this project HOT 9
- [BUG]
- ErrorException Undefined array key "message" when using funtion UserID() HOT 3
- Formatting options HOT 3
- sendMediaGroup not working! HOT 1
- How to get user_id of the message of a user I reply to? HOT 1
- Add API Support for up to API 6.9 (22.09.2023) HOT 1
- Please Add Forward From Username HOT 1
- My button not a have actions
- how to send sticker HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telegrambotphp.