When you access a published Shiny app, the app times out after 60 seconds of inactivity by default. Use one of the two methods below to increase this timeout.
Prerequisites
Before applying the non-Pro workaround, confirm you have:
A published Shiny app with separate UI and server files
Access to edit and republish the app in Domino
Method 1: Shiny Server Pro
If your team has a Shiny Server Pro license, you can configure application timeouts directly within your Domino installation. For configuration details, see the application timeouts section in the Shiny Server Pro documentation at https://docs.posit.co/shiny-server/#application-timeouts.If you have a license and need assistance setting this up, contact Domino support.
Republish your Shiny app and confirm it loads without errors. To verify the new timeout is in effect, leave the app idle for longer than 60 seconds and confirm the session remains active.
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Domino","description":"Domino helps enterprises build, deliver, and govern mission-critical AI solutions with flexible orchestration, controlled access, reproducible results, and audit trails.","colors":{"primary":"#543FDE","light":"#9285EA","dark":"#3B23D1"},"logo":{"light":"https://mintcdn.com/dominodatalab-e871cec4/19RseDYFfO5uWRyQ/images/logos/domino-wordmark-dark.svg?fit=max\u0026auto=format\u0026n=19RseDYFfO5uWRyQ\u0026q=85\u0026s=8df203aa5f663fb75fdb93fc5f26945e","dark":"https://mintcdn.com/dominodatalab-e871cec4/19RseDYFfO5uWRyQ/images/logos/domino-wordmark-white.svg?fit=max\u0026auto=format\u0026n=19RseDYFfO5uWRyQ\u0026q=85\u0026s=716407d44c47494e1e51e4be36941315","href":"https://docs.domino.ai"},"favicon":"https://mintcdn.com/dominodatalab-e871cec4/iKtTg_TEyb2C09Em/images/logos/domino-new-logo.png?fit=max\u0026auto=format\u0026n=iKtTg_TEyb2C09Em\u0026q=85\u0026s=4027a7595818d7c56608daa159290776","appearance":{"default":"system","strict":false},"background":{"color":{"light":"#FAFAFA","dark":"#000000"}},"navbar":{"links":[{"href":"https://university.domino.ai","label":"Domino University"},{"href":"https://domino.ai/demo-hub","label":"Demo Hub"},{"href":"/help/help","label":"Help"}],"primary":{"type":"button","label":"Request a demo","href":"https://domino.ai/demo"}},"footer":{"socials":{"x":"https://x.com/DominoDataLab","linkedin":"https://www.linkedin.com/company/domino-data-lab","github":"https://github.com/dominodatalab","podcast":"https://domino.ai/data-science-leaders-podcast","instagram":"https://www.instagram.com/dominodotai"}},"search":{"prompt":"Search the Domino documentation"},"seo":{"organization":{"id":"https://domino.ai/#organization","name":"Domino Data Lab","legalName":"Domino Data Lab, Inc.","url":"https://domino.ai","logo":"https://docs.domino.ai/images/logos/domino-new-logo.png","sameAs":["https://x.com/DominoDataLab","https://www.linkedin.com/company/domino-data-lab","https://github.com/dominodatalab","https://www.instagram.com/dominodotai"]}},"integrations":{"gtm":{"tagId":"GTM-WBDRPKT"}},"contextual":{"options":["copy","view","assistant","claude","vscode","chatgpt","download-spec","cursor"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dominodatalab-e871cec4","hasAudioNarration":true,"actualSubdomain":"dominodatalab-e871cec4","customDomains":["docs.domino.ai"],"gitSource":{"_id":"6ad7fa90692c7c940ff17a0c","type":"github","owner":"cerebrotech","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true,"contextualFeedback":{"allowEmail":true}},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af69864461bb68d477b5dbe","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"Reference","count":1452},{"language":"default","tag":"API","count":1420},{"language":"default","tag":"Domino Platform API","count":1228},{"language":"default","tag":"Platform Capabilities","count":509},{"language":"default","tag":"Features","count":260},{"language":"default","tag":"Core Concepts","count":249},{"language":"default","tag":"Admin","count":247},{"language":"default","tag":"Flyte native API","count":120},{"language":"default","tag":"Data","count":102},{"language":"default","tag":"NetApp Volumes","count":86}],"searchSettings":{"maxResults":8,"isFiltersEnabled":true,"showContentSnippets":true,"fullPageSearch":false}},"assistantConfig":{"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"deflection":{"enabled":true,"email":"support@dominodatalab.com","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instinct-self-updating-docs","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"[data-component-name=\"mermaid-container\"],[data-component-name=\"mermaid-container\"]>div,[data-component-name=\"mermaid-container\"] svg{background:transparent!important;background-color:transparent!important}[data-component-name=\"mermaid-container\"] svg .cluster rect{fill:transparent!important;stroke:rgba(128, 128, 128, 0.45)!important;stroke-dasharray:4 4!important}.dark [data-component-name=\"mermaid-container\"] svg .cluster text,.dark [data-component-name=\"mermaid-container\"] svg .cluster span,.dark [data-component-name=\"mermaid-container\"] svg .cluster .nodeLabel,.dark [data-component-name=\"mermaid-container\"] svg .cluster-label foreignObject span,.dark [data-component-name=\"mermaid-container\"] svg .cluster-label foreignObject p{fill:#e5e7eb!important;color:#e5e7eb!important}.dark [data-component-name=\"mermaid-container\"] svg .edgeLabel foreignObject span,.dark [data-component-name=\"mermaid-container\"] svg .edgeLabel foreignObject p{color:#0f172a!important}.dark [data-component-name=\"mermaid-container\"] svg .messageText,.dark [data-component-name=\"mermaid-container\"] svg .messageText tspan,.dark [data-component-name=\"mermaid-container\"] svg .loopText,.dark [data-component-name=\"mermaid-container\"] svg .loopText tspan,.dark [data-component-name=\"mermaid-container\"] svg .sequenceNumber{fill:#EBEBEB!important;stroke:none!important}.dark [data-component-name=\"mermaid-container\"] svg .messageLine0,.dark [data-component-name=\"mermaid-container\"] svg .messageLine1{stroke:#A5A5B6!important}.dark [data-component-name=\"mermaid-container\"] svg .loopLine{stroke:#787891!important}.dark [data-component-name=\"mermaid-container\"] svg marker path{fill:#A5A5B6!important;stroke:#A5A5B6!important}.dark [data-component-name=\"mermaid-container\"] svg .edgePaths path,.dark [data-component-name=\"mermaid-container\"] svg path.flowchart-link,.dark [data-component-name=\"mermaid-container\"] svg .transition{stroke:#8F8FA3!important}.callout[class*=\"blue-\"]{background-color:#F0EEFC!important;border-color:#D1CBF6!important}.callout[class*=\"blue-\"] svg{color:#543FDE!important}.dark .callout[class*=\"blue-\"]{background-color:rgba(84, 63, 222, 0.18)!important;border-color:rgba(146, 133, 234, 0.45)!important}.dark .callout[class*=\"blue-\"] svg{color:#B2A8F0!important}.callout[class*=\"green-\"]{background-color:#EFFBF5!important;border-color:#ADEBCB!important}.callout[class*=\"green-\"] svg{color:#28A464!important}.dark .callout[class*=\"green-\"]{background-color:rgba(48, 197, 120, 0.15)!important;border-color:rgba(48, 197, 120, 0.35)!important}.dark .callout[class*=\"green-\"] svg{color:#8CE3B6!important}.callout[class*=\"yellow-\"]{background-color:#FDFBEB!important;border-color:#F6EDAF!important}.callout[class*=\"yellow-\"] svg{color:#CCB718!important}.dark .callout[class*=\"yellow-\"]{background-color:rgba(231, 211, 54, 0.12)!important;border-color:rgba(204, 183, 24, 0.35)!important}.dark .callout[class*=\"yellow-\"] svg{color:#F1E486!important}.callout[class*=\"red-\"]{background-color:#FEECEF!important;border-color:#FCC5CE!important}.callout[class*=\"red-\"] svg{color:#E90C31!important}.dark .callout[class*=\"red-\"]{background-color:rgba(233, 12, 49, 0.15)!important;border-color:rgba(244, 42, 75, 0.35)!important}.dark .callout[class*=\"red-\"] svg{color:#FA9EAD!important}.callout[class*=\"neutral-\"]{background-color:#F7F7F7!important;border-color:#D6D6D6!important}.callout[class*=\"neutral-\"] svg{color:#65657B!important}.dark .callout[class*=\"neutral-\"]{background-color:rgba(255, 255, 255, 0.06)!important;border-color:#40404F!important}.dark .callout[class*=\"neutral-\"] svg{color:#BCBCC8!important}[data-component-name=\"mermaid-container\"]>div>svg{margin-inline:auto}[data-component-name=\"mermaid-controls-wrapper\"]{background-color:rgba(0, 0, 0, 0.04);border-radius:0.5rem;padding:2px}.dark [data-component-name=\"mermaid-controls-wrapper\"]{background-color:rgba(255, 255, 255, 0.06)}[class~=\"max-w-8xl\"],[class*=\":max-w-8xl\"]{max-width:none!important}@media (min-width: 1024px){#content-area{width:100%!important;max-width:none!important;margin-inline:auto!important}}.mdx-content,.mdx-content.prose,.prose{max-width:none!important}.chat-assistant-floating-input{display:none!important}@media (min-width: 1024px){html[data-current-path^=\"/api-reference/\"] #sidebar-content,html[data-current-path^=\"/6.3/api-reference/\"] #sidebar-content,html[data-current-path^=\"/cloud/reference\"] #sidebar-content,html[data-current-path^=\"/6.3/reference\"] #sidebar-content{width:18rem}html[data-current-path^=\"/api-reference/\"] #body-content,html[data-current-path^=\"/6.3/api-reference/\"] #body-content,html[data-current-path^=\"/cloud/reference\"] #body-content,html[data-current-path^=\"/6.3/reference\"] #body-content{padding-left:18rem}}html[data-current-path$=\"/platform-capabilities/core-concepts\"] table{font-size:1rem;line-height:1.6}@media (min-width: 768px){html[data-current-path$=\"/platform-capabilities/core-concepts\"] td:first-child,html[data-current-path$=\"/platform-capabilities/core-concepts\"] th:first-child{min-width:17rem}}html[data-current-path$=\"/reference/environment-variables\"] td code{word-break:normal;overflow-wrap:normal}"}],"page":{"pagePath":"knowledge-base/increasing-the-timeout-for-shiny-server","slug":"/knowledge-base/increasing-the-timeout-for-shiny-server","pageMetadata":{"title":"Increasing the timeout for Shiny Server","description":null,"href":"/knowledge-base/increasing-the-timeout-for-shiny-server"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`When you access a published Shiny app, the app times out after 60 seconds of inactivity by default. Use one of the two methods below to increase this timeout.`}),`\n`,_jsx(Heading,{level:`2`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsx(_components.p,{children:`Before applying the non-Pro workaround, confirm you have:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`A published Shiny app with separate UI and server files`}),`\n`,_jsx(_components.li,{children:`Access to edit and republish the app in Domino`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`method-1-shiny-server-pro`,children:`Method 1: Shiny Server Pro`}),`\n`,_jsxs(_components.p,{children:[`If your team has a Shiny Server Pro license, you can configure application timeouts directly within your Domino installation. For configuration details, see the application timeouts section in the Shiny Server Pro documentation at `,_jsx(_components.a,{href:`https://docs.posit.co/shiny-server/#application-timeouts.`,children:`https://docs.posit.co/shiny-server/#application-timeouts.`})]}),`\n`,_jsx(_components.p,{children:`If you have a license and need assistance setting this up, contact Domino support.`}),`\n`,_jsx(Heading,{level:`2`,id:`method-2-websocket-keep-alive-workaround-non-pro`,children:`Method 2: WebSocket keep-alive workaround (non-Pro)`}),`\n`,_jsx(_components.p,{children:`This workaround sends a ping through the WebSocket every 15 seconds to keep the connection open, preventing the default 60-second inactivity timeout.`}),`\n`,_jsx(Heading,{level:`3`,id:`step-1-add-the-keep-alive-script-to-your-ui-file`,children:`Step 1: Add the keep-alive script to your UI file`}),`\n`,_jsx(_components.p,{children:`Add the following code block to your UI file:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`19`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`19`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`tags$head(`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` HTML(`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \u003cscript>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` var socket_timeout_interval`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` var n = 0`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` $(document).on('shiny:connected', function(event) {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` socket_timeout_interval = setInterval(function(){`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Shiny.onInputChange('count', n++)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }, 15000)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` });`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` $(document).on('shiny:disconnected', function(event) {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` clearInterval(socket_timeout_interval)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` });`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \u003c\\/script>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` )`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`step-2-add-the-output-element-to-your-ui-file`,children:`Step 2: Add the output element to your UI file`}),`\n`,_jsx(_components.p,{children:`Anywhere after the script added in Step 1, add the following line to the same UI file:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`textOutput(\"keepAlive\")`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`step-3-add-the-render-function-to-your-server-file`,children:`Step 3: Add the render function to your server file`}),`\n`,_jsx(_components.p,{children:`In your server file, add:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`5`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`output$keepAlive \u003c- renderText({`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` req(input$count)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` paste(\"keep alive \", input$count)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` })`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`step-4-verify-the-changes`,children:`Step 4: Verify the changes`}),`\n`,_jsx(_components.p,{children:`Republish your Shiny app and confirm it loads without errors. To verify the new timeout is in effect, leave the app idle for longer than 60 seconds and confirm the session remains active.`}),`\n`,_jsx(Heading,{level:`2`,id:`still-timing-out`,children:`Still timing out?`}),`\n`,_jsxs(_components.p,{children:[`If the workaround above doesn’t resolve the issue, see `,_jsx(_components.a,{href:`https://support.domino.ai/support/s/article/Shiny-App-shows-a-gray-screen-after-sometime-or-timeouts-1718868032640`,children:`Shiny app shows a gray screen after some time or times out`}),` .`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Increasing the timeout for Shiny Server","description":null,"href":"/knowledge-base/increasing-the-timeout-for-shiny-server"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Prerequisites","slug":"prerequisites","depth":2,"children":[]},{"title":"Method 1: Shiny Server Pro","slug":"method-1-shiny-server-pro","depth":2,"children":[]},{"title":"Method 2: WebSocket keep-alive workaround (non-Pro)","slug":"method-2-websocket-keep-alive-workaround-non-pro","depth":2,"children":[{"title":"Step 1: Add the keep-alive script to your UI file","slug":"step-1-add-the-keep-alive-script-to-your-ui-file","depth":3,"children":[]},{"title":"Step 2: Add the output element to your UI file","slug":"step-2-add-the-output-element-to-your-ui-file","depth":3,"children":[]},{"title":"Step 3: Add the render function to your server file","slug":"step-3-add-the-render-function-to-your-server-file","depth":3,"children":[]},{"title":"Step 4: Verify the changes","slug":"step-4-verify-the-changes","depth":3,"children":[]}]},{"title":"Still timing out?","slug":"still-timing-out","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"narration":{"path":"knowledge-base/increasing-the-timeout-for-shiny-server","locale":"en","estimatedDurationSec":109},"subdomain":"dominodatalab-e871cec4","siteName":"Domino","title":"Increasing the timeout for Shiny Server - Domino","relatedPagesConfig":{"enabled":true,"limit":4,"mode":"automatic"},"contextualStarterQuestions":[{"_id":"6af5f267e64f3600e06911f8","deploymentId":"67815ca65f1e7d2ac00f38ab","questionText":"Do I need Shiny Server Pro?","status":"active","generatedBy":"contextual","path":"knowledge-base/increasing-the-timeout-for-shiny-server","createdAt":"2026-11-12T17:07:51.875Z","updatedAt":"2026-11-12T17:07:51.875Z","__v":0},{"_id":"6af5f267e64f3600e06911f6","deploymentId":"67815ca65f1e7d2ac00f38ab","questionText":"How do I increase Shiny timeout?","status":"active","generatedBy":"contextual","path":"knowledge-base/increasing-the-timeout-for-shiny-server","createdAt":"2026-11-12T17:07:51.875Z","updatedAt":"2026-11-12T17:07:51.875Z","__v":0},{"_id":"6af5f267e64f3600e06911f7","deploymentId":"67815ca65f1e7d2ac00f38ab","questionText":"What's the keep-alive workaround?","status":"active","generatedBy":"contextual","path":"knowledge-base/increasing-the-timeout-for-shiny-server","createdAt":"2026-11-12T17:07:51.875Z","updatedAt":"2026-11-12T17:07:51.875Z","__v":0}],"navMaps":{"firstHrefInVersion":{"Cloud":{"href":"/knowledge-base/increasing-the-timeout-for-shiny-server","matchLevel":0},"6.3":{"href":"/knowledge-base/increasing-the-timeout-for-shiny-server","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T17:06:58.835Z","gitLastModified":"2026-10-12T20:32:07.000Z","originalFileLocation":"knowledge-base/increasing-the-timeout-for-shiny-server.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Domino\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dominodatalab-e871cec4/KGOwUzMGKfHLwDvz/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/dominodatalab-e871cec4/KGOwUzMGKfHLwDvz/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dominodatalab-e871cec4/KGOwUzMGKfHLwDvz/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dominodatalab-e871cec4/KGOwUzMGKfHLwDvz/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dominodatalab-e871cec4/KGOwUzMGKfHLwDvz/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dominodatalab-e871cec4/KGOwUzMGKfHLwDvz/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dominodatalab-e871cec4/KGOwUzMGKfHLwDvz/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dominodatalab-e871cec4/KGOwUzMGKfHLwDvz/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dominodatalab-e871cec4/KGOwUzMGKfHLwDvz/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Increasing the timeout for Shiny Server - Domino\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Domino\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.domino.ai/knowledge-base/increasing-the-timeout-for-shiny-server\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dominodatalab-e871cec4.mintlify.site/_mintlify/api/og/v2?division=Apps\u0026amp;title=Increasing+the+timeout+for+Shiny+Server\u0026amp;theme=fbd24120cc0bd4c6837b56a2\u0026amp;signature=8d8427319269a44c258828797980671a9faaa6afcca5467a6e7563fba92b7c7a\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Increasing the timeout for Shiny Server - Domino\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dominodatalab-e871cec4.mintlify.site/_mintlify/api/og/v2?division=Apps\u0026amp;title=Increasing+the+timeout+for+Shiny+Server\u0026amp;theme=fbd24120cc0bd4c6837b56a2\u0026amp;signature=8d8427319269a44c258828797980671a9faaa6afcca5467a6e7563fba92b7c7a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/dominodatalab-e871cec4/KGOwUzMGKfHLwDvz/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Domino\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#543FDE\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.domino.ai/knowledge-base/increasing-the-timeout-for-shiny-server\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/knowledge-base/increasing-the-timeout-for-shiny-server.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://domino.ai/#organization\",\"name\":\"Domino Data Lab\",\"legalName\":\"Domino Data Lab, Inc.\",\"url\":\"https://domino.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://docs.domino.ai/images/logos/domino-new-logo.png\"},\"sameAs\":[\"https://x.com/DominoDataLab\",\"https://www.linkedin.com/company/domino-data-lab\",\"https://github.com/dominodatalab\",\"https://www.instagram.com/dominodotai\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.domino.ai#website\",\"name\":\"Domino\",\"url\":\"https://docs.domino.ai\",\"publisher\":{\"@id\":\"https://domino.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.domino.ai/knowledge-base/increasing-the-timeout-for-shiny-server#webpage\",\"url\":\"https://docs.domino.ai/knowledge-base/increasing-the-timeout-for-shiny-server\",\"name\":\"Increasing the timeout for Shiny Server\",\"dateModified\":\"2026-10-12T20:32:07.000Z\",\"isPartOf\":{\"@id\":\"https://docs.domino.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.domino.ai/knowledge-base/increasing-the-timeout-for-shiny-server#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.domino.ai/knowledge-base/increasing-the-timeout-for-shiny-server#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"How-to guides\",\"item\":\"https://docs.domino.ai/knowledge-base/how-to-guides-overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Apps\",\"item\":\"https://docs.domino.ai/knowledge-base/app-urls-and-url-parameters\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Increasing the timeout for Shiny Server\",\"item\":\"https://docs.domino.ai/knowledge-base/increasing-the-timeout-for-shiny-server\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.domino.ai/knowledge-base/increasing-the-timeout-for-shiny-server#article\",\"headline\":\"Increasing the timeout for Shiny Server\",\"name\":\"Increasing the timeout for Shiny Server\",\"url\":\"https://docs.domino.ai/knowledge-base/increasing-the-timeout-for-shiny-server\",\"mainEntityOfPage\":{\"@id\":\"https://docs.domino.ai/knowledge-base/increasing-the-timeout-for-shiny-server#webpage\"},\"dateModified\":\"2026-10-12T20:32:07.000Z\",\"publisher\":{\"@id\":\"https://domino.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.domino.ai#website\"}}]}\u003c/script>","agentPointerHref":"/knowledge-base/increasing-the-timeout-for-shiny-server.md","siteName":"Domino","nav":{"global":null,"versions":[{"version":"Cloud","tabs":[{"tab":"Platform Overview","pages":[{"title":"Platform Overview","href":"/cloud/platform-overview/domino-overview"}]},{"tab":"Platform Capabilities","pages":[{"title":"Platform Capabilities","href":"/platform-capabilities/core-concepts"}]},{"tab":"Admin","pages":[{"title":"Admin","href":"/cloud/admin"}]},{"tab":"Reference","pages":[{"title":"Reference","href":"/cloud/reference"}]},{"tab":"Examples","pages":[{"title":"Examples","href":"/cloud/examples/blueprints"}]},{"tab":"Release Notes","pages":[{"title":"Release Notes","href":"/release-notes/cloud-release"}]},{"tab":"Knowledge Base","hidden":true,"searchable":true,"groups":[{"group":"Overview","icon":"compass","pages":[{"title":"Domino Knowledge Base","sidebarTitle":"Overview","description":"Support articles and troubleshooting guides from the Domino Support team, covering known issues, workarounds, and diagnostic steps.","href":"/knowledge-base"}]},{"group":"How-to guides","icon":"book-open","root":{"title":"How-to guides","description":"Step-by-step guides for apps, environments, CLI tools, and Git integration.","href":"/knowledge-base/how-to-guides-overview"},"pages":[{"group":"Apps","icon":"layout-grid","pages":[{"title":"App URLs and URL parameters","description":"For Domino versions \u003c 6.1.0: This article provides an overview of the different URLs you can use to access your Web App, as well as some options if you'd like to append parameters in your URL.","href":"/knowledge-base/app-urls-and-url-parameters"},{"title":"Creating and Publishing React Apps","description":"Walks through creating a React app in a Domino Workspace with Create React App, configuring app.sh to set the dynamic app URL, publishing it as a Domino App, and managing node_modules sync via .dominoignore.","href":"/knowledge-base/creating-and-publishing-react-apps"},{"title":"FastAPI App with Multiple Endpoints","description":null,"href":"/knowledge-base/fastapi-app-with-multiple-endpoints"},{"title":"Getting started with Streamlit in Domino","description":"Install Streamlit in a Compute Environment, build your app in /mnt, live-test via Jupyter Server Proxy, then publish using an app.sh that binds to port 8888 on 0.0.0.0 with headless mode enabled.","href":"/knowledge-base/getting-started-with-streamlit-in-domino"},{"title":"Increasing the timeout for Shiny Server","href":"/knowledge-base/increasing-the-timeout-for-shiny-server"},{"title":"Use Gradio in a Jupyter workspace","description":null,"href":"/knowledge-base/use-gradio-in-a-jupyter-workspace"}]},{"group":"CLI","icon":"terminal","pages":[{"title":"htop – Interactive process viewer: a brief overview","description":"Understand and use htop's interface sections, color coding, process columns, and installation steps for Linux system monitoring.","href":"/knowledge-base/htop-interactive-process-viewer-a-brief-overview"},{"title":"The lsof utility - 'list open files'","description":"Troubleshoot open files, network ports, and process locks on Linux using lsof basic and advanced command examples.","href":"/knowledge-base/the-lsof-utility-list-open-files"}]},{"group":"Environments","icon":"box","pages":[{"title":"Installing Packages And Dependencies","description":null,"href":"/knowledge-base/installing-packages-and-dependencies"},{"title":"Installing Archived R Packages No Longer Available on CRAN","description":"R packages removed from CRAN can be installed from the archive. Download the .tar.gz directly and use install.packages(pkgs=pkgFile, type=\"source\", repos=NULL) to install.","href":"/knowledge-base/installing-r-packages-from-archive"},{"title":"Configuring and Sending Emails in Domino Using Python smtplib","description":"Guide to sending emails from Domino using Python's smtplib. Covers secure SMTP setup via SMTPS or STARTTLS, sending plain-text emails, and HTML-formatted emails using MIME.","href":"/knowledge-base/sending-emails-python-smtplib"},{"title":"Upgrade Python to 3.14 in a compute environment","description":"Upgrade Python to 3.14 and install JupyterLab in a Domino compute environment by adding Dockerfile Instructions that use either uv (pip) or conda.","href":"/knowledge-base/upgrade-python-compute-environment"}]},{"group":"Git Integration","icon":"git-branch","pages":[{"title":"Adding a new Git Repository to your project using Personal Access Token (PAT)","description":null,"href":"/knowledge-base/adding-a-new-git-repository-to-your-project-using-personal-access-token-pat"},{"title":"How to connect and authenticate to Gitlab \u0026 GitHub with ssh keys using the native bash terminal","description":"Set up SSH keys for GitLab and GitHub on a Linux bash terminal, test the connection, clone a repo, and push/pull changes","href":"/knowledge-base/how-to-connect-and-authenticate-to-gitlab-github-with-ssh-keys-using-the-native-bash-terminal"}]},{"group":"Infrastructure and Kubernetes","icon":"server","pages":[{"title":"Resolve internal (on-premise) DNS Server in AWS EKS via CoreDNS","description":"Configure CoreDNS on AWS EKS and Domino environments to resolve on-premise DNS hostnames from Domino Workspaces via a VPN tunnel.","href":"/knowledge-base/resolve-internal-on-premise-dns-server-in-aws-eks-via-coredns"}]},{"group":"Jobs","icon":"clock","pages":[{"title":"Preventing Jupyter timeout errors when running notebooks as a batch/scheduled job","description":null,"href":"/knowledge-base/preventing-jupyter-timeout-errors-when-running-notebooks-as-a-batch-scheduled-job"}]}]},{"group":"Troubleshooting","icon":"wrench","root":{"title":"Troubleshooting","description":"Fixes for common errors across environments, workspaces, models, and infrastructure.","href":"/knowledge-base/troubleshooting-overview"},"pages":[{"group":"Administration","icon":"sliders","pages":[{"title":"javax.net.ssl.SSLException: Unsupported or unrecognized SSL message","description":null,"href":"/knowledge-base/javax-net-ssl-sslexception-unsupported-or-unrecognized-ssl-message"}]},{"group":"Apps","icon":"layout-grid","pages":[{"title":"Impact of Secure Identity Propagation Feature Flag on Domino Apps","description":"In Domino 6.1.1+, SecureIdentityPropagationToAppsEnabled defaults to true, breaking apps on restart if they manually construct requests_pathname_prefix. Fix by replacing the manual path with os.environ.get(\"DOMINO_RUN_HOST_PATH\").","href":"/knowledge-base/secureidentitypropagationtoappsenabled-feature-flag-impacts-app-behavior"}]},{"group":"Authentication","icon":"key","pages":[{"title":"Invalid Client Credentials When Generating A Service Account Token","description":null,"href":"/knowledge-base/invalid-client-credential-when-generating-service-account-token"},{"title":"Unexpected error when authenticating with identity provider: duplicate key value violates unique constraint \"constraint_40\"","description":"Resolve the Keycloak \"duplicate key value violates unique constraint constraint_40\" SSO login error by removing and re-linking the affected user's Identity Provider record.","href":"/knowledge-base/unexpected-error-when-authenticating-with-identity-provider-duplicate-key-value-violates-unique-constraint-constraint-40"}]},{"group":"Data Sources \u0026 Datasets","icon":"database","pages":[{"title":"Database Locking","description":"Database locks occur when queries or transactions conflict. Use the database-specific fix steps or Linux tools (ps, lsof, strace, fuser) to identify and resolve them.","href":"/knowledge-base/database-locking"},{"title":"\"Invalid host\" error when trying to connect MiniO server as a Generic S3 data source","description":"After a Chrome update, Chromium-based browsers rejected incomplete SSL certificate chain with a NET::ERR_CERT_COMMON_NAME_INVALID error. Fix involved converting the .p7b chain file to PEM using OpenSSL and re-importing it into AWS Certificate Manager","href":"/knowledge-base/invalid-host-error-when-trying-to-connect-minio-server-as-a-generic-s3-data-source"}]},{"group":"Environments","icon":"box","pages":[{"title":"Build error for nvidia GPG key","description":null,"href":"/knowledge-base/build-error-for-nvidia-gpg-key"},{"title":"Can Not Connect to KeyServer Caused by GPG Error","description":"When attempting to refresh a CRAN GPG key during a Domino compute environment build, the build may fail if the environment cannot reach the keyserver. This article explains why this happens and how ow to resolve it without requiring keyserver connectivity","href":"/knowledge-base/can-not-connect-to-keyserver-caused-by-gpg-error"},{"title":"Docker Layers - failed to register layer: max depth exceeded","description":"Resolve the \"failed to register layer: max depth exceeded\" Docker error in Domino by reducing image layers via combined RUN commands or multi-stage builds.","href":"/knowledge-base/docker-layers-failed-to-register-layer-max-depth-exceeded"},{"title":"Environment build fails with \"The method driver /usr/lib/apt/methods/https could not be found\"","description":"Fix a compute environment build failure caused by missing apt-transport-https by adding a RUN apt-get install command to your Dockerfile before other apt commands.","href":"/knowledge-base/environment-build-fails-with-the-method-driver-usr-lib-apt-methods-https-could-not-be-found"},{"title":"ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied:","description":null,"href":"/knowledge-base/error-could-not-install-packages-due-to-an-environmenterror-errno-13-permission-denied"},{"title":"How to prevent the permission denied error when running \"pip install\" in a workspace","description":null,"href":"/knowledge-base/how-to-prevent-the-permission-denied-error-when-running-pip-install-in-a-workspace"},{"title":"How to use the apt-get install command in environments","description":"Fix the apt-get install non-zero exit code error in environment builds by adding the -y flag to run in non-interactive mode.","href":"/knowledge-base/how-to-use-the-apt-get-install-command-in-environments"},{"title":"I cannot install the pywin32 package on Domino using pip install","description":"pywin32 cannot be installed on Domino because it is a Windows-only package and Domino workspaces run on Linux. Use Linux-compatible alternatives such as python-xlib, subprocess, psutil, or DB-API libraries depending on your use case.","href":"/knowledge-base/i-cannot-install-the-pywin32-package-on-domino-using-pip-install"},{"title":"pip install throws SSL certificate error","description":"A pip install SSL certificate verification failure is typically caused by a firewall or proxy stripping SSL certificates, and can be resolved by using the --trusted-host flag either inline or persistently via pip.conf.","href":"/knowledge-base/pip-install-throws-ssl-certificate-error"},{"title":"Unable to install R package | Error : Package is not available for your version of R","description":"Fix the \"package is not available for this version of R\" CRAN error by specifying an alternate mirror inline or updating your default mirror in .Rprofile or rsession.conf.","href":"/knowledge-base/unable-to-install-r-package-error-package-is-not-available-for-your-version-of-r"},{"title":"Yarn Package invalid key","description":null,"href":"/knowledge-base/yarn-package-invalid-key"}]},{"group":"Git Integration","icon":"git-branch","pages":[{"title":"Clearing Git Cache","description":null,"href":"/knowledge-base/clearing-git-cache"}]},{"group":"Infrastructure and Kubernetes","icon":"server","pages":[{"title":"failed to pull image 602401143452.dkr.ecr.us-east-1.amazonaws.com/eks/pause:3.5","description":null,"href":"/knowledge-base/failed-to-pull-image-602401143452-dkr-ecr-us-east-1-amazonaws-com-eks-pause-3-5"},{"title":"FailedMount event \"efs.csi.aws.com not found in the list of registered CSI drivers\"","description":"Troubleshoot the FailedMount \"efs.csi.aws.com not found in registered CSI drivers\" warning on EKS pods, including how to verify driver installation with kubectl.","href":"/knowledge-base/failedmount-event-efs-csi-aws-com-not-found-in-the-list-of-registered-csi-drivers"},{"title":"How to Troubleshoot Kubernetes Autoscaling (ASG) Issues in Domino","description":"Pods fail to schedule due to autoscaling issues such as ASG misconfiguration, AZ mismatches, insufficient resources, or node label conflicts. Check execution.log, pod events, and ASG settings to diagnose.","href":"/knowledge-base/how-to-troubleshoot-autoscaling-asg-issues"},{"title":"Pods stuck in ContainerCreating with an event mentioning errno 524","description":null,"href":"/knowledge-base/pods-stuck-in-containercreating-with-an-event-mentioning-errno-524"},{"title":"Spark Executor Pods Unable to Find Kerberos Credentials Cache","description":"Kerberos klist: No credentials cache found on Spark executors. Fix: set KRB5CCNAME and KRB5_CONFIG via ENV in the Dockerfile, run kinit in Pre-Run, and concatenate all extraJavaOptions in one line.","href":"/knowledge-base/spark-on-domino-klist-no-credentials-cache-found-error-when-trying-to-use-kerberos-to-authenticate-into-sql-server"},{"title":"vm_memory_high_watermark\" error in RabbitMQ service logs","description":"Resolve RabbitMQ vm_memory_high_watermark memory alarms in Domino on Kubernetes by restarting the affected pod or permanently raising the absolute memory threshold in the ConfigMap.","href":"/knowledge-base/vm-memory-high-watermark-error-in-rabbitmq-service-logs"}]},{"group":"Models","icon":"cpu","pages":[{"title":"Errors during model build : Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/prometheus-client/","description":null,"href":"/knowledge-base/errors-during-model-build-failed-to-establish-a-new-connection-errno-2-name-or-service-not-known-simple-prometheus-client"},{"title":"Unable to deploy Model - [Errno 13] Permission denied: '/.cache'","description":null,"href":"/knowledge-base/unable-to-deploy-model-errno-13-permission-denied-cache"},{"title":"uwsgi: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory","description":"Fix the uWSGI libpcre.so.1 missing shared library error in Domino model deployments using ldd diagnostics and symlink or LD_LIBRARY_PATH remediation steps.","href":"/knowledge-base/uwsgi-error-while-loading-shared-libraries-libpcre-so-1-cannot-open-shared-object-file-no-such-file-or-directory"}]},{"group":"REST API","icon":"webhook","pages":[{"title":"415 Unsupported Media Type Error When Calling the Domino REST API","description":"A 415 Unsupported Media Type error from the Domino REST API is caused by a missing or incorrect Content-Type header. Add Content-Type: application/json to your request headers to resolve.","href":"/knowledge-base/i-keep-getting-a-415-error-unsupported-media-type-when-i-call-domino-s-rest-api-what-am-i-doing-wrong"}]},{"group":"Workspaces","icon":"monitor","pages":[{"title":"VSCode Error: ENOSPC: System limit for number of file watchers reached","description":"VSCode workspaces fail with \"ENOSPC: System limit for number of file watchers reached\" when large directories exhaust inotify handles. Fix by excluding folders like .venv from files.watcherExclude in VSCode settings, or increase fs.inotify.max_user_watches.","href":"/knowledge-base/error-enospc-system-limit-for-number-of-file-watchers-reached"},{"title":"VSCode Failed to get latest version {\"error\":\"getaddrinfo ENOTFOUND api.github.com\"}","description":"Explains VSCode \"getaddrinfo ENOTFOUND api.github.com\" and unknown IP log errors in air-gapped Domino environments, with settings to reduce network calls.","href":"/knowledge-base/vscode-failed-to-get-latest-version-error-getaddrinfo-enotfound-api-github-com"},{"title":"Why did my execution fail with \"No space left on device\"?","description":"Resolve 'No space left on device' execution failures in Domino by freeing disk space, moving files to Datasets, or increasing the allocated disk size (v4.4+).","href":"/knowledge-base/why-did-my-execution-fail-with-the-error-no-space-left-on-device"}]}]},{"group":"Administration","icon":"shield","root":{"title":"Administration","description":"Account and user management tasks for admins.","href":"/knowledge-base/administration-overview"},"pages":[{"group":"User Management","icon":"users","pages":[{"title":"Updating Your Domino Account Details","description":null,"href":"/knowledge-base/changing-domino-account-information"}]}]},{"group":"Domino Support Service Information","icon":"headset","root":{"title":"Domino Support Service Information","description":"What's covered under Domino Support, and what isn't.","href":"/knowledge-base/support-policies-overview"},"pages":[{"group":"Domino Support Policies and Procedures","icon":"file-text","pages":[{"title":"Domino Product Version Lifecycle and Support Policies","description":null,"href":"/knowledge-base/domino-product-version-lifecycle-and-support-policies"},{"title":"Scope of Support Coverage","description":null,"href":"/knowledge-base/scope-of-support-coverage"}]}]}]}]},{"version":"6.3","tabs":[{"tab":"Platform Overview","pages":[{"title":"Platform Overview","href":"/6.3/platform-overview/domino-overview"}]},{"tab":"Platform Capabilities","pages":[{"title":"Platform Capabilities","href":"/platform-capabilities/core-concepts"}]},{"tab":"Admin","pages":[{"title":"Admin","href":"/6.3/admin"}]},{"tab":"Reference","pages":[{"title":"Reference","href":"/6.3/reference"}]},{"tab":"Examples","pages":[{"title":"Examples","href":"/6.3/examples/blueprints"}]},{"tab":"Release Notes","pages":[{"title":"Release Notes","href":"/release-notes/cloud-release"}]},{"tab":"Knowledge Base","hidden":true,"searchable":true,"groups":[{"group":"Overview","icon":"compass","pages":[{"title":"Domino Knowledge Base","sidebarTitle":"Overview","description":"Support articles and troubleshooting guides from the Domino Support team, covering known issues, workarounds, and diagnostic steps.","href":"/knowledge-base"}]},{"group":"How-to guides","icon":"book-open","root":{"title":"How-to guides","description":"Step-by-step guides for apps, environments, CLI tools, and Git integration.","href":"/knowledge-base/how-to-guides-overview"},"pages":[{"group":"Apps","icon":"layout-grid","pages":[{"title":"App URLs and URL parameters","description":"For Domino versions \u003c 6.1.0: This article provides an overview of the different URLs you can use to access your Web App, as well as some options if you'd like to append parameters in your URL.","href":"/knowledge-base/app-urls-and-url-parameters"},{"title":"Creating and Publishing React Apps","description":"Walks through creating a React app in a Domino Workspace with Create React App, configuring app.sh to set the dynamic app URL, publishing it as a Domino App, and managing node_modules sync via .dominoignore.","href":"/knowledge-base/creating-and-publishing-react-apps"},{"title":"FastAPI App with Multiple Endpoints","description":null,"href":"/knowledge-base/fastapi-app-with-multiple-endpoints"},{"title":"Getting started with Streamlit in Domino","description":"Install Streamlit in a Compute Environment, build your app in /mnt, live-test via Jupyter Server Proxy, then publish using an app.sh that binds to port 8888 on 0.0.0.0 with headless mode enabled.","href":"/knowledge-base/getting-started-with-streamlit-in-domino"},{"title":"Increasing the timeout for Shiny Server","href":"/knowledge-base/increasing-the-timeout-for-shiny-server"},{"title":"Use Gradio in a Jupyter workspace","description":null,"href":"/knowledge-base/use-gradio-in-a-jupyter-workspace"}]},{"group":"CLI","icon":"terminal","pages":[{"title":"htop – Interactive process viewer: a brief overview","description":"Understand and use htop's interface sections, color coding, process columns, and installation steps for Linux system monitoring.","href":"/knowledge-base/htop-interactive-process-viewer-a-brief-overview"},{"title":"The lsof utility - 'list open files'","description":"Troubleshoot open files, network ports, and process locks on Linux using lsof basic and advanced command examples.","href":"/knowledge-base/the-lsof-utility-list-open-files"}]},{"group":"Environments","icon":"box","pages":[{"title":"Installing Packages And Dependencies","description":null,"href":"/knowledge-base/installing-packages-and-dependencies"},{"title":"Installing Archived R Packages No Longer Available on CRAN","description":"R packages removed from CRAN can be installed from the archive. Download the .tar.gz directly and use install.packages(pkgs=pkgFile, type=\"source\", repos=NULL) to install.","href":"/knowledge-base/installing-r-packages-from-archive"},{"title":"Configuring and Sending Emails in Domino Using Python smtplib","description":"Guide to sending emails from Domino using Python's smtplib. Covers secure SMTP setup via SMTPS or STARTTLS, sending plain-text emails, and HTML-formatted emails using MIME.","href":"/knowledge-base/sending-emails-python-smtplib"},{"title":"Upgrade Python to 3.14 in a compute environment","description":"Upgrade Python to 3.14 and install JupyterLab in a Domino compute environment by adding Dockerfile Instructions that use either uv (pip) or conda.","href":"/knowledge-base/upgrade-python-compute-environment"}]},{"group":"Git Integration","icon":"git-branch","pages":[{"title":"Adding a new Git Repository to your project using Personal Access Token (PAT)","description":null,"href":"/knowledge-base/adding-a-new-git-repository-to-your-project-using-personal-access-token-pat"},{"title":"How to connect and authenticate to Gitlab \u0026 GitHub with ssh keys using the native bash terminal","description":"Set up SSH keys for GitLab and GitHub on a Linux bash terminal, test the connection, clone a repo, and push/pull changes","href":"/knowledge-base/how-to-connect-and-authenticate-to-gitlab-github-with-ssh-keys-using-the-native-bash-terminal"}]},{"group":"Infrastructure and Kubernetes","icon":"server","pages":[{"title":"Resolve internal (on-premise) DNS Server in AWS EKS via CoreDNS","description":"Configure CoreDNS on AWS EKS and Domino environments to resolve on-premise DNS hostnames from Domino Workspaces via a VPN tunnel.","href":"/knowledge-base/resolve-internal-on-premise-dns-server-in-aws-eks-via-coredns"}]},{"group":"Jobs","icon":"clock","pages":[{"title":"Preventing Jupyter timeout errors when running notebooks as a batch/scheduled job","description":null,"href":"/knowledge-base/preventing-jupyter-timeout-errors-when-running-notebooks-as-a-batch-scheduled-job"}]}]},{"group":"Troubleshooting","icon":"wrench","root":{"title":"Troubleshooting","description":"Fixes for common errors across environments, workspaces, models, and infrastructure.","href":"/knowledge-base/troubleshooting-overview"},"pages":[{"group":"Administration","icon":"sliders","pages":[{"title":"javax.net.ssl.SSLException: Unsupported or unrecognized SSL message","description":null,"href":"/knowledge-base/javax-net-ssl-sslexception-unsupported-or-unrecognized-ssl-message"}]},{"group":"Apps","icon":"layout-grid","pages":[{"title":"Impact of Secure Identity Propagation Feature Flag on Domino Apps","description":"In Domino 6.1.1+, SecureIdentityPropagationToAppsEnabled defaults to true, breaking apps on restart if they manually construct requests_pathname_prefix. Fix by replacing the manual path with os.environ.get(\"DOMINO_RUN_HOST_PATH\").","href":"/knowledge-base/secureidentitypropagationtoappsenabled-feature-flag-impacts-app-behavior"}]},{"group":"Authentication","icon":"key","pages":[{"title":"Invalid Client Credentials When Generating A Service Account Token","description":null,"href":"/knowledge-base/invalid-client-credential-when-generating-service-account-token"},{"title":"Unexpected error when authenticating with identity provider: duplicate key value violates unique constraint \"constraint_40\"","description":"Resolve the Keycloak \"duplicate key value violates unique constraint constraint_40\" SSO login error by removing and re-linking the affected user's Identity Provider record.","href":"/knowledge-base/unexpected-error-when-authenticating-with-identity-provider-duplicate-key-value-violates-unique-constraint-constraint-40"}]},{"group":"Data Sources \u0026 Datasets","icon":"database","pages":[{"title":"Database Locking","description":"Database locks occur when queries or transactions conflict. Use the database-specific fix steps or Linux tools (ps, lsof, strace, fuser) to identify and resolve them.","href":"/knowledge-base/database-locking"},{"title":"\"Invalid host\" error when trying to connect MiniO server as a Generic S3 data source","description":"After a Chrome update, Chromium-based browsers rejected incomplete SSL certificate chain with a NET::ERR_CERT_COMMON_NAME_INVALID error. Fix involved converting the .p7b chain file to PEM using OpenSSL and re-importing it into AWS Certificate Manager","href":"/knowledge-base/invalid-host-error-when-trying-to-connect-minio-server-as-a-generic-s3-data-source"}]},{"group":"Environments","icon":"box","pages":[{"title":"Build error for nvidia GPG key","description":null,"href":"/knowledge-base/build-error-for-nvidia-gpg-key"},{"title":"Can Not Connect to KeyServer Caused by GPG Error","description":"When attempting to refresh a CRAN GPG key during a Domino compute environment build, the build may fail if the environment cannot reach the keyserver. This article explains why this happens and how ow to resolve it without requiring keyserver connectivity","href":"/knowledge-base/can-not-connect-to-keyserver-caused-by-gpg-error"},{"title":"Docker Layers - failed to register layer: max depth exceeded","description":"Resolve the \"failed to register layer: max depth exceeded\" Docker error in Domino by reducing image layers via combined RUN commands or multi-stage builds.","href":"/knowledge-base/docker-layers-failed-to-register-layer-max-depth-exceeded"},{"title":"Environment build fails with \"The method driver /usr/lib/apt/methods/https could not be found\"","description":"Fix a compute environment build failure caused by missing apt-transport-https by adding a RUN apt-get install command to your Dockerfile before other apt commands.","href":"/knowledge-base/environment-build-fails-with-the-method-driver-usr-lib-apt-methods-https-could-not-be-found"},{"title":"ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied:","description":null,"href":"/knowledge-base/error-could-not-install-packages-due-to-an-environmenterror-errno-13-permission-denied"},{"title":"How to prevent the permission denied error when running \"pip install\" in a workspace","description":null,"href":"/knowledge-base/how-to-prevent-the-permission-denied-error-when-running-pip-install-in-a-workspace"},{"title":"How to use the apt-get install command in environments","description":"Fix the apt-get install non-zero exit code error in environment builds by adding the -y flag to run in non-interactive mode.","href":"/knowledge-base/how-to-use-the-apt-get-install-command-in-environments"},{"title":"I cannot install the pywin32 package on Domino using pip install","description":"pywin32 cannot be installed on Domino because it is a Windows-only package and Domino workspaces run on Linux. Use Linux-compatible alternatives such as python-xlib, subprocess, psutil, or DB-API libraries depending on your use case.","href":"/knowledge-base/i-cannot-install-the-pywin32-package-on-domino-using-pip-install"},{"title":"pip install throws SSL certificate error","description":"A pip install SSL certificate verification failure is typically caused by a firewall or proxy stripping SSL certificates, and can be resolved by using the --trusted-host flag either inline or persistently via pip.conf.","href":"/knowledge-base/pip-install-throws-ssl-certificate-error"},{"title":"Unable to install R package | Error : Package is not available for your version of R","description":"Fix the \"package is not available for this version of R\" CRAN error by specifying an alternate mirror inline or updating your default mirror in .Rprofile or rsession.conf.","href":"/knowledge-base/unable-to-install-r-package-error-package-is-not-available-for-your-version-of-r"},{"title":"Yarn Package invalid key","description":null,"href":"/knowledge-base/yarn-package-invalid-key"}]},{"group":"Git Integration","icon":"git-branch","pages":[{"title":"Clearing Git Cache","description":null,"href":"/knowledge-base/clearing-git-cache"}]},{"group":"Infrastructure and Kubernetes","icon":"server","pages":[{"title":"failed to pull image 602401143452.dkr.ecr.us-east-1.amazonaws.com/eks/pause:3.5","description":null,"href":"/knowledge-base/failed-to-pull-image-602401143452-dkr-ecr-us-east-1-amazonaws-com-eks-pause-3-5"},{"title":"FailedMount event \"efs.csi.aws.com not found in the list of registered CSI drivers\"","description":"Troubleshoot the FailedMount \"efs.csi.aws.com not found in registered CSI drivers\" warning on EKS pods, including how to verify driver installation with kubectl.","href":"/knowledge-base/failedmount-event-efs-csi-aws-com-not-found-in-the-list-of-registered-csi-drivers"},{"title":"How to Troubleshoot Kubernetes Autoscaling (ASG) Issues in Domino","description":"Pods fail to schedule due to autoscaling issues such as ASG misconfiguration, AZ mismatches, insufficient resources, or node label conflicts. Check execution.log, pod events, and ASG settings to diagnose.","href":"/knowledge-base/how-to-troubleshoot-autoscaling-asg-issues"},{"title":"Pods stuck in ContainerCreating with an event mentioning errno 524","description":null,"href":"/knowledge-base/pods-stuck-in-containercreating-with-an-event-mentioning-errno-524"},{"title":"Spark Executor Pods Unable to Find Kerberos Credentials Cache","description":"Kerberos klist: No credentials cache found on Spark executors. Fix: set KRB5CCNAME and KRB5_CONFIG via ENV in the Dockerfile, run kinit in Pre-Run, and concatenate all extraJavaOptions in one line.","href":"/knowledge-base/spark-on-domino-klist-no-credentials-cache-found-error-when-trying-to-use-kerberos-to-authenticate-into-sql-server"},{"title":"vm_memory_high_watermark\" error in RabbitMQ service logs","description":"Resolve RabbitMQ vm_memory_high_watermark memory alarms in Domino on Kubernetes by restarting the affected pod or permanently raising the absolute memory threshold in the ConfigMap.","href":"/knowledge-base/vm-memory-high-watermark-error-in-rabbitmq-service-logs"}]},{"group":"Models","icon":"cpu","pages":[{"title":"Errors during model build : Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/prometheus-client/","description":null,"href":"/knowledge-base/errors-during-model-build-failed-to-establish-a-new-connection-errno-2-name-or-service-not-known-simple-prometheus-client"},{"title":"Unable to deploy Model - [Errno 13] Permission denied: '/.cache'","description":null,"href":"/knowledge-base/unable-to-deploy-model-errno-13-permission-denied-cache"},{"title":"uwsgi: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory","description":"Fix the uWSGI libpcre.so.1 missing shared library error in Domino model deployments using ldd diagnostics and symlink or LD_LIBRARY_PATH remediation steps.","href":"/knowledge-base/uwsgi-error-while-loading-shared-libraries-libpcre-so-1-cannot-open-shared-object-file-no-such-file-or-directory"}]},{"group":"REST API","icon":"webhook","pages":[{"title":"415 Unsupported Media Type Error When Calling the Domino REST API","description":"A 415 Unsupported Media Type error from the Domino REST API is caused by a missing or incorrect Content-Type header. Add Content-Type: application/json to your request headers to resolve.","href":"/knowledge-base/i-keep-getting-a-415-error-unsupported-media-type-when-i-call-domino-s-rest-api-what-am-i-doing-wrong"}]},{"group":"Workspaces","icon":"monitor","pages":[{"title":"VSCode Error: ENOSPC: System limit for number of file watchers reached","description":"VSCode workspaces fail with \"ENOSPC: System limit for number of file watchers reached\" when large directories exhaust inotify handles. Fix by excluding folders like .venv from files.watcherExclude in VSCode settings, or increase fs.inotify.max_user_watches.","href":"/knowledge-base/error-enospc-system-limit-for-number-of-file-watchers-reached"},{"title":"VSCode Failed to get latest version {\"error\":\"getaddrinfo ENOTFOUND api.github.com\"}","description":"Explains VSCode \"getaddrinfo ENOTFOUND api.github.com\" and unknown IP log errors in air-gapped Domino environments, with settings to reduce network calls.","href":"/knowledge-base/vscode-failed-to-get-latest-version-error-getaddrinfo-enotfound-api-github-com"},{"title":"Why did my execution fail with \"No space left on device\"?","description":"Resolve 'No space left on device' execution failures in Domino by freeing disk space, moving files to Datasets, or increasing the allocated disk size (v4.4+).","href":"/knowledge-base/why-did-my-execution-fail-with-the-error-no-space-left-on-device"}]}]},{"group":"Administration","icon":"shield","root":{"title":"Administration","description":"Account and user management tasks for admins.","href":"/knowledge-base/administration-overview"},"pages":[{"group":"User Management","icon":"users","pages":[{"title":"Updating Your Domino Account Details","description":null,"href":"/knowledge-base/changing-domino-account-information"}]}]},{"group":"Domino Support Service Information","icon":"headset","root":{"title":"Domino Support Service Information","description":"What's covered under Domino Support, and what isn't.","href":"/knowledge-base/support-policies-overview"},"pages":[{"group":"Domino Support Policies and Procedures","icon":"file-text","pages":[{"title":"Domino Product Version Lifecycle and Support Policies","description":null,"href":"/knowledge-base/domino-product-version-lifecycle-and-support-policies"},{"title":"Scope of Support Coverage","description":null,"href":"/knowledge-base/scope-of-support-coverage"}]}]}]}]}]},"basePath":"","title":"Increasing the timeout for Shiny Server - Domino","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["2bfc744e19"],"chunks":["NarrationPlayer-bo2wtBX2.js","types-CiTgMxws.js","shallow-r9w8LQGS.js"]}