Giter Site home page Giter Site logo

thinq-mqtt-proxy's People

Contributors

dcmeglio avatar dkneisz avatar evorg avatar mgwoj avatar pifou25 avatar rfg81 avatar syepes avatar

Watchers

 avatar  avatar

thinq-mqtt-proxy's Issues

No such property: MqttQosl for class: Mqtt

Hi,

I can't start the container. Here is the error :

10:55:52.791 [main] INFO  ThinqMqttProxy - Starting Thinq Mqtt Proxy...
10:55:53.831 [main] DEBUG i.n.u.i.l.InternalLoggerFactory - Using SLF4J as the default logging framework
10:55:53.839 [main] DEBUG io.netty.util.NetUtil - -Djava.net.preferIPv4Stack: false
10:55:53.841 [main] DEBUG io.netty.util.NetUtil - -Djava.net.preferIPv6Addresses: false
10:55:53.856 [main] DEBUG io.netty.util.NetUtil - Loopback interface: lo (lo, 0:0:0:0:0:0:0:1%lo)
10:55:53.935 [main] DEBUG i.n.util.internal.PlatformDependent0 - -Dio.netty.noUnsafe: false
10:55:53.937 [main] DEBUG i.n.util.internal.PlatformDependent0 - Java version: 11
10:55:53.945 [main] DEBUG i.n.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available
10:55:53.947 [main] DEBUG i.n.util.internal.PlatformDependent0 - sun.misc.Unsafe.copyMemory: available
10:55:53.949 [main] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.Buffer.address: available
10:55:53.960 [main] DEBUG i.n.util.internal.PlatformDependent0 - direct buffer constructor: unavailable
java.lang.UnsupportedOperationException: Reflective setAccessible(true) disabled
        at io.netty.util.internal.ReflectionUtil.trySetAccessible(ReflectionUtil.java:31)
        at io.netty.util.internal.PlatformDependent0$4.run(PlatformDependent0.java:225)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at io.netty.util.internal.PlatformDependent0.<clinit>(PlatformDependent0.java:219)
        at io.netty.util.internal.PlatformDependent.isAndroid(PlatformDependent.java:289)
        at io.netty.util.internal.PlatformDependent.<clinit>(PlatformDependent.java:92)
        at io.netty.util.NetUtil$1.run(NetUtil.java:260)
        at io.netty.util.NetUtil$1.run(NetUtil.java:253)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at io.netty.util.NetUtil.<clinit>(NetUtil.java:253)
        at com.hivemq.client.internal.util.InetSocketAddressUtil.create(InetSocketAddressUtil.java:32)
        at com.hivemq.client.internal.mqtt.MqttClientTransportConfigImpl.<clinit>(MqttClientTransportConfigImpl.java:34)
        at com.hivemq.client.internal.mqtt.MqttRxClientBuilderBase.<init>(MqttRxClientBuilderBase.java:46)
        at com.hivemq.client.internal.mqtt.MqttRxClientBuilderBase$Choose.<init>(MqttRxClientBuilderBase.java:216)
        at com.hivemq.client.mqtt.MqttClient.builder(MqttClient.java:59)
        at com.hivemq.client.mqtt.MqttClient$builder.call(Unknown Source)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:130)
        at Mqtt.connect(Mqtt.groovy:50)
        at Mqtt$connect.call(Unknown Source)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
        at ThinqMqttProxy.doRun(ThinqMqttProxy.groovy:41)
        at ThinqMqttProxy.main(ThinqMqttProxy.groovy:18)
10:55:53.964 [main] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.Bits.unaligned: available, true
10:55:53.968 [main] DEBUG i.n.util.internal.PlatformDependent0 - jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable
java.lang.IllegalAccessException: class io.netty.util.internal.PlatformDependent0$6 cannot access class jdk.internal.misc.Unsafe (in module java.base) because module java.base does not export jdk.internal.misc to unnamed module @19fb8826
        at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:361)
        at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:591)
        at java.base/java.lang.reflect.Method.invoke(Method.java:558)
        at io.netty.util.internal.PlatformDependent0$6.run(PlatformDependent0.java:335)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at io.netty.util.internal.PlatformDependent0.<clinit>(PlatformDependent0.java:326)
        at io.netty.util.internal.PlatformDependent.isAndroid(PlatformDependent.java:289)
        at io.netty.util.internal.PlatformDependent.<clinit>(PlatformDependent.java:92)
        at io.netty.util.NetUtil$1.run(NetUtil.java:260)
        at io.netty.util.NetUtil$1.run(NetUtil.java:253)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at io.netty.util.NetUtil.<clinit>(NetUtil.java:253)
        at com.hivemq.client.internal.util.InetSocketAddressUtil.create(InetSocketAddressUtil.java:32)
        at com.hivemq.client.internal.mqtt.MqttClientTransportConfigImpl.<clinit>(MqttClientTransportConfigImpl.java:34)
        at com.hivemq.client.internal.mqtt.MqttRxClientBuilderBase.<init>(MqttRxClientBuilderBase.java:46)
        at com.hivemq.client.internal.mqtt.MqttRxClientBuilderBase$Choose.<init>(MqttRxClientBuilderBase.java:216)
        at com.hivemq.client.mqtt.MqttClient.builder(MqttClient.java:59)
        at com.hivemq.client.mqtt.MqttClient$builder.call(Unknown Source)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:130)
        at Mqtt.connect(Mqtt.groovy:50)
        at Mqtt$connect.call(Unknown Source)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
        at ThinqMqttProxy.doRun(ThinqMqttProxy.groovy:41)
        at ThinqMqttProxy.main(ThinqMqttProxy.groovy:18)
10:55:53.972 [main] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.DirectByteBuffer.<init>(long, int): unavailable
10:55:53.973 [main] DEBUG i.n.util.internal.PlatformDependent - sun.misc.Unsafe: available
10:55:54.058 [main] DEBUG i.n.util.internal.PlatformDependent - maxDirectMemory: 2061500416 bytes (maybe)
10:55:54.060 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.tmpdir: /tmp (java.io.tmpdir)
10:55:54.061 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.bitMode: 64 (sun.arch.data.model)
10:55:54.070 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.maxDirectMemory: -1 bytes
10:55:54.071 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.uninitializedArrayAllocationThreshold: -1
10:55:54.078 [main] DEBUG io.netty.util.internal.CleanerJava9 - java.nio.ByteBuffer.cleaner(): available
10:55:54.080 [main] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noPreferDirect: false
10:55:54.087 [main] DEBUG io.netty.util.NetUtil - /proc/sys/net/core/somaxconn: 128
10:55:54.813 [main] INFO  Mqtt - starting connection the server tcp://****:1883...
Exception in thread "main" groovy.lang.MissingPropertyException: No such property: MqttQosl for class: Mqtt
        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:65)
        at org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.getProperty(GetEffectivePogoPropertySite.java:87)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:341)
        at Mqtt.connect(Mqtt.groovy:75)
        at Mqtt$connect.call(Unknown Source)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
        at ThinqMqttProxy.doRun(ThinqMqttProxy.groovy:41)
        at ThinqMqttProxy.main(ThinqMqttProxy.groovy:18)

Tested with the your last thinq2mqtt. Typo problem?

.qos(MqttQosl.AT_MOST_ONCE) ) => .qos(MqttQos.AT_MOST_ONCE)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.