working locally not externally, how to check what failed?