Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mihini-dev] Mihini-0.9 Export Lua application Package Connection to http://192.168.1.11:8080 refused

I had the same problem and although it would be much nicer to export directly to the machine, here a workaround:

- export the app as tar file and copy it via RSE to the target machine
- unpack it to a folder
- connect via ssh to your target machine and cd to the folder where you unpacked the app
- telnet to mihini lua shell (telnet localhost 2000) and type the followings:
 > appcon = require "agent.appcon"
 > = appcon.install("appname", "path-to-app-src", true)

Of course, it would be better if one of the committers will fix this issue…

I guess the port 8080 is the problem and unfortunately there is no (direct way) to change the port number in eclipse.

/Serano

Am 01.03.2014 um 09:53 schrieb Dominique Torette:

Hi,

I try Mihini/LDT on a Beaglebone. I’ve started with the binary install of 0.8 and all works quite well.
Then I’ve upgraded to 0.9 compiled (on theBeaglebone) from the source.
Now, when I try to export as a Lua application from LDT, a connection to port 8080 is refused!
What service is expected to run on this port?
Do I need to revert to 0.8, what about the 0.10?

Dominique.

Unable to run export.
  Unable to install package.
  Connection to http://192.168.1.11:8080 refused


2014-02-28 23:13:06 GENERAL-INFO: ************************************************************
2014-02-28 23:13:06 GENERAL-INFO: Starting Agent ...
2014-02-28 23:13:06 GENERAL-INFO:      Agent: 0.9
2014-02-28 23:13:06 GENERAL-INFO:      Lua VM: Lua 5.1.4 (+meta pairs/ipairs) (+patch-lua-5.1.4-3)
2014-02-28 23:13:06 GENERAL-INFO:      System: Linux beaglebone 3.8.13 #1 SMP Thu Sep 12 10:27:06 CEST 2013 armv7l
2014-02-28 23:13:06 GENERAL-INFO: ************************************************************
2014-02-28 23:13:06 GENERAL-INFO: Device ID = "012345678901234"
2014-02-28 23:13:06 GENERAL-INFO: Module [AssetConnector] initialized
2014-02-28 23:13:06 SHELL-INFO: Binding a shell server at address *, port 2000
2014-02-28 23:13:06 GENERAL-INFO: Module [Lua Shell] initialized
2014-02-28 23:13:06 GENERAL-INFO: Module [DummyNetman] initialized
2014-02-28 23:13:06 GENERAL-INFO: Module [Lua RPC] initialized
2014-02-28 23:13:06 WEB-INFO: Starting web server on port 8357
2014-02-28 23:13:06 GENERAL-INFO: Module [Rest] initialized
2014-02-28 23:13:06 SRVCON-INFO: Server URL = ""tcp://m2m.eclipse.org:44900">tcp://m2m.eclipse.org:44900"
2014-02-28 23:13:06 GENERAL-INFO: Module [ServerConnector] initialized
2014-02-28 23:13:07 GENERAL-INFO: Module [DataManagement] initialized
2014-02-28 23:13:07 ASSCON-INFO: Connection received from asset [table: 0xd8cd0] at '<local ipc=table: 0x35dd8>:0'
2014-02-28 23:13:07 ASSCON-INFO: Asset registered, name="@sys", id=table: 0xd8cd0.
2014-02-28 23:13:07 GENERAL-INFO: Module [DeviceManagement] initialized
2014-02-28 23:13:07 GENERAL-INFO: Module [Update] initialized
2014-02-28 23:13:07 GENERAL-INFO: Agent successfully initialized
2014-02-28 23:13:37 DATAMGR-INFO: flushing policy "default"
2014-02-28 23:13:37 DATAMGR-INFO: flushing policy "now"
2014-02-28 23:13:37 DATAMGR-INFO: flushing policy "on_boot"


------------------------------------------------------------------------------

E-MAIL DISCLAIMER

The present message may contain confidential and/or legally privileged information. If you are not the intended addressee and in case of a transmission error, please notify the sender immediately and destroy this E-mail. Disclosure, reproduction or distribution of this document and its possible attachments is strictly forbidden.

SPACEBEL denies all liability for incomplete, improper, inaccurate, intercepted, (partly) destroyed, lost and/or belated transmission of the current information given that unencrypted electronic transmission cannot currently be guaranteed to be secure or error free.
Upon request or in conformity with formal, contractual agreements, an originally signed hard copy will be sent to you to confirm the information contained in this E-mail.

SPACEBEL denies all liability where E-mail is used for private use.

SPACEBEL cannot be held responsible for possible viruses that might corrupt this message and/or your computer system.
-------------------------------------------------------------------------------
_______________________________________________
mihini-dev mailing list
mihini-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mihini-dev

Freundliche Grüsse
_____________________

Serano Colameo
Ankerstrasse 8
5210 Windisch
Tel. +41 (0)79 425 68 63
Skype: colameo






Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


Back to the top