Mining.subscribe gets 400 Bad Request

i’m a newbie about mining.
just installed Bitcoin Gold core wallet (full node) on linux and configured rpc + autnentication.
block sync is completed.
I built nheqminer to test cpu mining, but it fails with 400 bad request on mining.subscribe method.
Thank you for your help.