Got 502 when i trying to curl full node


i have set a full node chia in local, it can respond if i using cli. but it got 502 when i trying to curl

What is it your trying to do?

just want to get latest block info.
btw i solved, i have used wrong ssl cert to curl.

however, i have found that when get info via get_blockchain_state rpc. some of the block info has no timestamp. may i know how to solve it?