Troubleshooting¶
Problemy częste¶
1. Użytkownik nie może się zalogować¶
Sprawdź: - Azure AD B2C - czy user flow działa? - Czy email zweryfikowany? - Sprawdź logi Application Insights
Fix: - Reset hasła - Resend verification email - Sprawdź CORS settings
2. Wolna aplikacja¶
Sprawdź: - Application Insights - response times - Database - slow queries - App Service - CPU/Memory usage
Fix: - Scale up App Service - Optymalizuj queries - Dodaj indeksy do bazy
3. Błędy 500¶
Sprawdź: - App Service logs - Application Insights exceptions - Database connectivity
Fix: - Restart App Service - Sprawdź connection strings - Sprawdź Azure Storage connectivity
4. Upload plików nie działa¶
Sprawdź: - Azure Storage - czy działa? - App Service - max upload size - CORS settings
Fix: - Zwiększ upload limit - Skonfiguruj CORS w Storage
Logi¶
# Stream logs
az webapp log tail --name masaku-api-prod-de --resource-group masaku-prod
# Download logs
az webapp log download --name masaku-api-prod-de --resource-group masaku-prod
Support¶
- GitHub Issues: https://github.com/masaku/issues
- Email: support@masaku.de
- Slack: #support