To resolve this issue change the externalTrafficPolicy option of the Kubernetes Service from externalTrafficPolicy=Local to externalTrafficPolicy=Cluster.
For example the current service configuration could be viewed with a command like the following:
kubectl get svc -n <namespace of service> <name of service> -oyaml
The service configuration could then be changed using a command such like following:
kubectl edit svc -n <namespace of service> <name of service>