Honolulu • On his most grueling and consequential trip abroad, President Donald Trump stands ready to exhort Asian allies and rivals on the need to counter the dangers posed by North Korea’s nuclear threat.

The 12-day, five-country trip, the longest Far East itinerary for a president in a generation, comes at a precarious moment for Trump. Just days ago, his former campaign chairman was indicted and another adviser pleaded guilty as part of an investigation into possible collusion between his 2016 campaign and Russian officials.

With Trump set to arrive Sunday in Japan, the trip presents a crucial international test for a president looking to reassure Asian allies worried that his inward-looking “America First” agenda could cede power in the region to China. They also are rattled by his bellicose rhetoric about North Korean leader Kim Jong Un. The North’s growing missile arsenal threatens the capitals Trump will visit.

“The trip comes, I would argue, at a very inopportune time for the president. He is under growing domestic vulnerabilities that we all know about, hour to hour,” said Jonathan Pollack, a senior fellow at the Brookings Institution in Washington. “The conjunction of those issues leads to the palpable sense of unease about the potential crisis in Korea.”

Trump’s spontaneous, and at time reckless, style flies in the face of the generations-old traditions and protocol that govern diplomatic exchanges in Asia. The grand receptions expected for him in Tokyo, Seoul, Beijing and beyond are sure to be lavish attempts to impress the president, who raved about the extravagances shown him on earlier visits to Saudi Arabia and France.

The trip will also put Trump in face-to-face meetings with authoritarian leaders for whom he has expressed admiration. They include China’s Xi Jinping, whom Trump has likened to “a king,” and the Philippines’ Rodrigo Duterte, who has sanctioned the extrajudicial killings of drug dealers.

Trump may also have the chance for a second private audience with Russian President Vladimir Putin, on the sidelines of a summit in Vietnam.

The White House is signaling that Trump will push American economic interests in the region, but the North Korean threat is expected to dominate the trip. One of Trump’s two major speeches will come before the National Assembly in Seoul. Fiery threats against the North could resonate differently than they do from the distance of Washington.

Trump will forgo a trip to the Demilitarized Zone, the stark border between North and South Korea. All U.S. presidents except one since Ronald Reagan have visited the DMZ in a sign of solidarity with Seoul. The White House contends that Trump’s commitment to South Korea is already crystal clear, as evidenced by his war of words with Kim and his threats to deliver “fire and fury” to North Korea if it does not stop threatening American allies.

The escalation of rhetoric, a departure from the conduct of past presidents, has undermined confidence in the U.S. as a stabilizing presence in Asia.

“There’s a danger if there is a lot of muscle flexing,” said Mike Chinoy, a senior fellow at the U.S.-China Institute at the University of Southern California. “Trump has been going right up to the edge and I wouldn’t rule out some sort of forceful North Korean reaction to Trump’s presence in the region,” he said.

The White House said Trump would be undeterred.

“The president will use whatever language he wants to use, obviously. That’s been of great reassurance to our allies, partners and others in the region who are literally under the gun of this regime,” White House national security adviser H.R. McMaster said Thursday. “I don’t think the president really modulates his language, have you noticed?”

At each stop, Trump will urge his hosts to squeeze North Korea by stopping trading with the North and sending home North Korean citizens working abroad. That includes China, which competes with the U.S. for influence in the region and provides much of North Korea’s economic lifeblood.

The White House is banking on the close relationships Trump has established with some Asian leaders to help make his demands more palatable.

Officials acknowledge that Trump does not yet have a feel for Moon Jae-in, South Korea’s newly elected liberal president. But Trump has demonstrated cordial relations with Xi and struck up a friendship with Japanese Prime Minister Shinzo Abe, with whom he planned to golf on Sunday.

While Xi and Abe have recently tightened their control on power, Trump arrives weakened by low poll numbers, a stalled domestic agenda and the swirling Russia probe.

Many in the Asian capitals will view Trump warily.

His early withdrawal from the Trans-Pacific Partnership demolished the Obama administration’s effort to boost trade with some of the world’s fastest-growing economies and sustain America’s post-World War II strategic commitment to Asia.

Trump is expected to outline his economic vision for the region, which includes a preference for one-to-one relationships over multinational agreements, during a speech at a summit in Vietnam. He is not expected to offer any concrete economic policy changes while in Asia, though some new contracts for American businesses may be announced.

His administration’s eager embrace of a deeper strategic partnership with India and other democracies across the Pacific risks alienating China and Pakistan. The White House did, at the last minute, extend the trip for an extra day so Trump could attend the East Asia Summit in the Philippines.

At the same time, Trump can point to some early successes in Asia.

He won Beijing’s support for the toughest international sanctions yet on North Korea. Tensions in the disputed South China Sea that escalated as China conducted a massive land-reclamation effort on Obama’s watch have ebbed. Long-standing U.S. alliances with Thailand and the Philippines have been repaired by engaging their authoritarian leaders and sidelining human rights concerns, though the White House suggested Trump may chide Duterte privately.

“How much does it help to yell about these problems?” McMaster said.

The White House hopes the trip could offer a chance at a reset as a tumultuous first year in office winds down. Trump’s advisers see it as an opportunity for the president to forcefully assert U.S. pledges to its allies and deliver a fierce warning directly to North Korea’s Kim, whom he has belittled as “little Rocket Man.”

Trump’s trip will be the longest Asia visit for any U.S. president since George H.W. Bush went there in 1992, when he fell ill during a state dinner with the Japanese prime minister.