edgurgel/poxa

Validation (?) error on sending socket_id

Closed this issue · 1 comments

Hello,
i have a problem with sending socket_id in API request.

[9] pry(main)> Pusher.trigger('my-channel', 'my-event', {message: 'test1'}, socket_id: '123123')

Pusher::Error: Bad request: {"error":"Event must have channel(s), name, and data"}
from /home/sonar/.rvm/gems/ruby-2.4.0@dev/gems/pusher-1.3.1/lib/pusher/request.rb:90:in `handle_response'

Sending this request to pusher.com returns no errors and the console shows socket_id as well.

image

Am i missing something?

Thanks.

This socket_id is not a valid socket_id for Poxa: e965fff

Poxa won't generate such socket_id