Skip to content

Conversation

@Santosl2
Copy link
Contributor

@Santosl2 Santosl2 commented Jan 28, 2026

Esse PR aumenta o timeout de seleção de tipo de rede. Com ele o QR Code gerará sem problemas e, também, não terá problemas com erros de download de mídia.

Trocar DNS e usar proxy pode até resolver por um período, mas quando a latência for mais que 250ms (configuração padrão do Node) nunca vai gerar QR, pois o node irá dar erro de ETIMEDOUT. Nesse meu PR eu aumento o timeout para 1000ms (1s) só por via das dúvidas, mas com 500ms também funciona.

Outra maneira de corrigir seria forçando o node a sempre usar IPV4, mas essa opção é em último caso, e pode ser feita ativando a flag:
--dns-result-order=ipv4first

📋 Description

🔗 Related Issue

Closes #2378 #2378 #2173 #2374 #2090

🧪 Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📚 Documentation update
  • 🔧 Refactoring (no functional changes)
  • ⚡ Performance improvement
  • 🧹 Code cleanup
  • 🔒 Security fix

🧪 Testing

  • Manual testing completed
  • Functionality verified in development environment
  • No breaking changes introduced
  • Tested with different connection types (if applicable)

📸 Screenshots (if applicable)

✅ Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have manually tested my changes thoroughly
  • I have verified the changes work with different scenarios
  • Any dependent changes have been merged and published

📝 Additional Notes

@Santosl2 Santosl2 changed the base branch from main to develop January 28, 2026 03:52
@Santosl2 Santosl2 changed the title fix(package): add network family autoselection timeout to start:prod … fix(package): add network family autoselection timeout to start:prod Jan 28, 2026
@Santosl2 Santosl2 changed the title fix(package): add network family autoselection timeout to start:prod fix: add network family autoselection timeout to start:prod to fix QR CODE Jan 28, 2026
@Santosl2 Santosl2 changed the title fix: add network family autoselection timeout to start:prod to fix QR CODE fix: Qr Code fix increasing network family timeout Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant