I have a couchbase server on an AWS EC2 instance, and I have a Golang app connected to it deployed on Elastic Beanstalk. My queries ran successfully (from the sdk), and returns the right data when called (from the golang api). I manually ran a Delete query from couchbase web admin, and I populated data again (from a seed method in the Go app). When I try the endpoints again it returns null
NB: I have a local server (same Go app), and I tried the endpoint again, this time connecting my Local Go app to the remote database, and the query works, it returns the data as expected.
Why isn’t it returning from the live app?
PS: Both local and live Go apps are on same version:
Both run the same set of queries: SELECT * FROM bucketname AS contents WHERE type = 'content'
I had restarted both the couchbase server, and my app’s server and waited over an hour, still no changes, what could be the cause of this?
Thanks @ingenthr I was able to figure out the cause, your suspicion was valid, Elastic Beanstalk wasn’t updating the container I had made the changes to the code to. I had to manually upload the config and updated the version number.