Read it in 60's or 70's. Space battle. Ship escapes by running through a hole into a Dyson Sphere. Crashes on the inside a very long way from the hole. Crew use material from their ship to build propeller aircraft and fly back to the hole, journey takes years. Cross territory occupied by numerous races and civilisations. Multiple different climates. They finally reach the hole. The sphere has holes with defenses that allow entry but stop anyone trying to leave. They do somehow figure out a way to escape.
At the end I think they discovered that the sphere had been built by a super advanced race as a kind of honey trap. Other developing species were tempted into the sphere by the easy living and virtually unlimited free land, so they never developed to a level where they could challenge the sphere builders.
One phrase stuck in my mind, "the green and infinite acres of ?????". May have been the last sentence of the story. I would love to read it again.