-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
node:http ClientRequest invalid arguments #19209
Comments
I believe I have had a related issue, I am using a library called |
@egous-bunnings thanks for the report, I believe it's a separate issue to the problem at hand. Could you open a new issue? Some steps to reproduce the problem would be very helpful for us to track down the problem. |
@bartlomieju the issue I had has some sensitive data in it which I cannot share; If I had to make an educated guess I am thinking that
|
Hello, not sure if it’s fixed, it still reproduces (Deno 1.34) using the code I posted in the first message, but with different error this time:
|
This problem is really strange @sergeysolovev. I added an HTTPS proxy to inspect the requests going out and once I did that ( Is there a way to verify that the program is indeed working correctly at this point? |
I could reproduce the 400 Bad Request issues, but I think it may be related to Telegram's API as I managed to MITM and intercepted this response:
|
The code above is the minimalistic version of the quickstart from https://github.com/yagop/node-telegram-bot-api @levex This might be caused by a few of us trying to start the bot with same hard-coded token in polling mode (the default mode). To avoid this behavior it is better to create a separate dedicated bot token (it’s really quick to do in telegram). |
@bartlomieju I bumped to deno 1.34.3 and it doesnt’t reproduce anymore. I suggest to close this. |
Thanks! |
Failes on Deno 1.33.4 and works without issues on Deno 1.33.3. Repro script (feel free to use your own telegram bot token):
Stack:
The text was updated successfully, but these errors were encountered: