You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2017-08-20 10:14:10.410 [debug][system]<0.922.0>|?|push_apple_server:201| apns feedback process down: {badarg,[{erlang,bit_size,[[89,153,152,246,0,32,136,131,4,42,216,135,56,173,209,154,75,225,106,81,28,141,237,232,56,0,92,94,210,193,61,210,77,198,18,4,76,251]],[]},{apns_feedback,build_feedback,5,[{file,"/home/ne/Projects/egg/_build/default/lib/apns/src/apns_feedback.erl"},{line,87}]},{apns_feedback,get_feedback,1,[{file,"/home/ne/Projects/egg/_build/default/lib/apns/src/apns_feedback.erl"},{line,47}]},{push_apple_server,'-handle_info/2-fun-1-',2,[{file,"/home/ne/Projects/egg/_build/prod/lib/push/src/push_apple_server.erl"},{line,193}]}]}
{badarg,[{erlang,bit_size,[[89,153,152,246,0,32,136,131,4,42,216,135,56,173,209,154,75,225,106,81,28,141,237,232,56,0,92,94,210,193,61,210,77,198,18,4,76,251]],[]},{apns_feedback,build_feedback,5,[{file,"/home/ne/Projects/egg/_build/default/lib/apns/src/apns_feedback.erl"},{line,87}]},{apns_feedback,get_feedback,1,[{file,"/home/ne/Projects/egg/_build/default/lib/apns/src/apns_feedback.erl"},{line,47}]},{push_apple_server,'-handle_info/2-fun-1-',2,[{file,"/home/ne/Projects/egg/_build/prod/lib/push/src/push_apple_server.erl"},{line,193}]}]}
i think, that because in apns_feedback we expect binary data from ssl in active mode, but by default ssl send data as list (see http://erlang.org/doc/man/ssl.html : The default socket options are [{mode,list},{packet, 0},{header, 0},{active, true}]., but i was try to fix it - fork it and add to apns_feedback:46 line ssl:setopts(Socket, [{mode, raw}]), - it doesn't help
i use tag 2.2.0 version
The text was updated successfully, but these errors were encountered:
when i try to get feedback like this:
i get error
i think, that because in apns_feedback we expect binary data from ssl in active mode, but by default ssl send data as list (see http://erlang.org/doc/man/ssl.html :
The default socket options are [{mode,list},{packet, 0},{header, 0},{active, true}].
, but i was try to fix it - fork it and add to apns_feedback:46 linessl:setopts(Socket, [{mode, raw}]),
- it doesn't helpi use tag 2.2.0 version
The text was updated successfully, but these errors were encountered: