u007
Explore posts from serversreadFileSync" is not exported by
doing server and client side rendering on the same framework is extremely unpredictable. for some weird reason, all my #nuxt server ts file starts to render on client side causing import error for fs, url and path. anyone experiencing the same issue? ive to do in function import with await to fix this
2 replies
PPrisma
•Created by u007 on 5/30/2024 in #help-and-questions
mongodb connection randomly unable to connect
im not sure, but ive implemented dnsmasq to fallback dns issue incase if it fails
6 replies
PPrisma
•Created by u007 on 5/30/2024 in #help-and-questions
mongodb connection randomly unable to connect
i suspect this has todo with atlas connection limit
6 replies
PPrisma
•Created by u007 on 5/30/2024 in #help-and-questions
mongodb connection randomly unable to connect
again happening:
again happening:
return this.prisma.user.findUnique(
vhnest_1 | Raw query failed. Code:
unknown
. Message: `Server selection timeout: None of the available servers suitable for criteria ReadPreference(Primary). Topology: { Type: ReplicaSetNoPrimary, Servers: [ { Address: :27017, Type: RsSecondary, Average RTT: 3.281146ms, Last Update Time: DateTime(OffsetDateTime { local_datetime: PrimitiveDateTime { date: Date { year: 2024, ordinal: 152 }, time: Time { hour: 5, minute: 58, second: 44, nanosecond: 237000000 } }, offset: UtcOffset { hours: 0, minutes: 0, seconds: 0 } }), Max Wire Version: 21, Min Wire Version: 0, Replica Set Name: atlas-lxzpd2-shard-0, Replica Set Version: 44, Tags: {"nodeType": "ELECTABLE", "diskState": "READY", "workloadType": "OPERATIONAL", "provider": "AWS", "region": "AP_SOUTHEAST_1", "availabilityZone": "apse1-az1"} }, { Address: :27017, Type: RsSecondary, Average RTT: 4.461106ms, Last Update Time: DateTime(OffsetDateTime { local_datetime: PrimitiveDateTime { date: Date { year: 2024, ordinal: 152 }, time: Time { hour: 5, minute: 58, second: 44, nanosecond: 346000000 } }, offset: UtcOffset { hours: 0, minutes: 0, seconds: 0 } }), Max Wire Version: 21, Min Wire Version: 0, Replica Set Name: ***-0, Replica Set Version: 44, Tags: {"availabilityZone": "apse1-az2", "workloadType": "OPERATIONAL", "diskState": "READY", "nodeType": "ELECTABLE", "provider": "AWS", "region": "AP_SOUTHEAST_1"} }...6 replies
PPrisma
•Created by u007 on 5/30/2024 in #help-and-questions
mongodb connection randomly unable to connect
ive added 0.0.0.0 to the allowed ip
6 replies
PPrisma
•Created by u007 on 5/30/2024 in #help-and-questions
mongodb connection randomly unable to connect
[Nest] 7 - 05/28/2024, 10:34:58 AM ERROR [ExceptionHandler] Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you're trying to access the database from an IP that isn't whitelisted. Make sure your current IP address is on your Atlas cluster's IP whitelist: https://www.mongodb.com/docs/atlas/security-whitelist/
6 replies
PPrisma
•Created by u007 on 5/8/2024 in #help-and-questions
where inside include
sorry my own bug
2 replies