René's URL Explorer Experiment


Title: Erro intermitente 401 Unauthorized · Issue #2356 · EvolutionAPI/evolution-api · GitHub

Open Graph Title: Erro intermitente 401 Unauthorized · Issue #2356 · EvolutionAPI/evolution-api

X Title: Erro intermitente 401 Unauthorized · Issue #2356 · EvolutionAPI/evolution-api

Description: Welcome! Yes, I have searched for similar issues on GitHub and found none. What did you do? Estou utilizando a Evolution API para envio de mensagens via WhatsApp por meio de uma instância persistente. A instância entra de forma intermite...

Open Graph Description: Welcome! Yes, I have searched for similar issues on GitHub and found none. What did you do? Estou utilizando a Evolution API para envio de mensagens via WhatsApp por meio de uma instância persisten...

X Description: Welcome! Yes, I have searched for similar issues on GitHub and found none. What did you do? Estou utilizando a Evolution API para envio de mensagens via WhatsApp por meio de uma instância persisten...

Opengraph URL: https://github.com/EvolutionAPI/evolution-api/issues/2356

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Erro intermitente 401 Unauthorized","articleBody":"### Welcome!\n\n- [x] Yes, I have searched for similar issues on [GitHub](https://github.com/EvolutionAPI/evolution-api/issues) and found none.\n\n### What did you do?\n\nEstou utilizando a Evolution API para envio de mensagens via WhatsApp por meio de uma instância persistente.\n\nA instância entra de forma intermitente em um estado inconsistente no qual não é possível interagir com a Evolution API, independentemente do endpoint utilizado.\n\nDurante esses períodos, **todas as chamadas para endpoints relacionados à instância** retornam erro `401 Unauthorized`, incluindo endpoints de verificação de estado e de envio de mensagens.\n\nO problema não está restrito a uma rota específica ou a permissões pontuais, já que múltiplos endpoints passam a falhar simultaneamente, indicando um problema global de autorização ou de estado da instância.\n\nApós alguns minutos, a instância se recupera automaticamente e volta a responder normalmente, **sem necessidade de restart, reconfiguração ou qualquer intervenção manual**.\n\nPara acompanhar melhor, adicionei uma task que verifica o estado da instância a cada 2 minutos, e os logs mostram claramente períodos contínuos de sucesso seguidos de períodos contínuos de falha.\n\n\n### What did you expect?\n\nEra esperado que, enquanto a sessão do WhatsApp estivesse ativa, a instância permanecesse acessível via API de forma consistente.\n\nEm caso de desconexão real da instância, era esperado:\n- um estado de desconectado claro e consistente\n- ou um erro específico indicando perda de conexão\n\nNão era esperado que uma instância válida e previamente funcional passasse a retornar `401 Unauthorized` de forma temporária.\n\n### What did you observe instead of what you expected?\n\nEm vez de um estado claro de desconexão, a instância entra temporariamente em um período de indisponibilidade, retornando erro `401 Unauthorized` para múltiplos endpoints.\n\nEsse comportamento ocorre em janelas de tempo bem definidas, nas quais:\n- todas as chamadas à API falham com 401\n- não é possível consultar o estado da instância\n- o envio de mensagens fica bloqueado\n\nApós alguns minutos, a instância se recupera sozinha e volta a operar normalmente.\n\n### Screenshots/Videos\n\n```\nClient error '401 Unauthorized' for url 'https://alfa.evo.infe.dev.br/instance/connectionState/instancia'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401\n```\n\n### Which version of the API are you using?\n\nv2.3.6\n\n### What is your environment?\n\nWindows\n\n### Other environment specifications\n\n- Ambiente: Produção\n- Runtime: Docker\n- Hospedagem: VM em nuvem\n- Tipo de conexão WhatsApp: instância persistente\n\n### If applicable, paste the log output\n\n_No response_\n\n### Additional Notes\n\n_No response_","author":{"url":"https://github.com/FernandaMascarenhas","@type":"Person","name":"FernandaMascarenhas"},"datePublished":"2026-01-08T14:10:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/2356/evolution-api/issues/2356"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:436e7194-0cc1-1ecf-9d53-a4746122897f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBCB0:1EBE8D:1F9860B:29E530E:696EEEFF
html-safe-nonce1d2aac5b3deac2fcfed714fae7d183abc49ce38c845d0fecd9b2a46d3161b920
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0IwOjFFQkU4RDoxRjk4NjBCOjI5RTUzMEU6Njk2RUVFRkYiLCJ2aXNpdG9yX2lkIjoiOTU0MzA2MTY0MDIwOTMyMzUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac4565b9d29a15896c26152ae3309a978f1ef38e0a271ff3757d6a859f59fd5846
hovercard-subject-tagissue:3793056038
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/EvolutionAPI/evolution-api/2356/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7883c5e5c8897fc2d9f445377e62318554955f770d2c6714988a2cb731a129f2/EvolutionAPI/evolution-api/issues/2356
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7883c5e5c8897fc2d9f445377e62318554955f770d2c6714988a2cb731a129f2/EvolutionAPI/evolution-api/issues/2356
og:image:altWelcome! Yes, I have searched for similar issues on GitHub and found none. What did you do? Estou utilizando a Evolution API para envio de mensagens via WhatsApp por meio de uma instância persisten...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameFernandaMascarenhas
hostnamegithub.com
expected-hostnamegithub.com
Noneb278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee
turbo-cache-controlno-preview
go-importgithub.com/EvolutionAPI/evolution-api git https://github.com/EvolutionAPI/evolution-api.git
octolytics-dimension-user_id136080052
octolytics-dimension-user_loginEvolutionAPI
octolytics-dimension-repository_id651487266
octolytics-dimension-repository_nwoEvolutionAPI/evolution-api
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id651487266
octolytics-dimension-repository_network_root_nwoEvolutionAPI/evolution-api
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
release39aed5006635ab6f45e6b77d23e73b08a00272a3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/EvolutionAPI/evolution-api/issues/2356#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FEvolutionAPI%2Fevolution-api%2Fissues%2F2356
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%2FEvolutionAPI%2Fevolution-api%2Fissues%2F2356
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=EvolutionAPI%2Fevolution-api
Reloadhttps://patch-diff.githubusercontent.com/EvolutionAPI/evolution-api/issues/2356
Reloadhttps://patch-diff.githubusercontent.com/EvolutionAPI/evolution-api/issues/2356
Reloadhttps://patch-diff.githubusercontent.com/EvolutionAPI/evolution-api/issues/2356
EvolutionAPI https://patch-diff.githubusercontent.com/EvolutionAPI
evolution-apihttps://patch-diff.githubusercontent.com/EvolutionAPI/evolution-api
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FEvolutionAPI%2Fevolution-api
Fork 5.3k https://patch-diff.githubusercontent.com/login?return_to=%2FEvolutionAPI%2Fevolution-api
Star 6.9k https://patch-diff.githubusercontent.com/login?return_to=%2FEvolutionAPI%2Fevolution-api
Code https://patch-diff.githubusercontent.com/EvolutionAPI/evolution-api
Issues 338 https://patch-diff.githubusercontent.com/EvolutionAPI/evolution-api/issues
Pull requests 8 https://patch-diff.githubusercontent.com/EvolutionAPI/evolution-api/pulls
Actions https://patch-diff.githubusercontent.com/EvolutionAPI/evolution-api/actions
Projects 0 https://patch-diff.githubusercontent.com/EvolutionAPI/evolution-api/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/EvolutionAPI/evolution-api/security
Please reload this pagehttps://patch-diff.githubusercontent.com/EvolutionAPI/evolution-api/issues/2356
Insights https://patch-diff.githubusercontent.com/EvolutionAPI/evolution-api/pulse
Code https://patch-diff.githubusercontent.com/EvolutionAPI/evolution-api
Issues https://patch-diff.githubusercontent.com/EvolutionAPI/evolution-api/issues
Pull requests https://patch-diff.githubusercontent.com/EvolutionAPI/evolution-api/pulls
Actions https://patch-diff.githubusercontent.com/EvolutionAPI/evolution-api/actions
Projects https://patch-diff.githubusercontent.com/EvolutionAPI/evolution-api/projects
Security https://patch-diff.githubusercontent.com/EvolutionAPI/evolution-api/security
Insights https://patch-diff.githubusercontent.com/EvolutionAPI/evolution-api/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/EvolutionAPI/evolution-api/issues/2356
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/EvolutionAPI/evolution-api/issues/2356
Erro intermitente 401 Unauthorizedhttps://patch-diff.githubusercontent.com/EvolutionAPI/evolution-api/issues/2356#top
bugSomething isn't workinghttps://github.com/EvolutionAPI/evolution-api/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/FernandaMascarenhas
https://github.com/FernandaMascarenhas
FernandaMascarenhashttps://github.com/FernandaMascarenhas
on Jan 8, 2026https://github.com/EvolutionAPI/evolution-api/issues/2356#issue-3793056038
GitHubhttps://github.com/EvolutionAPI/evolution-api/issues
bugSomething isn't workinghttps://github.com/EvolutionAPI/evolution-api/issues?q=state%3Aopen%20label%3A%22bug%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.