René's URL Explorer Experiment


Title: installed application throws CertificateHostnameMismatch · Issue #346 · 1ap/google-api-python-client · GitHub

Open Graph Title: installed application throws CertificateHostnameMismatch · Issue #346 · 1ap/google-api-python-client

X Title: installed application throws CertificateHostnameMismatch · Issue #346 · 1ap/google-api-python-client

Description: [Use this form for both apiclient and oauth2client issues] I have a Google Service Account which is being used by an installed application to upload files into GCS, and then send a POST request to a GAE Module. The upload of files to GCS...

Open Graph Description: [Use this form for both apiclient and oauth2client issues] I have a Google Service Account which is being used by an installed application to upload files into GCS, and then send a POST request to ...

X Description: [Use this form for both apiclient and oauth2client issues] I have a Google Service Account which is being used by an installed application to upload files into GCS, and then send a POST request to ...

Opengraph URL: https://github.com/1ap/google-api-python-client/issues/346

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"installed application throws CertificateHostnameMismatch","articleBody":"```\n[Use this form for both apiclient and oauth2client issues]\nI have a Google Service Account which is being used by an installed application \nto upload files into GCS, and then send a POST request to a GAE Module.\n\nThe upload of files to GCS works great, but when the credentials of the default \nservice account are used to send a POST to a GAE Module (in its yaml file the \nlogin for the GAE Module handler is declared to be required), the 'Server \npresented certificate does not match' the URI\n\nAfter searching this site, as well as using Google Search, I have not \ndiscovered a solution to this problem, and not much general info about this \ntype of problem. I'm using the latest version of the Goolge API Python client \n(1.9.24)\n\nHere's the stack trace:\n\nTraceback (most recent call last):\n  File \"gcs_bq_file_uploader.py\", line 302, in main\n    gae_endpoint = discovery.build(config._GAE_API, config._GAE_API_VERSION, discoveryServiceUrl=dis\ncovery_url, http=http_auth)\n  File \"C:\\Python27\\Lib\\site-packages\\oauth2client\\util.py\", line 137, in positional_wrapper\n    return wrapped(*args, **kwargs)\n  File \"C:\\Python27\\lib\\site-packages\\google_api_python_client-1.4.1-py2.7.egg\\googleapiclient\\disco\nvery.py\", line 197, in build\n    resp, content = http.request(requested_url)\n  File \"C:\\Python27\\Lib\\site-packages\\oauth2client\\client.py\", line 562, in new_request\n    redirections, connection_type)\n  File \"C:\\Python27\\Lib\\site-packages\\httplib2\\__init__.py\", line 1608, in request\n    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, re\ndirections, cachekey)\n  File \"C:\\Python27\\Lib\\site-packages\\httplib2\\__init__.py\", line 1350, in _request\n    (response, content) = self._conn_request(conn, request_uri, method, body, headers)\n  File \"C:\\Python27\\Lib\\site-packages\\httplib2\\__init__.py\", line 1272, in _conn_request\n    conn.connect()\n  File \"C:\\Python27\\Lib\\site-packages\\httplib2\\__init__.py\", line 1047, in connect\n    'host %s: %s' % (hostname, cert), hostname, cert)\nCertificateHostnameMismatch: Server presented certificate that does not match \nhost www.ethereal-shap\ne-89619.appspot.com: {'notAfter': 'Oct 13 00:00:00 2015 GMT', 'subjectAltName': \n(('DNS', '*.appspot.\ncom'), ('DNS', '*.thinkwithgoogle.com'), ('DNS', '*.withgoogle.com'), ('DNS', \n'appspot.com'), ('DNS'\n, 'thinkwithgoogle.com'), ('DNS', 'withgoogle.com')), 'subject': \n((('countryName', u'US'),), (('stat\neOrProvinceName', u'California'),), (('localityName', u'Mountain View'),), \n(('organizationName', u'G\noogle Inc'),), (('commonName', u'*.appspot.com'),))}\nINFO:root:None\nINFO:root:------------------------------------------------------------\n\nWhat steps will reproduce the problem?\n1. Running the code\n2.\n3.\n\nWhat is the expected output? What do you see instead?\nSee stack trace shown above. Source code is attached. And the yaml of the \ntarget GAE Module is included as well (if that is of any help).\n\nWhat version of the product are you using? On what operating system?\nProduct version 1.9.24. Windows 7 Professional 32-bit\n\nPlease provide any additional information below.\nThis is my first attempt at sending a POST request to a GAE Module from an \ninstalled application, so my guess is I've got an easily detected bug in my \ncode, or I'm entirely missing some critical bit of code.\n\n```\n\nOriginal issue reported on code.google.com by `wfs.deve...@gmail.com` on 23 Jul 2015 at 3:58\n\nAttachments:\n- [test_dispatch_task.yaml](https://storage.googleapis.com/google-code-attachments/google-api-python-client/issue-346/comment-0/test_dispatch_task.yaml)\n- [gcs_bq_file_uploader.py](https://storage.googleapis.com/google-code-attachments/google-api-python-client/issue-346/comment-0/gcs_bq_file_uploader.py)\n","author":{"url":"https://github.com/GoogleCodeExporter","@type":"Person","name":"GoogleCodeExporter"},"datePublished":"2016-03-28T19:47:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/346/google-api-python-client/issues/346"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:6030d69a-79ae-1617-3cc5-a2dbfce42bff
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBCBE:471C3:276857C:34022A7:697D50D0
html-safe-nonceb7f301f7d4b0f382b602b20cd2a3dae55ba9f67fed889aeb4f2bb54a76309f67
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0JFOjQ3MUMzOjI3Njg1N0M6MzQwMjJBNzo2OTdENTBEMCIsInZpc2l0b3JfaWQiOiIzMzIwMjA4Mzg5NTg1MDY0MTQ0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc3c38a7ca54754c9f65fe44ebc9228344318e4fd7f166a0c1d292c18292c0c1a
hovercard-subject-tagissue:144065923
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/1ap/google-api-python-client/346/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d2d79e998abd0dbbb0158c676886b0cee41635b47005346cb5a15874e40aa692/1ap/google-api-python-client/issues/346
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d2d79e998abd0dbbb0158c676886b0cee41635b47005346cb5a15874e40aa692/1ap/google-api-python-client/issues/346
og:image:alt[Use this form for both apiclient and oauth2client issues] I have a Google Service Account which is being used by an installed application to upload files into GCS, and then send a POST request to ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameGoogleCodeExporter
hostnamegithub.com
expected-hostnamegithub.com
None60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6
turbo-cache-controlno-preview
go-importgithub.com/1ap/google-api-python-client git https://github.com/1ap/google-api-python-client.git
octolytics-dimension-user_id12863663
octolytics-dimension-user_login1ap
octolytics-dimension-repository_id54918735
octolytics-dimension-repository_nwo1ap/google-api-python-client
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id54918735
octolytics-dimension-repository_network_root_nwo1ap/google-api-python-client
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
release7c85641c598ad130c74f7bcc27f58575cac69551
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/1ap/google-api-python-client/issues/346#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2F1ap%2Fgoogle-api-python-client%2Fissues%2F346
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2F1ap%2Fgoogle-api-python-client%2Fissues%2F346
Sign up https://patch-diff.githubusercontent.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=1ap%2Fgoogle-api-python-client
Reloadhttps://patch-diff.githubusercontent.com/1ap/google-api-python-client/issues/346
Reloadhttps://patch-diff.githubusercontent.com/1ap/google-api-python-client/issues/346
Reloadhttps://patch-diff.githubusercontent.com/1ap/google-api-python-client/issues/346
1ap https://patch-diff.githubusercontent.com/1ap
google-api-python-clienthttps://patch-diff.githubusercontent.com/1ap/google-api-python-client
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2F1ap%2Fgoogle-api-python-client
Fork 0 https://patch-diff.githubusercontent.com/login?return_to=%2F1ap%2Fgoogle-api-python-client
Star 0 https://patch-diff.githubusercontent.com/login?return_to=%2F1ap%2Fgoogle-api-python-client
Code https://patch-diff.githubusercontent.com/1ap/google-api-python-client
Issues 89 https://patch-diff.githubusercontent.com/1ap/google-api-python-client/issues
Pull requests 0 https://patch-diff.githubusercontent.com/1ap/google-api-python-client/pulls
Actions https://patch-diff.githubusercontent.com/1ap/google-api-python-client/actions
Projects 0 https://patch-diff.githubusercontent.com/1ap/google-api-python-client/projects
Security 0 https://patch-diff.githubusercontent.com/1ap/google-api-python-client/security
Insights https://patch-diff.githubusercontent.com/1ap/google-api-python-client/pulse
Code https://patch-diff.githubusercontent.com/1ap/google-api-python-client
Issues https://patch-diff.githubusercontent.com/1ap/google-api-python-client/issues
Pull requests https://patch-diff.githubusercontent.com/1ap/google-api-python-client/pulls
Actions https://patch-diff.githubusercontent.com/1ap/google-api-python-client/actions
Projects https://patch-diff.githubusercontent.com/1ap/google-api-python-client/projects
Security https://patch-diff.githubusercontent.com/1ap/google-api-python-client/security
Insights https://patch-diff.githubusercontent.com/1ap/google-api-python-client/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/1ap/google-api-python-client/issues/346
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/1ap/google-api-python-client/issues/346
installed application throws CertificateHostnameMismatchhttps://patch-diff.githubusercontent.com/1ap/google-api-python-client/issues/346#top
Priority-Mediumhttps://github.com/1ap/google-api-python-client/issues?q=state%3Aopen%20label%3A%22Priority-Medium%22
Type-Defecthttps://github.com/1ap/google-api-python-client/issues?q=state%3Aopen%20label%3A%22Type-Defect%22
auto-migratedhttps://github.com/1ap/google-api-python-client/issues?q=state%3Aopen%20label%3A%22auto-migrated%22
https://github.com/GoogleCodeExporter
https://github.com/GoogleCodeExporter
GoogleCodeExporterhttps://github.com/GoogleCodeExporter
on Mar 28, 2016https://github.com/1ap/google-api-python-client/issues/346#issue-144065923
test_dispatch_task.yamlhttps://storage.googleapis.com/google-code-attachments/google-api-python-client/issue-346/comment-0/test_dispatch_task.yaml
gcs_bq_file_uploader.pyhttps://storage.googleapis.com/google-code-attachments/google-api-python-client/issue-346/comment-0/gcs_bq_file_uploader.py
Priority-Mediumhttps://github.com/1ap/google-api-python-client/issues?q=state%3Aopen%20label%3A%22Priority-Medium%22
Type-Defecthttps://github.com/1ap/google-api-python-client/issues?q=state%3Aopen%20label%3A%22Type-Defect%22
auto-migratedhttps://github.com/1ap/google-api-python-client/issues?q=state%3Aopen%20label%3A%22auto-migrated%22
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.