I suspect that the PGX server is not configured correctly or not reachable.
What happens if you run the following command?
Are you using TLS? In that case, you should use https://localhost:7007 as the server address.
Side note: it would be great if you could chose a friendlier user name than 3743676 :-)
Thanks. The curl command does returned error. After I restarted the HTTP server, now the g.getGraph() is fine.
Initially I used PGX shell to verify the server, which seems all right:
pgx> instance = Pgx.getInstance("http://localhost:7007")
A friendlier name has been set btw :-)
Thanks, I'm glad that the issue is resolved!