Strange issue when reading Fan tacho using pulseInLong()

Circuit seems ok, but I would remove that pull up resistor and use internal pull up.

Does the fan run without any logic connected to the speed control wire? (blue coming out of the heatshrink)
I think that needs a logic HIGH (5volt) for the fan to run. Or a 5volt PWM signal.
Leo..