As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
FLT 1017, CREW DECLARED EMERGENCY AND AIRCRAFT RETURNED TO BOS DUE TO LANDING GEAR LEVER WOULD NOT COME UP ON TAKEOFF. FOUND INTERMITTENT CONNECTION AT RIGHT NOSE WEIGHT ON WHEELS PROX SENSOR. REPLACED HARNESS ASSY AND PROXIMITY SENSOR REFERENCE AMM 32-62-01-04.