Seemingly can't connect to endpointBase from AWS Server