Having problem with gas flow from tank to glass fuel filter and bike stalling. If I disconnect the gas line from the other end of the gas filter that goes to the carburetor the gas flows into the filter. The line to the carburetor has all kinds of gas in it But once the bike is running the flow to the filter stops again.

Top of glass fuel filter says out where fuel line from tank is connected. I have had it connected this way for a long time with no problems until now. Fuel does not flow freely into filter.It fills about half way so when I start the bike it uses up what gas is in the filter.Filter goes dry bike stalls. Is the filter installed correctly or is it something else? When I disconnect the line from filter to carburetor the gas just dribbles into the filter halfway where as before this problem the gas would rush into the filter and fill it immediately.

Pull the filter off, and using appropriate precautions, blow through the filter. There should be very little resistance.
Now, open the petcock and check the flow from the tank. If it seems restricted, pull the petcock, if you have one. Check the strainer screen. Check the passages in the body of the petcock. I have seen them block up with powdered rust.
If you have the old style tank shutoff, someone else will have to help, as I have no experience with them yet.

Regards,
John

PS The glass filters I am familiar with will flow in either direction, but if installed backward, have less filter area to flow throughand will block faster

Dream, Does you glass filter have the white plastic screen element? Remove the screen and see if the fuel flows again. The plastic screen was not intended for a gravity flow system and has a lot of "surface tension" resistance and that may be your problem. The brown fiber elements made for those glass filters will work ok. Dont expect the glass to be totaly full of gas as air gets trapped in the top if its mounted verticaly.