Connecting Unity3d Android application to ActiveMQ broker using MQTT -


i trying connect unity3d android application activemq server using mqtt protocol.

in log attached below can see server refusing me connection.

i have correctly portforwarded required port accessible outside. have tried connect local network using device's wi-fi.

i using mqtt library unity can found here: https://m2mqtt4unity.codeplex.com/

currently same application, example can found in https://m2mqtt4unity.codeplex.com/documentation, working fine in unity editor , in standalone (.exe). have correctly set activemq protocol settings allow mqtt.

i have posted other question connecting activemq using nms here: subscribing activemq unity3d app on android.

using "adb logcat -s unity" debug throws this:

--------- beginning of /dev/log/system  --------- beginning of /dev/log/main  e/unity   (12824): unable find audiopluginoculusspatializer  d/unity   (12824):  gl_arm_rgba8 gl_arm_mali_shader_binary gl_oes_depth24 gl_oes_depth_texture gl_oes_depth_texture_cube_map gl_oes_packed_depth_stencil gl_oes_rgb8_rgba8 gl_ext_read_format_bgra gl_oes_compressed_paletted_texture gl_oes_compressed_etc1_rgb8_texture gl_oes_standard_derivatives gl_oes_egl_image gl_oes_egl_image_external gl_oes_egl_sync gl_oes_texture_npot gl_oes_vertex_half_float gl_oes_required_internalformat gl_oes_vertex_array_object gl_oes_mapbuffer gl_ext_texture_format_bgra8888 gl_ext_texture_rg gl_ext_texture_type_2_10_10_10_rev gl_oes_fbo_render_mipmap gl_oes_element_index_uint gl_ext_shadow_samplers gl_oes_texture_compression_astc gl_khr_texture_compression_astc_ldr gl_khr_texture_compression_astc_hdr gl_khr_debug gl_ext_occlusion_query_boolean gl_ext_blend_minmax gl_ext_discard_framebuffer gl_oes_get_program_binary gl_oes_texture_3d gl_ext_texture_storage gl_ext_multisampled_render_to_texture gl_oes_surfaceless_context gl_ext_shader_pixel_local_storage gl_arm_shader_framebuffer_fetch gl_arm_shader_fram  d/unity   (12824): ebuffer_fetch_depth_stencil gl_arm_mali_program_binary  i/unity   (12824): socketexception: connection refused  i/unity   (12824):   @ system.net.sockets.socket.connect (system.net.endpoint remoteep, boolean requiresocketpolicy) [0x00000] in <filename unknown>:0   i/unity   (12824):   @ system.net.sockets.socket.connect (system.net.endpoint remoteep) [0x00000] in <filename unknown>:0   i/unity   (12824):   @ uplibrary.networking.m2mqtt.mqttnetworkchannel.connect () [0x00000] in <filename unknown>:0   i/unity   (12824):   @ uplibrary.networking.m2mqtt.mqttclient.connect (system.string clientid, system.string username, system.string password, boolean willretain, byte willqoslevel, boolean willflag, system.string willtopic, system.string willmessage, boolean cleansession, uint16 keepaliveperiod) [0x00000] in <filename unknown>:0   i/unity   (12824): rethrow mqttconnectionexception: exception connecting broker  i/unity   (12824):   @ uplibrary.networking.m2mqtt.mqttclient.connect (system.string clientid, system.string username, system.string password, boolean willretain, byte willqoslevel, boolean willflag, system.string willtopic, system.string willmessage, boolean cleansession, uint16 k 


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -