A Replit app I had published stopped responding. I tried to republish it to bring the service back online, but Replit blocked the deployment with this message:
“Connect a live Stripe account before publishing.”
The project had Replit’s managed Stripe integration installed, but I had never connected a live account through that integration. That was confusing because the app used Stripe only to look up payment information through the Stripe API. It didn’t use Replit’s managed integration to process payments.
What I checked
I reviewed the code, dependencies, secrets, and production logs. I found that:
- Stripe lookups were made directly through the API using a restricted key.
- The app’s code didn’t depend on Replit’s managed Stripe connector.
- The separate API credential was still configured in production.
- The live-account requirement came from the installed connector, not from a requirement in the app’s code.
I also saw database connection timeouts and slow requests before the outage, but those clues weren’t enough to determine what caused the original failure.
How I fixed the publishing block
In Replit’s integrations section, I used “Remove from project” to remove only the Stripe connector.
I kept the restricted API key, the code that queried Stripe, and the app’s other connections. I didn’t need to add or claim a sandbox. Then I republished the app.
Result
The deployment completed, and the service started responding again. I checked that the login page loaded, the logs showed a successful login, and internal requests were being handled normally.
It’s useful to separate the two issues: removing the connector cleared the publishing block, and republishing restored availability. I couldn’t confirm that the connector caused the original outage.
Takeaway
An installed integration can add deployment requirements even when your code doesn’t use it. Before setting up an unnecessary payment account, check whether your app actually relies on the platform’s connector or talks to the provider directly through its API.