firewall warning [message #1807095] |
Wed, 22 May 2019 09:51  |
Eclipse User |
|
|
|
Hello,
In firewall tab wiring is coming GwtNetworkService_Proxy: 500 Server Error The call failed on the server; see server log for details,
can you help me
[Updated on: Wed, 22 May 2019 09:54] by Moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: firewall warning [message #1808673 is a reply to message #1808666] |
Fri, 28 June 2019 09:02   |
Eclipse User |
|
|
|
hii,
no it's not opening when i tried to open osgi and checking the telnet i got this warning=>
---------------------------------------------------------------------------------------------------------------------------------
root@rt-falcon:/opt/eclipse/kura/bin# ./start_kura_debug.sh
Listening for transport dt_socket at address: 8000
!SESSION 2019-06-28 12:54:03.229 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_202
java.vendor=Azul Systems, Inc.
BootLoader constants: OS=linux, ARCH=arm, WS=gtk, NL=en_US
!ENTRY org.eclipse.kura.core 4 0 2019-06-28 12:54:29.353
!MESSAGE [org.eclipse.kura.core.db.H2DbServer(27)] bind method [setConfigurationService] not found; Component will fail
!ENTRY org.eclipse.kura.core 4 0 2019-06-28 12:54:29.389
!MESSAGE [org.eclipse.kura.core.db.H2DbServer(27)] bind method [setConfigurationService] not found
!ENTRY org.eclipse.kura.core 4 0 2019-06-28 12:54:31.275
!MESSAGE [org.eclipse.kura.core.db.H2DbServer(39)] bind method [setConfigurationService] not found
osgi>
!ENTRY 1 0 2019-06-28 12:55:06.144
!MESSAGE [IAgent][DeploymentEventListener@c0d587] [handleComplete] There is no information for started session
Jun 28, 2019 12:55:19 PM io.netty.util.internal.ThreadLocalRandom getInitialSeedUniquifier
WARNING: Failed to generate a seed from SecureRandom within 3 seconds. Not enough entrophy?
---------------------------------------------------------------------------------------------------------------------------------------------------------------
i am running on my wifi ip with the port like,
http://192.168.42.5:9123/ in this ip kura is running on different port
thanks and regard,
Abhishek
[Updated on: Fri, 28 June 2019 09:03] by Moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: firewall warning [message #1809506 is a reply to message #1809505] |
Wed, 17 July 2019 03:19   |
Eclipse User |
|
|
|
Hello,
From your answer 2 I assume you are trying to connect to http://localhost/127.0.0.1:1234 with some HTTP client (e.g a web browser), that request will not be served by the OPC-UA server but by the embedded Jetty web server instance.
If a request fails with code 2150891520, it should mean that you are trying to access a node that does not exist on the server (a node with the requested id cannot be found by the server).
The good news is that the fact that you can see this error implies that the driver was able to successfully connect and authenticate with the server, so firewall and global driver settings should be ok.
The next step is configuring asset channels.
For this purpose, I would suggest you to try connecting to the OPCUA server with a graphical OPCUA client (e.g a desktop or smartphone app), browse the server nodes with that and determine the the ids of the nodes you are interested reading/writing.
Once you discovered these node ids, you can use that information to configure the OPCUA driver channels.
I'm sorry but I cannot provide support for the tutorial you mentioned, as it is related to a commercial product.
Regards,
Nicola
|
|
|
|
Re: firewall warning [message #1809642 is a reply to message #1809517] |
Fri, 19 July 2019 04:49   |
Eclipse User |
|
|
|
Hello,
I wouldn't know what's going on.
Configuring the firewall to allow TCP connections to TCP port 9123 and configuring the DbServer instance as follows should be enough:
db.server.enabled -> true
db.server.type -> WEB
db.server.commandline -> -webPort 9123 -webAllowOthers -ifExists
You can check if the server is listening on port 9123 by running curl directly on the device, try the following command:
curl http://localhost:9123/
If curl is not available you can try the wget, or try installing it.
If you get a response like the following, then the server is up and running:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
Copyright 2004-2019 H2 Group. Multiple-Licensed under the MPL 2.0,
and the EPL 1.0 (http://h2database.com/html/license.html).
Initial Developer: H2 Group
-->
<html><head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>H2 Console</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<script type="text/javascript">
location.href = 'login.jsp?jsessionid=27400cbfbaa762671551d314eece54d7';
</script>
</head>
<body style="margin: 20px;">
<h1>Welcome to H2</h1>
<h2>No Javascript</h2>
If you are not automatically redirected to the login page, then
Javascript is currently disabled or your browser does not support Javascript.
For this application to work, Javascript is essential.
Please enable Javascript now, or use another web browser that supports it.
</body></html>
If the curl test succeeds, then there might be something wrong with the firewall. Otherwise, do you have other services using port 9123?
Regards,
Nicola
|
|
|
Re: firewall warning [message #1809879 is a reply to message #1809642] |
Thu, 25 July 2019 05:32   |
Eclipse User |
|
|
|
hello,
I tried the commands, i got the result as-->
-----------------------------------------------------------------------------------------------------------
root@rt-falcon:~# curl http://localhost:9123/
curl: (7) Failed to connect to localhost port 9123: Connection refused
root@rt-falcon:~# wget http://localhost:9123/
Connecting to localhost:9123 ([::1]:9123)
wget: can't connect to remote host: Connection refused
root@rt-falcon:~# curl http://localhost:9123/
curl: (7) Failed to connect to localhost port 9123: Connection refused
root@rt-falcon:~# curl http://192.168.42.5:9123/
curl: (7) Failed to connect to 192.168.42.5 port 9123: Connection refused
root@rt-falcon:~# curl http://lo:9123/
curl: (6) Could not resolve host: lo
root@rt-falcon:~# curl http://127.0.0.1:9123/
curl: (7) Failed to connect to 127.0.0.1 port 9123: Connection refused
root@rt-falcon:~# wget http://127.0.0.1:9123/
Connecting to 127.0.0.1:9123 (127.0.0.1:9123)
wget: can't connect to remote host (127.0.0.1): Connection refused
-----------------------------------------------------------------------------------------------------------------------------------
So Can you Please tell me what should do now ??
And one thing i want to ask you, Were to see the data of h2db, Inside device Is there any cmd to see the data of my data base, or it will be visible somewhere in osgi??
I can understand that when i will able to solve the url issue i can see my data in h2db web console but is their any way to see the data through osgi or inside kura file,
because i am seeing the data is receiving in kura log file as you can see bellow--->
root@rt-falcon:/opt/eclipse/kura/bin# tail -f /var/log/kura.log
2019-07-24T12:46:25,440 [ua-shared-pool-0] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
2019-07-24T12:46:26,454 [ua-shared-pool-0] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
2019-07-24T12:46:27,459 [ua-shared-pool-1] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
2019-07-24T12:46:28,469 [ua-shared-pool-1] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
2019-07-24T12:46:29,479 [ua-shared-pool-1] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
2019-07-24T12:46:29,793 [DefaultQuartzScheduler_Worker-8] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
2019-07-24T12:46:30,489 [ua-shared-pool-1] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
2019-07-24T12:46:31,501 [ua-shared-pool-1] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
2019-07-24T12:46:31,502 [ua-shared-pool-1] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
2019-07-24T12:46:32,510 [ua-shared-pool-1] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
2019-07-24T12:46:33,520 [ua-shared-pool-1] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
2019-07-24T12:46:34,529 [ua-shared-pool-1] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
2019-07-24T12:46:35,539 [ua-shared-pool-1] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
2019-07-24T12:46:36,549 [ua-shared-pool-1] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
2019-07-24T12:46:37,560 [ua-shared-pool-1] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
2019-07-24T12:46:38,569 [ua-shared-pool-1] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
2019-07-24T12:46:39,579 [ua-shared-pool-0] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
2019-07-24T12:46:39,782 [DefaultQuartzScheduler_Worker-9] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
2019-07-24T12:46:40,589 [ua-shared-pool-0] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
2019-07-24T12:46:41,599 [ua-shared-pool-0] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
2019-07-24T12:46:42,609 [ua-shared-pool-0] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
2019-07-24T12:46:42,611 [ua-shared-pool-0] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
2019-07-24T12:46:43,620 [ua-shared-pool-0] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
2019-07-24T12:46:44,629 [ua-shared-pool-0] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
2019-07-24T12:46:45,639 [ua-shared-pool-0] INFO o.e.k.i.w.l.Logger - Received WireEnvelope from org.eclipse.kura.wire.WireAsset-1563972211166-1
Thanks and regards,
Abhi
[Updated on: Thu, 25 July 2019 05:49] by Moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: firewall warning [message #1811034 is a reply to message #1810999] |
Sat, 24 August 2019 12:17  |
Eclipse User |
|
|
|
Hello,
the OPC DA bundle is not an official Eclipse Kura bundle. I believe you should try to contact the author to get help on this.
Best regards,
Matteo
|
|
|