René's URL Explorer Experiment


Title: Webhook problem: 403 Request forbidden · Issue #412 · python-telegram-bot/python-telegram-bot · GitHub

Open Graph Title: Webhook problem: 403 Request forbidden · Issue #412 · python-telegram-bot/python-telegram-bot

X Title: Webhook problem: 403 Request forbidden · Issue #412 · python-telegram-bot/python-telegram-bot

Description: Steps to reproduce Enable webhook like this: #added to show the full picture inside this function #certificate = '/path/to/cert1.pem' #full_chain = '/path/to/fullchain1.pem' #key = '/path/to/privkey1.pem' updater = Updater(TOKEN) updater...

Open Graph Description: Steps to reproduce Enable webhook like this: #added to show the full picture inside this function #certificate = '/path/to/cert1.pem' #full_chain = '/path/to/fullchain1.pem' #key = '/path/to/privke...

X Description: Steps to reproduce Enable webhook like this: #added to show the full picture inside this function #certificate = '/path/to/cert1.pem' #full_chain = '/path/to/fullchain1.pem' #key = ...

Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/issues/412

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Webhook problem: 403 Request forbidden","articleBody":"\u003c!--\nThanks for reporting issues of python-telegram-bot!\nTo make it easier for us to help you please enter detailed information below.\n\nPlease note, we only support the latest version of python-telegram-bot and\nmaster branch. Please make sure to upgrade \u0026 recreate the issue on the latest\nversion prior to opening an issue.\n--\u003e\n### Steps to reproduce\n1. Enable webhook like this:\n\n``` python\n    #added to show the full picture inside this function\n    #certificate     = '/path/to/cert1.pem'\n    #full_chain      = '/path/to/fullchain1.pem'\n    #key                = '/path/to/privkey1.pem'\n\n    updater = Updater(TOKEN)\n    updater.start_webhook(listen='0.0.0.0',\n                          port=8443,\n                          url_path=TOKEN,\n                          key=key,\n                          cert=full_chain,\n                          webhook_url='https://eugenick.xyz:8443/' + TOKEN)\n    updater.bot.setWebhook(url='https://eugenick.xyz:8443/' + TOKEN)\n\n    dp = updater.dispatcher\n\n    # on different commands - answer in Telegram\n    dp.add_handler(CommandHandler(\"start\", start))\n    dp.add_handler(CommandHandler(\"help\", help))\n\n    # on noncommand i.e message - echo the message on Telegram\n    dp.add_handler(MessageHandler([Filters.text], echo1))\n\n    # log all errors\n    dp.add_error_handler(error)\n\n    updater.idle()\n```\n1. Making fake request via console:\n\n```\ncurl --tlsv1 -v -k -X POST -H \"Content-Type: application/json\" -H \"Cache-Control: no-cache\"  -d '{\n\u003e \"update_id\":10000,\n\u003e \"message\":{\n\u003e   \"date\":1441645532,\n\u003e   \"chat\":{\n\u003e      \"last_name\":\"Test Lastname\",\n\u003e      \"id\":1111111,\n\u003e      \"first_name\":\"Test\",\n\u003e      \"username\":\"Test\"\n\u003e   },\n\u003e   \"message_id\":1365,\n\u003e   \"from\":{\n\u003e      \"last_name\":\"Test Lastname\",\n\u003e      \"id\":1111111,\n\u003e      \"first_name\":\"Test\",\n\u003e      \"username\":\"Test\"\n\u003e   },\n\u003e   \"text\":\"/start\"\n\u003e }\n\u003e }' \"https://eugenick.xyz:8443/TOKEN\"\n```\n1. Got next response in console:\n\n![curl_resopnse](https://cloud.githubusercontent.com/assets/4641605/18567767/4eb7fd0a-7ba2-11e6-82d1-bae731414b1a.png)\n### Expected behaviour\n\nI am expecting to see 200 OK or something similar \n### Actual behaviour\n\nI got 403 Request Forbidden \n### Configuration\n\nNo LSB modules are available.\nDistributor ID: Ubuntu\nDescription:    Ubuntu 16.04.1 LTS\nRelease:    16.04\nCodename:   xenial\n\n**Version of Python, python-telegram-bot \u0026 dependencies:**\npython-telegram-bot 5.0.0\nurllib3 1.17\ncertifi 2016.08.31\nfuture 0.15.2\nPython 2.7.12 (default, Jul  1 2016, 15:12:24)  [GCC 5.4.0 20160609]\n### Logs\n\n```\n2016-09-15 20:01:07,642 - JobQueue - DEBUG - Auto-starting JobQueue\n2016-09-15 20:01:07,642 - JobQueue - DEBUG - JobQueue thread started \n2016-09-15 20:01:07,644 - telegram.ext.updater - DEBUG - dispatcher - started\n2016-09-15 20:01:07,644 - telegram.ext.dispatcher - DEBUG - Dispatcher started\n2016-09-15 20:01:07,645 - telegram.bot - DEBUG - Entering: setWebhook\n2016-09-15 20:01:07,646 - telegram.ext.updater - DEBUG - updater - started\n2016-09-15 20:01:07,646 - telegram.ext.updater - DEBUG - Updater thread started\n2016-09-15 20:01:07,678 - telegram.bot - DEBUG - Entering: setWebhook\n2016-09-15 20:01:07,705 - telegram.bot - DEBUG - True\n2016-09-15 20:01:07,705 - telegram.bot - DEBUG - Exiting: setWebhook\n2016-09-15 20:01:07,728 - telegram.bot - DEBUG - True\n2016-09-15 20:01:07,729 - telegram.bot - DEBUG - Exiting: setWebhook\n2016-09-15 20:01:07,729 - telegram.utils.webhookhandler - DEBUG - Webhook Server started.\n2016-09-15 20:09:40,645 - telegram.utils.webhookhandler - DEBUG - 94.45.109.127 - - \"GET /TOKEN HTTP/1.1\" 200 -\n2016-09-15 20:19:32,794 - telegram.utils.webhookhandler - DEBUG - Webhook triggered\n2016-09-15 20:19:32,795 - telegram.utils.webhookhandler - DEBUG - 94.45.109.127 - - code 403, message Forbidden\n2016-09-15 20:19:32,796 - telegram.utils.webhookhandler - DEBUG - 94.45.109.127 - - \"POST /TOKEN HTTP/1.1\" 403 -\n2016-09-15 20:23:02,756 - telegram.utils.webhookhandler - DEBUG - Webhook triggered\n2016-09-15 20:23:02,758 - telegram.utils.webhookhandler - DEBUG - 94.45.109.127 - - code 403, message Forbidden\n2016-09-15 20:23:02,759 - telegram.utils.webhookhandler - DEBUG - 94.45.109.127 - - \"POST /TOKEN HTTP/1.1\" 403 -\n2016-09-15 20:23:21,094 - telegram.utils.webhookhandler - DEBUG - Webhook triggered\n2016-09-15 20:23:21,096 - telegram.utils.webhookhandler - DEBUG - 94.45.109.127 - - code 403, message Forbidden\n2016-09-15 20:23:21,096 - telegram.utils.webhookhandler - DEBUG - 94.45.109.127 - - \"POST /TOKEN HTTP/1.1\" 403 -\n2016-09-15 20:25:17,167 - telegram.utils.webhookhandler - DEBUG - Webhook triggered\n2016-09-15 20:25:17,168 - telegram.utils.webhookhandler - DEBUG - 45.63.99.236.vultr.com - - code 403, message Forbidden\n2016-09-15 20:25:17,170 - telegram.utils.webhookhandler - DEBUG - 45.63.99.236.vultr.com - - \"POST /TOKEN HTTP/1.1\" 403 -\n2016-09-15 20:25:32,335 - telegram.utils.webhookhandler - DEBUG - Webhook triggered\n2016-09-15 20:25:32,335 - telegram.utils.webhookhandler - DEBUG - 45.63.99.236.vultr.com - - code 403, message Forbidden\n2016-09-15 20:25:32,336 - telegram.utils.webhookhandler - DEBUG - 45.63.99.236.vultr.com - - \"POST /TOKEN HTTP/1.1\" 403 -\n```\n","author":{"url":"https://github.com/evasyuk","@type":"Person","name":"evasyuk"},"datePublished":"2016-09-15T20:54:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/412/python-telegram-bot/issues/412"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e905ad52-a319-13ab-9517-1f7195e39b21
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB9A0:EB239:1AE7517:220531E:69918088
html-safe-noncecc3eb434bb0703a99b5cc428f911d95cd3778eb4b59b9741e3e553892ad4d448
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUEwOkVCMjM5OjFBRTc1MTc6MjIwNTMxRTo2OTkxODA4OCIsInZpc2l0b3JfaWQiOiI5MDY5MjQyMjQ5NTM2MTc2MjY0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac02a4b5d5cf811cd344b1234f0f46677e07dc75d0b49139b96a3ac61f1332558c
hovercard-subject-tagissue:177287336
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-telegram-bot/python-telegram-bot/412/issue_layout
twitter:imagehttps://opengraph.githubassets.com/884909c25cb14184c76d14eab175f72d3b27c61be114afaba2b262e740524b10/python-telegram-bot/python-telegram-bot/issues/412
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/884909c25cb14184c76d14eab175f72d3b27c61be114afaba2b262e740524b10/python-telegram-bot/python-telegram-bot/issues/412
og:image:altSteps to reproduce Enable webhook like this: #added to show the full picture inside this function #certificate = '/path/to/cert1.pem' #full_chain = '/path/to/fullchain1.pem' #key = '/path/to/privke...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameevasyuk
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/python-telegram-bot/python-telegram-bot git https://github.com/python-telegram-bot/python-telegram-bot.git
octolytics-dimension-user_id16178365
octolytics-dimension-user_loginpython-telegram-bot
octolytics-dimension-repository_id38696925
octolytics-dimension-repository_nwopython-telegram-bot/python-telegram-bot
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id38696925
octolytics-dimension-repository_network_root_nwopython-telegram-bot/python-telegram-bot
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-telegram-bot/python-telegram-bot/issues/412#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fissues%2F412
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fissues%2F412
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python-telegram-bot%2Fpython-telegram-bot
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/issues/412
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/issues/412
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/issues/412
python-telegram-bot https://github.com/python-telegram-bot
python-telegram-bothttps://github.com/python-telegram-bot/python-telegram-bot
Notifications https://github.com/login?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot
Fork 6k https://github.com/login?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot
Star 28.8k https://github.com/login?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot
Code https://github.com/python-telegram-bot/python-telegram-bot
Issues 17 https://github.com/python-telegram-bot/python-telegram-bot/issues
Pull requests 5 https://github.com/python-telegram-bot/python-telegram-bot/pulls
Discussions https://github.com/python-telegram-bot/python-telegram-bot/discussions
Actions https://github.com/python-telegram-bot/python-telegram-bot/actions
Projects 3 https://github.com/python-telegram-bot/python-telegram-bot/projects
Wiki https://github.com/python-telegram-bot/python-telegram-bot/wiki
Security 0 https://github.com/python-telegram-bot/python-telegram-bot/security
Insights https://github.com/python-telegram-bot/python-telegram-bot/pulse
Code https://github.com/python-telegram-bot/python-telegram-bot
Issues https://github.com/python-telegram-bot/python-telegram-bot/issues
Pull requests https://github.com/python-telegram-bot/python-telegram-bot/pulls
Discussions https://github.com/python-telegram-bot/python-telegram-bot/discussions
Actions https://github.com/python-telegram-bot/python-telegram-bot/actions
Projects https://github.com/python-telegram-bot/python-telegram-bot/projects
Wiki https://github.com/python-telegram-bot/python-telegram-bot/wiki
Security https://github.com/python-telegram-bot/python-telegram-bot/security
Insights https://github.com/python-telegram-bot/python-telegram-bot/pulse
New issuehttps://github.com/login?return_to=https://github.com/python-telegram-bot/python-telegram-bot/issues/412
New issuehttps://github.com/login?return_to=https://github.com/python-telegram-bot/python-telegram-bot/issues/412
❔ questionhttps://github.com/python-telegram-bot/python-telegram-bot/issues?q=type:"❔ question"
Webhook problem: 403 Request forbiddenhttps://github.com/python-telegram-bot/python-telegram-bot/issues/412#top
https://github.com/evasyuk
https://github.com/evasyuk
evasyukhttps://github.com/evasyuk
on Sep 15, 2016https://github.com/python-telegram-bot/python-telegram-bot/issues/412#issue-177287336
https://cloud.githubusercontent.com/assets/4641605/18567767/4eb7fd0a-7ba2-11e6-82d1-bae731414b1a.png
❔ questionhttps://github.com/python-telegram-bot/python-telegram-bot/issues?q=type:"❔ question"
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.