The Senate failed to pass a House-passed measure to keep the government working for the next month, as Democrats and some Republicans refused to move on another short-term funding bill.

Democrats met late into the night to discuss the situation, while Republicans offered a proposal for a measure to keep the government open for three weeks instead. But it appears Democrats have refused to budge on that deal.

In the end, the Senate voted on a motion to break a potential filibuster on the bill, which meant they needed 60 votes. The motion failed. Five Democrats joined majority Republicans in favor of the bill, while four Republicans joined Democrats against the bill.

Among the Florida delegation, Sen. Bill Nelson voted against the measure, while Sen. Marco Rubio voted in favor of it.

Senators huddled together to broker a deal but ultimately failed to negotiate a resolution when the clock striked midnight.

The House passed the bill late Thursday night between party lines with a vote of 230-197, however the Senate will need Democrats on their side if they want to do the same.

However, Democrats in the Senate have served notice they will filibuster a four-week, government-wide funding bill that passed the House Thursday evening, seeking to shape a subsequent measure but exposing themselves to charges they are responsible for a looming shutdown.

Many Democrats do not want to pass the current short-term spending bill without a separate deal or firm promise to also protect the Deferred Action for Childhood Arrivals (DACA) recipients, who came to the U.S. illegally as minors.

After President Trump walked back from bipartisan overtures on immigration reform over the last week, Democratic leaders say they no longer trust promises to eventually get a deal that prevents the nearly 700,000 Dreamers from being deported.

President Donald Trump and Senate Democratic leader Chuck Schumer met Friday afternoon in an eleventh-hour effort to avert a government shutdown.

The two New Yorkers, who pride themselves on their deal-making abilities, emerged from the meeting at the White House without an agreement, and Republicans and Democrats in Congress continued to trade blame as the midnight deadline approached.

“We made some progress, but we still have a good number of disagreements,” Schumer told reporters upon returning to Capitol Hill.

As news of the Schumer meeting spread, the White House sought to reassure Republican congressional leaders that Trump would not make any major policy concessions, said a person familiar with the conversations but not authorized to be quoted by name.

Senate GOP leader John Cornyn of Texas said Trump told Schumer to work things out with McConnell and House Speaker Paul Ryan. “The ball is in Sen. Schumer’s court,” Cornyn said.

“They’re in charge,” Schumer said Friday as he entered his Capitol office. “They’re not talking to us. They’re totally paralyzed and inept. There’s no one to negotiate with.”

Republicans controlling the narrowly-divided chamber took up the fight, arguing that Democrats were holding the entire government hostage over demands to protect "Dreamer" immigrants.

And Republican Senate Majority Leader Mitch McConnell is putting the pressure on.

Whereas Democratic New York Sen. Chuck Schumer pitched the idea of passing a very short-term bill to fund the government for just a few days, giving senators more time to hash out the details.

However, Senate Republicans do not seem on board with this plan. They have nicknamed it the #SchumerShutdown.

President Donald Trump tweeted on Friday morning abut the vote and blasting the Democrats for wanting "weak borders."

Congress must act by midnight Friday or the government will begin immediately locking its doors. Though the impact would initially be spotty — since most agencies would be closed until Monday — the story would be certain to dominate weekend news coverage, and each party would be gambling the public would blame the other.

In the event of a shutdown, food inspections, federal law enforcement, airport security checks, and other vital services would continue, as would Social Security, other federal benefit programs and military operations. But federal workers wouldn’t be paid.

The Associated Press contributed to this story.