René's URL Explorer Experiment


Title: [JWT] Add more timeout for JWT validation · Issue #85 · CentML/centml-python-client · GitHub

Open Graph Title: [JWT] Add more timeout for JWT validation · Issue #85 · CentML/centml-python-client

X Title: [JWT] Add more timeout for JWT validation · Issue #85 · CentML/centml-python-client

Description: I think as of now, platform dev tries to verify the API key every hour??. It killed my process with this message when trying to delete endpoint. Traceback (most recent call last): File "/home/john/Documents/centml/platform/centml-python-...

Open Graph Description: I think as of now, platform dev tries to verify the API key every hour??. It killed my process with this message when trying to delete endpoint. Traceback (most recent call last): File "/home/john/...

X Description: I think as of now, platform dev tries to verify the API key every hour??. It killed my process with this message when trying to delete endpoint. Traceback (most recent call last): File "/home/...

Opengraph URL: https://github.com/CentML/centml-python-client/issues/85

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[JWT] Add more timeout for JWT validation","articleBody":"I think as of now, platform dev tries to verify the API key every hour??. It killed my process with this message when trying to delete endpoint.\n\n```\nTraceback (most recent call last):\n  File \"/home/john/Documents/centml/platform/centml-python-client/sandbox/endpoint.py\", line 202, in \u003cmodule\u003e\n    cclient.delete(deployment_id)\n  File \"/home/john/Documents/centml/platform/centml-python-client/centml/sdk/api.py\", line 50, in delete\n    self._update_status(id, DeploymentStatus.DELETED)\n  File \"/home/john/Documents/centml/platform/centml-python-client/centml/sdk/api.py\", line 47, in _update_status\n    self._api.update_deployment_status_deployments_status_deployment_id_put(id, status_req)\n  File \"/home/john/Documents/centml/platform/venv/lib/python3.10/site-packages/pydantic/_internal/_validate_call.py\", line 38, in wrapper_function\n    return wrapper(*args, **kwargs)\n  File \"/home/john/Documents/centml/platform/venv/lib/python3.10/site-packages/pydantic/_internal/_validate_call.py\", line 111, in __call__\n    res = self.__pydantic_validator__.validate_python(pydantic_core.ArgsKwargs(args, kwargs))\n  File \"/home/john/Documents/centml/platform/venv/lib/python3.10/site-packages/platform_api_python_client/api/external_api.py\", line 6378, in update_deployment_status_deployments_status_deployment_id_put\n    return self.api_client.response_deserialize(\n  File \"/home/john/Documents/centml/platform/venv/lib/python3.10/site-packages/platform_api_python_client/api_client.py\", line 322, in response_deserialize\n    raise ApiException.from_response(\n  File \"/home/john/Documents/centml/platform/venv/lib/python3.10/site-packages/platform_api_python_client/exceptions.py\", line 145, in from_response\n    raise UnauthorizedException(http_resp=http_resp, body=body, data=data)\nplatform_api_python_client.exceptions.UnauthorizedException: (401)\nReason: Unauthorized\nHTTP response headers: HTTPHeaderDict({'www-authenticate': 'Bearer realm=\"https://api.centml.org/deployments/status/3897\", error=\"invalid_token\"', 'content-length': '14', 'content-type': 'text/plain', 'date': 'Wed, 22 Jan 2025 22:37:06 GMT', 'server': 'istio-envoy', 'x-envoy-upstream-service-time': '6'})\nHTTP response body: Jwt is expired\n```\n\nIt will help a lot if we can do either of these two options:\n\n- Somehow validate transparently the client's API key after certain timeout\n- Extend the validation timeout to 90mins or more\n\nI prefer the first option if it is possible.\nDo you guys know if I make another call through the SDK the JWT token renews automatically? I was thinking of checking the status to reset the timeout\n\n┆Issue is synchronized with this [Notion page](https://www.notion.so/JWT-Add-more-timeout-for-JWT-validation-18c04095767d81b8b7b7fd32efcbd0a1) by [Unito](https://www.unito.io)\n","author":{"url":"https://github.com/johncalesp","@type":"Person","name":"johncalesp"},"datePublished":"2025-01-22T22:45:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/85/centml-python-client/issues/85"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ed643dfd-9030-4db8-289c-14716dc1b581
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDCCA:9D20B:417F24:5467A9:698E70D1
html-safe-noncefbeca16d0da1f61554ed255d1cb0d32c51fec7e95af3fc278aade148009a17c4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQ0NBOjlEMjBCOjQxN0YyNDo1NDY3QTk6Njk4RTcwRDEiLCJ2aXNpdG9yX2lkIjoiMjUzMTM3MTU5NzY2ODcwODU2MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca8c8f2cddd703ccd0187b95a05a10796bb75ae567cf86217b13d5df3d71537d9
hovercard-subject-tagissue:2805496271
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/CentML/centml-python-client/85/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0ba3a34b3925dbd2624e8b8ab56813a69c5a5a2c00a23d2141cfc9a382363f44/CentML/centml-python-client/issues/85
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0ba3a34b3925dbd2624e8b8ab56813a69c5a5a2c00a23d2141cfc9a382363f44/CentML/centml-python-client/issues/85
og:image:altI think as of now, platform dev tries to verify the API key every hour??. It killed my process with this message when trying to delete endpoint. Traceback (most recent call last): File "/home/john/...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejohncalesp
hostnamegithub.com
expected-hostnamegithub.com
Nonef86603f0b4e9df9a462725324a8c84c98fc50866bdb6ae8ff026fabe56a60c57
turbo-cache-controlno-preview
go-importgithub.com/CentML/centml-python-client git https://github.com/CentML/centml-python-client.git
octolytics-dimension-user_id98933447
octolytics-dimension-user_loginCentML
octolytics-dimension-repository_id666050741
octolytics-dimension-repository_nwoCentML/centml-python-client
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id666050741
octolytics-dimension-repository_network_root_nwoCentML/centml-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
release7eb8835f5978c5aa7a64336b39e0774a93a9a196
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/CentML/centml-python-client/issues/85#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FCentML%2Fcentml-python-client%2Fissues%2F85
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%2FCentML%2Fcentml-python-client%2Fissues%2F85
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=CentML%2Fcentml-python-client
Reloadhttps://patch-diff.githubusercontent.com/CentML/centml-python-client/issues/85
Reloadhttps://patch-diff.githubusercontent.com/CentML/centml-python-client/issues/85
Reloadhttps://patch-diff.githubusercontent.com/CentML/centml-python-client/issues/85
CentML https://patch-diff.githubusercontent.com/CentML
centml-python-clienthttps://patch-diff.githubusercontent.com/CentML/centml-python-client
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FCentML%2Fcentml-python-client
Fork 1 https://patch-diff.githubusercontent.com/login?return_to=%2FCentML%2Fcentml-python-client
Star 1 https://patch-diff.githubusercontent.com/login?return_to=%2FCentML%2Fcentml-python-client
Code https://patch-diff.githubusercontent.com/CentML/centml-python-client
Issues 9 https://patch-diff.githubusercontent.com/CentML/centml-python-client/issues
Pull requests 2 https://patch-diff.githubusercontent.com/CentML/centml-python-client/pulls
Actions https://patch-diff.githubusercontent.com/CentML/centml-python-client/actions
Projects 0 https://patch-diff.githubusercontent.com/CentML/centml-python-client/projects
Security 0 https://patch-diff.githubusercontent.com/CentML/centml-python-client/security
Insights https://patch-diff.githubusercontent.com/CentML/centml-python-client/pulse
Code https://patch-diff.githubusercontent.com/CentML/centml-python-client
Issues https://patch-diff.githubusercontent.com/CentML/centml-python-client/issues
Pull requests https://patch-diff.githubusercontent.com/CentML/centml-python-client/pulls
Actions https://patch-diff.githubusercontent.com/CentML/centml-python-client/actions
Projects https://patch-diff.githubusercontent.com/CentML/centml-python-client/projects
Security https://patch-diff.githubusercontent.com/CentML/centml-python-client/security
Insights https://patch-diff.githubusercontent.com/CentML/centml-python-client/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/CentML/centml-python-client/issues/85
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/CentML/centml-python-client/issues/85
[JWT] Add more timeout for JWT validationhttps://patch-diff.githubusercontent.com/CentML/centml-python-client/issues/85#top
https://patch-diff.githubusercontent.com/V2arK
https://github.com/johncalesp
https://github.com/johncalesp
johncalesphttps://github.com/johncalesp
on Jan 22, 2025https://github.com/CentML/centml-python-client/issues/85#issue-2805496271
Notion pagehttps://www.notion.so/JWT-Add-more-timeout-for-JWT-validation-18c04095767d81b8b7b7fd32efcbd0a1
Unitohttps://www.unito.io
V2arKhttps://patch-diff.githubusercontent.com/V2arK
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.