MEXICO CITY — Hundreds of Hondurans, many with hopes of reaching the United States, streamed toward the Guatemalan border on Wednesday in the kind of migrant caravan that, in 2018 and 2019, angered President Trump and posed a direct challenge to governments throughout the region.

Traveling by foot and hitchhiking, the vanguard of the new caravan set off from the northern Honduran city of San Pedro Sula earlier in the week, with others following throughout the day on Wednesday, local media and migrants’ advocates reported.

The migrants met some resistance at the Guatemalan border when Honduran police fired tear gas to repel a group seeking to cross. A spokesman for the Honduran security ministry said the group had tried to leave the country without clearing the proper migration controls, Reuters reported.

President Alejandro Giammattei of Guatemala, who was sworn into office this week, said Wednesday that his government would honor Central American migration agreements that permitted Hondurans to enter Guatemala as long as they had proper identification.