Couldn't access or write log to Sentry swarm service in swarm network

I’m using Sentry 9.1.2,

Currently, I could connect and write log to Sentry via IP, localhost, hostname but failed via swarm sentry web service. As checking request is forwarded to Sentry web container, but show error code 400 “bad request”.

Please let me know if I missed anything or what should I do to fix this error? Thanks.