1

I have deployed NodeJs Parse server with Parse LiveQuery on AWS elasticbeanstalk but it seems like LiveQuery is not working. When i try to subscribe from my iOS client app it gives me error.

Error: Error Domain=SRWebSocketErrorDomain Code=2132 "received bad response code from server 404"

Note: When I run locally on my mac it works fine. What could be the issue with AWS ?

1

1 Answer 1

2
+100

Similar issue as here:

How to run a Parse Live Query Server (Web Sockets) behind an AWS Load Balancer?

The problem seemed to be that classic load balancers don't support websockets.

AWS recently launched a new service, Application Load Balancers, which support websockets:

https://aws.amazon.com/blogs/aws/new-aws-application-load-balancer/

1
  • Application load balancers Perfect thanks for this Commented Sep 11, 2016 at 19:02

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.