openculinary/infrastructure

Feedback report feature is not working

Closed this issue · 2 comments

Describe the bug
Initially reported on 2021-04-13: attempting to use the 'Feedback' button displayed as part of the frontend application fails, and displays the following error message: "There was an error sending your feedback to our server."

To Reproduce
Steps to reproduce the behavior:

  1. Go to the RecipeRadar app home
  2. Click on the 'Feedback' button displayed in the bottom-right corner
  3. Click through the feedback instructions
  4. See error

Expected behavior
Feedback reports should be sent successfully.

Screenshots
image

This appears to be an issue with outbound traffic from the Kubernetes pods.

The api service that handles these requests makes an outbound SMTP request to send the feedback to us as an email. This involves DNS resolution followed by a TCP connection.

Currently neither DNS resolution nor TCP connections outside of the Kubernetes cluster appear to be possible. It may be that the routing table on the pods is incomplete.

/ $ nslookup github.com
Server:		10.96.0.10
Address:	10.96.0.10:53

;; connection timed out; no servers could be reached

/ $ wget github.com
wget: bad address 'github.com'
/ $ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         169.254.1.1     0.0.0.0         UG    0      0        0 eth0
169.254.1.1     0.0.0.0         255.255.255.255 UH    0      0        0 eth0
/ $ 

A default route on a non-link-local-only network is expected (and is not currently found) in the routing table, as shown above.

This appears to have been resolved; albeit without any (re)configuration actions taken. Perhaps it's an intermittent / timing-based issue? Some logs have been collected from the calico-node in the cluster in case further investigation is required.