You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Krenn Daniel <Da...@team-con.de> on 2019/05/28 07:36:49 UTC
Camel-Milo Server not accessible from outside camel
Hi people,
I just setup a small opcua server with camel-milo and it works fine inside the camel context. The problem is that I can't access the server from outside camel.
This is what I used to setup the server:
<bean id="milo-server" class="org.apache.camel.component.milo.server.MiloServerComponent">
<property name="enableAnonymousAuthentication" value="true" />
<property name="bindPort" value="5555" />
</bean>
So, now I can connect to it from inside camel with localhost:12685. But when I try to connect to it with another opcua client (like the python freeopcua client), I can't connect to it.
It just says that there aren't any matching endpoints for SecurityPolicy.NONE.
In the logs, I saw these messages:
07:28:48.845 INFO [ua-netty-event-loop-0] opc.tcp://NB204:12685 bound to 0.0.0.0:12685 [Basic256/SignAndEncrypt]
07:28:48.846 INFO [ua-netty-event-loop-0] opc.tcp://NB204:12685 bound to 0.0.0.0:12685 [Basic128Rsa15/SignAndEncrypt]
07:28:48.846 INFO [ua-netty-event-loop-0] opc.tcp://NB204:12685 bound to 0.0.0.0:12685 [None/None]
07:28:48.846 INFO [ua-netty-event-loop-0] opc.tcp://NB204:12685 bound to 0.0.0.0:12685 [None/None]
07:28:48.854 INFO [ua-netty-event-loop-0] opc.tcp://NB204:12685 bound to 0.0.0.0:12685 [Basic128Rsa15/SignAndEncrypt]
07:28:48.854 INFO [ua-netty-event-loop-0] opc.tcp://NB204:12685 bound to 0.0.0.0:12685 [Basic256/SignAndEncrypt]
07:28:48.855 INFO [ua-netty-event-loop-0] opc.tcp://NB204:12685 bound to 0.0.0.0:12685 [Basic256Sha256/SignAndEncrypt]
07:28:48.855 INFO [ua-netty-event-loop-0] opc.tcp://NB204:12685 bound to 0.0.0.0:12685 [Aes128_Sha256_RsaOaep/SignAndEncrypt]
07:28:48.855 INFO [ua-netty-event-loop-0] opc.tcp://NB204:12685 bound to 0.0.0.0:12685 [Aes256_Sha256_RsaPss/SignAndEncrypt]
I can connect to opc.tcp://NB204:12685 via any client. Why can I not connect to opc.tcp://localhost:12685?
Best regards,
Daniel Krenn
Consultant MES
Daniel.Krenn@team-con.de<ma...@team-con.de>
| Tel. +49 (9931) 981 365
T.CON GmbH & Co. KG
Hauptsitz
Straubinger Straße 2
94447 Plattling
T: +49 (0)9931 981 100
F: +49 (0)9931 981 199 www.mescat.de >
www.team-con.de >
Messetermine >
facebook | twitter | xing | linkedin | youtube | instagram
Geschäftsführer: Karl Fuchs, Michael Gulde, Stefan Fiedler
KG, AG Deggendorf HRA 1618 Pers. haftender Ges.
T.CON Beteiligungs-GmbH AG
Deggendorf HRB 2053
Besuchen Sie uns auf folgenden Events:
Erhalten Sie wichtige Informationen von T.CON. Jetzt anmelden.