0

基本的な Milo-Client (ReadSample) から接続しようとしていますが、UnresolvedAdressException が発生します。クライアントとサーバーの両方がリモート ネットワークにあり、クライアントにしかアクセスできませんでした。他のクライアント (Prosys OPC UA クライアント) と接続できるので、ファイアウォールではないと確信しており、ログで IP がホスト名に解決されていることがわかります。

サーバーは opc.tcp://192.168.115.40:49580 別名 opc.tcp://Extern-Mess-Rec:49580 です (UaTcpStackClient.getEndpoints(url).get(); で両方を試しました)

13:24:51.530 [main] DEBUG io.netty.util.internal.logging.InternalLoggerFactory - SLF4J をデフォルトのロギング フレームワークとして使用する 13:24:51.546 [main] DEBUG io.netty.channel.MultithreadEventLoopGroup - -Dio.netty. eventLoopThreads: 8 13:24:51.561 [メイン] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Buffer.address: 利用可能 13:24:51.561 [メイン] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: 利用可能 13:24:51.561 [メイン] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.copyMemory: 利用可能 13:24:51.561 [メイン] DEBUG io.netty. util.internal.PlatformDependent0 - java.nio.Bits.unaligned: true 13:24:51.561 [main] DEBUG io.netty.util.internal.PlatformDependent - プラットフォーム: Windows 13:24:51.561 [main] DEBUG io.netty. util.internal.PlatformDependent - Java バージョン: 8 13:24:51。561 [メイン] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.noUnsafe: false 13:24:51.561 [メイン] DEBUG io.netty.util.internal.PlatformDependent - sun.misc.Unsafe: 利用可能 13 :24:51.561 [メイン] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.noJavassist: false 13:24:51.686 [メイン] DEBUG io.netty.util.internal.PlatformDependent - Javassist: 利用可能 13: 24:51.686 [メイン] デバッグ io.netty.util.internal.PlatformDependent - -Dio.netty.tmpdir: C:\Users\SOFTWA~1\AppData\Local\Temp\3 (java.io.tmpdir) 13:24 :51.686 [メイン] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.bitMode: 64 (sun.arch.data.model) 13:24:51.686 [メイン] DEBUG io.netty.util.internal. PlatformDependent - -Dio.netty.noPreferDirect: false 13:24:51.718 [main] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.noKeySetOptimization:false 13:24:51.718 [メイン] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.selectorAutoRebuildThreshold: 512 13:24:51.858 [メイン] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty. leakDetection.level: シンプル 13:24:51.858 [メイン] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.maxRecords: 4 13:24:52.264 [メイン] DEBUG io.netty.buffer.PooledByteBufAllocator - - Dio.netty.allocator.numHeapArenas: 8 13:24:52.264 [メイン] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numDirectArenas: 8 13:24:52.264 [メイン] DEBUG io.netty.buffer .PooledByteBufAllocator - -Dio.netty.allocator.pageSize: 8192 13:24:52.264 [メイン] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxOrder: 11 13:24:52.264 [メイン] DEBUG io .netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.chunkSize:16777216 13:24:52.264 [メイン] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.tinyCacheSize: 512 13:24:52.264 [メイン] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty. allocator.smallCacheSize: 256 13:24:52.264 [メイン] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.normalCacheSize: 64 13:24:52.264 [メイン] DEBUG io.netty.buffer.PooledByteBufAllocator - - Dio.netty.allocator.maxCachedBufferCapacity: 32768 13:24:52.264 [メイン] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.cacheTrimInterval: 8192 13:24:52.296 [メイン] DEBUG io.netty.util .internal.ThreadLocalRandom - -Dio.netty.initialSeedUniquifier: 0x35f32988e43eab85 (10 ミリ秒かかりました) 13:24:52.327 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.allocator.type: unpooled 13:24:52.327 [メイン] io.netty.buffer をデバッグします。ByteBufUtil - -Dio.netty.threadLocalDirectBufferSize: 65536 13:24:52.327 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.maxThreadLocalCharBufferSize: 16384 13:24:52.358 [ua-netty-event-loop-0 ] DEBUG io.netty.util.internal.JavassistTypeParameterMatcherGenerator - 生成: io.netty.util.internal.マッチャー.org.eclipse.milo.opcua.stack.client.handlers.UaRequestFutureMatcher 13:24:52.389 [ua-netty-event-loop-0] DEBUG io.netty.buffer.AbstractByteBuf - -Dio.netty.buffer.bytebuf. checkAccessible: true 13:24:52.858 [ua-netty-event-loop-0] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.maxCapacity.default: 262144 13:24:52.890 [ua-netty- event-loop-0] DEBUG org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientAcknowledgeHandler - channel=[id: 0xa0ec7fec, L:/130.83.225.169:58872 - R:/192.168.115.40: で Hello メッセージを送信しました: 49580]。13:24:52.905 [ua-netty-event-loop-0] DEBUG org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientAcknowledgeHandler - channel=[id: 0xa0ec7fec, L:/130.83.225.169 で受信確認メッセージ:58872 - R:/192.168.115.40:49580]。13:24:52.921 [ua-netty-event-loop-0] DEBUG org.eclipse.milo.opcua.stack.client. handlers.UaTcpClientMessageHandler - +5 秒 13:24:52.967 にスケジュールされた OpenSecureChannel タイムアウト52.967 [ua-shared-pool-0] DEBUG org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientMessageHandler - 送信された OpenSecureChannelRequest (問題、id=0、currentToken=-1、previousToken=-1)。13:24:52.999 [ua-shared-pool-1] DEBUG org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientMessageHandler - OpenSecureChannelResponse を受け取りました。13:24:52.999 [ua-shared-pool-1] DEBUG org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientMessageHandler - SecureChannel id=1140、currentTokenId=1、previousTokenId=-1、lifetime=3600000ms、createdAt =DateTime{utcTime=131384570808248472、javaDate=5 月 5 日金曜日 13:24: 40 CEST 2017} 13:24:52.999 [ua-netty-event-loop-0] DEBUG org.eclipse.milo.opcua.stack.client.handlers.UaTcpClientMessageHandler - ハンドシェイクが完了する前にキューに入れられた 0 メッセージ。今送信中。13:24:52.999 [ForkJoinPool.commonPool-worker-1] DEBUG org.eclipse.milo.opcua.stack.client.ClientChannelManager - チャネルのブートストラップが成功しました: localAddress=/130.83.225.169:58872, remoteAddress=/192.168.115.40:49580 13:24:53.061 [ForkJoinPool.commonPool-worker-1] DEBUG org.eclipse.milo.opcua.stack.client.ClientChannelManager - CloseSecureChannelRequest を送信しています... 13:24:53.061 [メイン] INFO org.eclipse.milo.examples .client.ClientExampleRunner - エンドポイントの使用: opc.tcp://Extern-Mess-Rec:49580 [なし] 13:24:53.077 [ua-netty-event-loop-0] DEBUG org.eclipse.milo.opcua.stack .client.ClientChannelManager - channelInactive(),

4

1 に答える 1