エラー内容
bundle.js:76890 WebSocket connection to 'ws://localhost:3000/ws' failed:
WebSocketClient @ bundle.js:76890このエラーを分析
Chrome is moving towards a new experience that allows users to choose to browse without third-party cookies.
ERROR
No matching allow statements
FirebaseError: No matching allow statements
原因
FirebaseError: No matching allow statements
上記より、Firestore セキュリティルールが原因でデータの読み書きが拒否されている。
解消策
該当ファイルの書き換え
firesotre.rules
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /users/{userId} {
allow read, write: if request.auth != null;
}
}
}