Date: 202106
Local time of day: 1201-1800
Location: ZZZ.Airport, US
Flight conditions: VMC
Light: Daylight
Aircraft: Regional Jet 900 (CRJ900)
Operator: Air Carrier
Operating under: Part 121
Flight plan: IFR
Mission: Passenger
Flight phase: Climb
Airspace: Class A ZZZ
ATC / advisory: Center ZZZ
Aircraft component: Pressurization System
Component problem: Malfunctioning
Reporter organization: Air Carrier
Reporter function: Captain; Pilot Flying
Reporter qualification: Flight Crew Instrument; Flight Crew Multiengine; Flight Crew Air Transport Pilot (ATP)
Second reporter function: First Officer; Pilot Flying
Anomaly: Aircraft Equipment Problem Critical; Deviation / Discrepancy - Procedural Clearance; Flight Deck / Cabin / Aircraft Event Other / Unknown
Detector: Person Flight Crew
When detected: In-flight
Result: Flight Crew Landed in Emergency Condition; Flight Crew Returned To Departure Airport
Contributing factors: Aircraft
Primary problem: Aircraft

Narrative: I was the Captain operating Aircraft X.  Climbing out of approximately FL280 we received the Right ENG Bleed warning message (First Officer Flying Pilot). I took the flight controls and stopped the climb.  The bleed air closed before the bleed source could be selected to non-affected engine source. Initially; I did attempt to complete the procedure; However it did not work.  The bleeds closed automatically leaving us with no air. We immediately put on our oxygen masks; I notified ATC and asked for a descent to 15;000.  After the descent was initiated. I inquired ATC about 10;000 and terrain clearance.  After reviewing terrain clearance and verification with ATC we continued to 10;000. The First Officer completed both the descent checklist and the R Bleed Duct warning check list while in initial descent. During the descent the oxygen masks deployed as both the cabin altitude and then cabin warning messages were received.  The masks deployed automatically.  At 15;000 the APU was started.  Initially the APU would not supply air.  After a second attempt to go to manual APU we obtained air on the aircraft.  The flight attendants were contacted and an announcement was made to the passengers.  The company was notified via ACARS.The fire trucks were requested due to the nature of the situation; initially I was very concerned about the extreme heat in ZZZ and the passengers health without air conditioning.  The flight returned to ZZZ without further incident landing Runway X.  The flight attendants reported all the passengers were OK and did not need assistance.  I made an announcement once we were able to take the masks off at 10;000.  I explained the reason for the return to ZZZ.  In addition once at the gate another announcement was made apologizing for the inconvenience. Dispatch was contacted by telephone once at the gate.  2 maintenance write ups were completed at the gate: 1. R Eng Bleed Warning. 2. Pax oxygen masks deployed auto. After a delay we received another aircraft and the flight was completed to ZZZ1.


Second narrative: I; the First officer; was assigned as the flying pilot on Aircraft X scheduled from ZZZ to ZZZ1; After a normal pushback;  start up and takeoff; we received a Right Bleed Master Warning [(R(L) bleed duct] at approximately FL280. As per procedure; I stated I have the radios and controls and asked the Captain to reference QRH for R(L) Bleed Duct. However; before the Captain could perform the QRH procedure the bleeds closed and the aircraft depressurized. I also saw that the passenger oxygen light had come on indicating the passenger oxygen masks had deployed.  The Captain took the controls and initiated an immediate descent. The Captain ordered oxygen mask on.  Once at a safe altitude (15;000 ft as best as I can remember) we notified ATC; and I began to run the checklist for descent and QRH for R(L) Bleed Duct. Once the Captain determined it was safe; we continued down to 10;000 feet and we began setting up for a return to ZZZ. All Diversion procedures were completed and we conducted a normal approach (still with priority) to ZZZ Runway X. As per the CRJ-900 system manual and QRH; a Left or Right Bleed Duct leak will cause all bleed air sources to be closed within 30 seconds causing a loss of pressurization. This is not enough time to perform the manual bleed procedure per QRH. Therefore the manual bleed procedure should at least be a checklist item.


Synopsis: CRJ-900 flight crew reported an aircraft bleed system malfunction during climbout. Flight crew diverted to nearest suitable airport.