As of Sunday September 3, 2023, Canadians can no longer get their Visa online or on arrival in Egypt.
As of Sunday, Canadians travelling to Egypt will have to visit Egypt's embassy or a consulate in Canada to apply for a visa before they leave the country, according to Global Affairs Canada's travel page for Egypt.
https://www.cbc.ca/news/politics/egypt-canadian-traveller-visas-1.6951919