GithubHelp home page GithubHelp logo

iotketi / mobius Goto Github PK

View Code? Open in Web Editor NEW
133.0 19.0 87.0 73.08 MB

oneM2M IoT Server Platform

Home Page: http://developers.iotocean.org/archives/module/mobius

License: BSD 3-Clause "New" or "Revised" License

JavaScript 100.00%
onem2m iot server nodejs mobius

mobius's Introduction

Mobius

oneM2M IoT Server Platform

Version

2.5.x (2.5.13)

Introduction

Mobius is the open source IoT server platform based on the oneM2M (http://www.oneM2M.org) standard. As oneM2M specifies, Mobius provides common services functions (e.g. registration, data management, subscription/notification, security) as middleware to IoT applications of different service domains. Not just oneM2M devices, but also non-oneM2M devices (i.e. by oneM2M interworking specifications and KETI TAS) can connect to Mobius.

Certification

Mobius has been received certification of ‘oneM2M standard’ by TTA (Telecommunications Technology Association). oneM2M Certification guarantees that oneM2M products meet oneM2M Specification and Test requirements which ensure interoperability. As Mobius is certified, it will be used as a golden sample to validate test cases and testing system.

TRSL (Test Requirements Status List) is available on oneM2M certification website (http://www.onem2mcert.com/sub/sub05_01.php).

System Stucture

In oneM2M architecture, Mobius implements the IN-CSE which is the cloud server in the infrastructure domain. IoT applications communicate with field domain IoT gateways/devices via Mobius.

Connectivity Stucture

To enable Internet of Things, things are connected to &Cube via TAS (Thing Adaptation Software), then &Cube communicate with Mobius over oneM2M standard APIs. Also IoT applications use oneM2M standard APIs to retrieve thing data control things of Mobius.

Software Architecture

Supported Protocol Bindings

  • HTTP
  • CoAP
  • MQTT
  • WebSocket

Installation

The Mobius is based on Node.js framework and uses MySQL for database.


  • MySQL Server
    The MySQL is an open source RDB database so that it is free and ligth. And RDB is very suitable for storing tree data just like oneM2M resource stucture. Most of nCube-Rosemary will work in a restricted hardware environment and the MySQL can work in most of embeded devices.

  • Node.js
    Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, npm, is the largest ecosystem of open source libraries in the world. Node.js is very powerful in service impelementation because it provide a rich and free web service API. So, we use it to make RESTful API base on the oneM2M standard.

  • Mosquitto
    Eclipse Mosquitto™ is an open source (EPL/EDL licensed) message broker that implements the MQTT protocol versions 3.1 and 3.1.1. MQTT provides a lightweight method of carrying out messaging using a publish/subscribe model. This makes it suitable for "Internet of Things" messaging such as with low power sensors or mobile devices such as phones, embedded computers or microcontrollers like the Arduino.

  • Mobius
    Mobius source codes are written in javascript. So they don't need any compilation or installation before running.

Mobius Docker Version

We deploy Mobius as a Docker image using the virtualization open source tool Docker.

Configuration

  • Import SQL script
    After installation of MySQL server, you need the DB Schema for storing oneM2M resources in Mobius. You can find this file in the following Mobius source directory.
[Mobius home]/mobius/mobiusdb.sql
  • Run Mosquitto MQTT broker
mosquitto -v
  • Open the Mobius source home directory
  • Install dependent libraries as below
npm install
  • Modify the configuration file "conf.json" per your setting
{
  "csebaseport": "7579", //Mobius HTTP hosting  port
  "dbpass": "*******"    //MySQL root password
}

Run

Use node.js application execution command as below

node mobius.js

Library Dependencies

This is the list of library dependencies for Mobius

  • body-parser
  • cbor
  • coap
  • crypto
  • events
  • express
  • file-stream-rotator
  • fs
  • http
  • https
  • ip
  • js2xmlparser
  • merge
  • morgan
  • mqtt
  • mysql
  • shortid
  • url
  • util
  • websocket
  • xml2js
  • xmlbuilder

Document

If you want more details please download the full installation guide document.

Author

Jaeho Kim ([email protected]) Il Yeup Ahn ([email protected])

mobius's People

Contributors

gbsmfather avatar iotketi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mobius's Issues

Authentication over Rest Api

Hi,
I have a query regarding authentication over REST API.
Is there any process for authenticating client over Rest API. e.g. username/password or Token.

RETRIEVE with rcn = 4

When doing RETRIEVE operation over a resource (a container resource in my case) and using rcn = 4, the response contains as root element in the primitive content a "m2m:rsp" which seems to be wrong. In my case, the root element in the primitive content is "m2m:cnt"

cnf field in lookup table

Since cnf (contentInfo) is a field only for CIN (contentInstance) why there is a cnd field also in "lookup" table?
As a consequence if you try to create a CIN resource specifying cnf field, then it is created with cin.cnf = null.

데이터 처리를 얼마나 할 수 있나요?

  1. 1초에 리퀘스트 처리를 몇 개나 할 수 있나요?
  • 만개나 십만개 정도도 가능한가요?
  1. 만약 동시에 리퀘스트가 몰리게 되면 어떻게 돼나요?
  • 대기열에 넣고 처리하나요? 그렇담 얼마나 저장할 수 있나요?

Error : db.connect No connection after running " node mobius.js "

Hello,

I found issue when following guidance of Mobius installation.
After running "node mobius.js" i got these errors :

C:\Installer App\Mobius-master>node mobius.js
Production Mode
Garbage collection is not exposed
sgn_mqtt_client is connected
[db.connect] No Connection
^C
C:\Installer App\Mobius-master>

Please share your advice and suggestions.

Thank you

Location of Postman scripts

The full installation guides mention some Postman scripts that we can find on GitHub or OCEAN but still I was unable to find them.

Can you give me a pointer ?

timezone problem

Hello.

The Mobius platform accepts datetime information as YYYYMMDDTHHmmSS format.

It has no time zone information. How cloud I expect mobius time zone? Is there any feature that I can handle time zone?

Thanks

Access denied for user 'root'@'localhost' (using password: NO)

I used Mobius_Docker, but I can't get it to work. When it's started, I get repeatedly the following output

node_1  | GET : /Mobius
node_1  |
node_1  | GET : /Mobius
node_1  | get_resource_from_url (hokpoASd) - /Mobius: 2.846ms
node_1  | get_resource_from_url (z_wpz8jS) - /Mobius: 3.322ms
node_1  | {"rsc":"5000","ri":"GET-/Mobius-{\"fu\":2,\"rcn\":1,\"rt\":3}","msg":"database error"}
node_1  | Target CSE(localhost) is not ready
node_1  | Target CSE(localhost) is not ready
node_1  | {"rsc":"5000","ri":"GET-/Mobius-{\"fu\":2,\"rcn\":1,\"rt\":3}","msg":"database error"}

Since the message says database error, I looked what the database does and at the end of the database setup it says

db_1    | 2020-01-16T15:00:53.686717Z 2 [Note] Access denied for user 'root'@'localhost' (using password: NO)

So, I am wondering how I could fix the issue. I already tried it on another PC, on Linux and Windows and also followed the steps for manual installation from the installation guide. I always get a database error. I also tried different solutions I found on the internet for the Access denied error, but nothing seems to work for me.

I would really appreciate some help here, since I ran out of options to try.

The version of MySQL is 5.7.28.

MQTT protocol binding is wrong

delete jsonObj.csr.srv;

jsonObj of retrieve_CSEBase_mqtt is wrong.
according to TR-0051, csr has srv and it does not have srt.
But it deletes jsonObj.csr.srv instead of jsonObj.csr.srt.

It causes bad filed error when Mobius (or nCube-Rosemary) works as mn
{"m2m:dbg":"ER_BAD_FIELD_ERROR: Unknown column 'srt' in 'field list'"}

Subscription/Notifications only work when created via Mobius

Hello,
Scenario:

AE-----Rosemary-----------Mobius---------------Mobile app AE (HTTP Binding)
Assuming an AE and a Container created in rosemary

While trying to evaluate subscription/notification mechanism in Mobius/rosemary I realized that this mechanism only works when subscription is make via Mobius, like this:

Assume that AE creates a subscription in rosemary container. If someone else creates a content instance directly in rosemary container then the AE is notified.
But if someone alse create a content instance in rosemary container via Mobius the AE is not notified.

This is because var subl become empty (sgn.js, exports.check())

Assume now that AE creates a subscription in rosemary container via Mobius. If someone else creates a content instance directly in rosemary container or via Mobius, then the AE is always notified.

Is this a bug or is this the expected behaviour?

Thank you

Maximum Number of Instance bug

mni property of containers is not properly handled. When the number of content instances in a container becomes greater than mni then any other content instance can not be added (or better it is immediately cleaned). In my opinion, the issue seems related to the fact that in the sql database, cnt table, the cni value is not updated after delete_oldest in sql_actions.js

Certifcate error while trying to use SSL/TLS

I followed the youtube OneM@M tutorial for enabling SSL/TLS, in Mobius deployed in my local PC.After adding server.crt,ca.crt,server-key.pem file in Mobius root directory,if I run Mobius.js ,it gives below mentioned error

_E:\Mobius-master>node mobius.js
node:internal/tls/secure-context:69
context.setCert(cert);
^

Error: error:0A00018E:SSL routines::ca md too weak
at node:internal/tls/secure-context:69:13
at Array.forEach ()
at setCerts (node:internal/tls/secure-context:67:3)
at configSecureContext (node:internal/tls/secure-context:156:5)
at Object.createSecureContext (node:_tls_common:117:3)
at Object.connect (node:_tls_wrap:1631:48)
at Object.buildBuilder (E:\Mobius-master\node_modules\mqtt\lib\connect\tls.js:13:20)
at MqttClient.wrapper [as streamBuilder] (E:\Mobius-master\node_modules\mqtt\lib\connect\index.js:140:36)
at MqttClient._setupStream (E:\Mobius-master\node_modules\mqtt\lib\client.js:277:22)
at new MqttClient (E:\Mobius-master\node_modules\mqtt\lib\client.js:258:8) {
library: 'SSL routines',
reason: 'ca md too weak',
code: 'ERR_SSL_CA_MD_TOO_WEAK'
}

Node.js v18.16.0_

Can anybody guide for any workaround?

ACP resource를 사용하여 AE 삭제 명령 권한 제어

ACP resource를 사용하여 AE 삭제 명령 권한 제어가 올바르게 이루어지지 않습니다.

AE 삭제 시 IN-CSE가 가지고 있는 ri값과 role(X-M2M-Origin)을 가지고 삭제 명령을 수행할 수 있는데,
ACP resource를 사용하여 이러한 명령을 제어할 수 있는 방법이 없더군요.

oneM2M 표준에는 ACP resource를 가지고 AE에 대한 접근 권한을 제어할 수 있도록 하는 것이 가능하다고 기술되어 있습니다만,
Mobius platform에는 이것이 올바르게 적용되어있지 않은 것 같습니다.

아래 코드의 내용을 보면,
"acpi":["Mobius/"+acpi]
위 속성을 주어 AE에도 ACP가 적용될 수 있도록 조치해놓았습니다.

하지만 INCSE의 ri값으로도, AE 자체의 ri값(이때 X-M2M-Origin의 role 값이 ri값으로 대체됨)으로도,
AE를 삭제할 수 없는 현상이 발생합니다.

때문에 ACP resource를 사용하여 AE 삭제 명령을 제어할 수 있는 기능을 고쳐주셨으면 합니다.

확인해주셔서 감사합니다.

npm install error

image

os: window 10, 64비트
node version: node.js v13.12.0
설치 과정 그대로 따라해봤는데 안되네요 다음과 같은 에러가 발생했습니다.

RemoteCSE httpForwarding 요청 시 ERROR

Crash

Mobius/app.js에서 http forward 후 _res를 stringify 한 뒤에 다시 parse하는 부분이 있는데 이 부분에서 에러가 납니다.
이 부분 그냥 res = _res 하고 밑의 res = null; 을 지우니 잘 동작하기는 합니다.

환경
raspberry pi 4 위에 docker
ubuntu 22.04.2 LTS
node version v19.9.0

Error: bind EADDRINUSE null:3306 after running " node mobius.js

Hello,

I found issue when following guidance of Mobius installation.

My settings are as follows.

  1. The conf.js file is entered correctly.
  2. The mobius.js file is set as default. (global.usedbhost = 'localhost';)
  3. There are no other processes running.

Please share your advice and suggestions.

Thank you

After running "node mobius.js" i got these errors :

topkim@gimjeongsang-ui-MacBookPro Mobius-2.4.36 % node mobius

Production Mode

Garbage collection is not exposed

CPU Count: 16

select_ri_lookup /Mobius: 2.361ms

insert_cb /Mobius: 5.358ms

""

Production Mode

Garbage collection is not exposed

Production Mode

Garbage collection is not exposed

Production Mode

Production Mode

Garbage collection is not exposed

Garbage collection is not exposed

Production Mode

Garbage collection is not exposed

events.js:288

      throw er; // Unhandled 'error' event

      ^

 

Error: bind EADDRINUSE null:3306

    at listenOnMasterHandle (net.js:1376:18)

    at rr (internal/cluster/child.js:132:12)

    at Worker.<anonymous> (internal/cluster/child.js:99:7)

    at process.onInternalMessage (internal/cluster/utils.js:47:8)

    at process.emit (events.js:323:22)

    at emit (internal/child_process.js:876:12)

    at processTicksAndRejections (internal/process/task_queues.js:85:21)

Emitted 'error' event on Server instance at:

    at listenOnMasterHandle (net.js:1377:21)

    at rr (internal/cluster/child.js:132:12)

    [... lines matching original stack trace ...]

    at processTicksAndRejections (internal/process/task_queues.js:85:21) {

  errno: 'EADDRINUSE',

  code: 'EADDRINUSE',

  syscall: 'bind',

  address: null,

  port: 3306

}

pxyws server (192.168.0.6) running at 7577 port

[ My Environment ]

  • OS (Win97, Win10, Mac, Linux, ETC): Mac

  • Mobius Version : 2.4.36

  • DB Version (Mysql 5.7, Maria 10.1,... ) : Mysql 8.0.19

How to connect Mobius and SCADA Application - UltimateAccess CimonD

Hello ALL

I have some issues here, how to build connection between Mobius and SCADA Application (UltimateAccess CimonD )?
for you who doesn't know UltimateAccess application can download from website cimon.com

appreciate who can share the insights or experience about this.

thank you

-neo-

Create Instance 문의

여러 디바이스의 데이터를 Mobius 2.2.5를 통해 데이터를 수집하고 제어하려 합니다.

기존에는 2.0.0 버전을 사용했었고 이번에 2.2.5 버전으로 업데이트하여 테스트중인데요,

MQTT를 통해 Contents Instance 생성이 안되어 메세지를 보니 아래와 같이 메세지가 발생하네요.

확인결과 AE생성시에 X-M2M-Origin Header가 C 또는 S로 시작해야한다는 표준 문서를 확인했습니다.

의문점은 Contents Instance에 관하여는 관련 내용이 있는지 아직 확인중이지만 찾지 못하였습니다. 관련하여 Contents Instance 생성시에도 관련된 부분이 필요한 부분인지 여쭤보고자합니다.

아래는 Mobius 2.2.5 로그

{"m2m:dbg":"BAD REQUEST: When request to create AE, AE-ID should start 'S' or 'C' of AE-ID in X-M2M-Origin Header"}
"BAD REQUEST: When request to create AE, AE-ID should start 'S' or 'C' of AE-ID in X-M2M-Origin Header"
----> /oneM2M/req/999/Mobius/json
{ "m2m:rqp" : { "fr" : "999", "to" : "/Mobius/999/7/129", "op" : 1, "rqi": 123456, "pc": { "m2m:cin" : { "con": {"message"} } }, "ty": 4 } }

POST : /Mobius/999/7/129
get_ri_sri (BJm_QlhCz): 0.924ms
999

Something Wrong With fanOutPoint

using the Mobius API, i tested group performance,when coming to GETting the fanOutPoint resource,the Mobius has a throw out error.

package.json 에서의 빌트인 모듈 명세 의도 문의

안녕하세요,
package.json 보다가 조금 궁금한 부분이 있어서 문의드립니다.

{
  "name": "Mobius",
  "version": "2.0.0",
  "dependencies": {
    "body-parser": "^1.17.0",
    "cbor": "^3.0.0",
    "coap": "^0.21.0",
    "crypto": "0.0.3",
    "events": "^1.1.1",
    "express": "^4.15.1",
    "file-stream-rotator": "0.1.0",
    "fs": "0.0.2",
    "http": "0.0.0",
    "https": "^1.0.0",
    "ip": "^1.1.5",
    "js2xmlparser": "^3.0.0",
    "merge": "^1.2.0",
    "moment": "^2.17.1",
    "morgan": "^1.8.1",
    "mqtt": "^2.9.1",
    "mysql": "^2.13.0",
    "shortid": "^2.2.6",
    "url": "^0.11.0",
    "util": "^0.10.3",
    "websocket": "^1.0.24",
    "xml2js": "^0.4.17",
    "xmlbuilder": "^9.0.1"
  },
  "description": "Mobius:Yellow Turtle",
  "main": "mobius.js",
  "devDependencies": {},
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "Il Yeup Ahn, KETI",
  "license": "ISC"
}

위 명세들을 잘살펴보면

"crypto": "0.0.3",
"fs": "0.0.2",
"http": "0.0.0",
"url": "^0.11.0",
"util": "^0.10.3",

등 과 같은 빌드인 모듈들을 dependencies 에 명세하는 특별한 이유가 있나요?

npm repository 를 살펴보니 저 패키지들이 등록되어 있는데요.
그렇다면 npm install 로 프로젝트 시작할때 의존성 패키지들이 함께 설치될꺼고, 코드상에서 해당 패키지들을 호출할때, 빌트인 모듈들과 충돌이 발생하지 않을까 싶은데요..

빌트인 모듈들을 package.json 에 명세하신 이유가 무엇인지 궁금합니다.

Maximum Instance Age bug

I noticed that, setting a different mia than default value during Container creation, the expiration time of children content instances doesn't change but still remain equals to 2 years.
Can you explain me how to correctly set up this feature?

DB Error

First I am installing it and getting an error

mobius server (10.208.35.124) running at 7579 port
select_ri_lookup /Mobius: 9.631ms
"ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client"
pxyws server (10.208.35.124) running at 7577 port

GET : /Mobius

GET : /Mobius
get_ri_sri (rkQxjvZDm): 2.962ms
{"m2m:dbg":"database error (can not get resourceID from database)"}
"database error (can not get resourceID from database)"
Target CSE(localhost) is not ready
get_ri_sri (HymliPWvm): 17.810ms
{"m2m:dbg":"database error (can not get resourceID from database)"}
"database error (can not get resourceID from database)"
Target CSE(localhost) is not ready

Garbage collection is not exposed

image

-Garbage collection is not exposed-
-ER_UNKNOWN_SYSTEM_VARIABLE: Unknown system variable 'transaction_isolation'-

Please advise on this issue.

subscribe 삭제에 관해 궁금한 점이 있습니다.

AE 'A'로 AE 'B'의 container 밑에 subscribe를 생성하고 AE 'A'를 삭제했을 때 AE 'B'의 container 밑에 생성한 subscribe는 그대로 남아있는데 원래 이렇게 남아있는 것이 맞는지 궁금합니다.

Mobius, MySQL 충돌 문제

2.2.5를 테스트하다 직접 MySQL을 실행해 row를 지웠거든요.

그래서 실제로 DB에 없지만 Mobius에선 POSTMAN에 의해 만들어진 AE 목록은 갖고 있어서

충돌이 나는 것 같은데, 해결 방법 좀 알려주실 수 있으신가요?

Testing actuators

Hi! As title says, there is a way to test a send_command operation from service (or Mobius directly) to a device that has actuator functionalities?

Need help! Thank you in advance!

oneM2M browser does not work as it's supposed to do.

i'm trying to us oneM2M browser as instruction. my server works well and i can use postman to do resource retrieval like the picture.
image

But oneM2M browser pops up the box like that when i click start

image
Can you help me? thanks all.

"m2m:dbg": "ACCESS DENIED"

image
I was trying to delete ae_test and i gave the infromation like that. Does anyone know to deal with this? Please help me.

Server mobius error

Hi,
I have this error.
I also have mosquitto authenticate enable.
How to set username and password MQTT in app? Please

events.js:160
      throw er; // Unhandled 'error' event
 Error: Connection refused: Not authorized
    at MqttClient._handleConnack (/var/www/Mobius/node_modules/mqtt/lib/client.js:879:15)
    at MqttClient._handlePacket (/var/www/Mobius/node_modules/mqtt/lib/client.js:318:12)
    at work (/var/Mobius/node_modules/mqtt/lib/client.js:260:12)
    at Writable.writable._write (/var/www/Mobius/node_modules/mqtt/lib/client.js:270:5)
    at doWrite (/var/www/Mobius/node_modules/readable-stream/lib/_stream_writable.js:418:64)
    at writeOrBuffer (/var/wwwMobius/node_modules/readable-stream/lib/_stream_writable.js:407:5)
    at Writable.write (/var/www/Mobius/node_modules/readable-stream/lib/_stream_writable.js:334:11)
    at Socket.ondata (_stream_readable.js:555:20)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)

Does Mobius support partial retrieve request ?

Hi, Mobius

I'm trying to use "Partial retrieve request" specified in "TS-0004 7.3.3.6 Retrieve the resource:Partial retrieve request" with Mobius, but it doesn't work properly.
To figure it out, I grepped "atrl(attributeList)" keyword in the source tree, but there wasn't any implementation of it.

Let me know whether Mobius support "Partial retrieve request" or not.

Regards,
Youngdo

Bug with PUT requests on grp

There seems to be a bug with PUT requests on groups. Whenever I send PUT requests to modify grps on the server, the proper values aren't saved and instead it shows me wrong values.

Attached below are screenshots of the process.

- First, I created a group with members [a, b, c, d, e].
drawing

- Then PUT requests are called to modify members. After modifying, I get the correct response back with properly updated members.
drawing

- Next I send a GET request to the same group without modifying anything, but the members aren't updated. Instead, it's showing the old members of group bug [a, b, c, d, e].
drawing

- Again I send the same GET request, but this time the members are [a, b, c, d, e, f], which were members of a previously deleted group that should not exist on the server.
drawing

Wrong bn parameter on subscription update

resource_Obj[rootnm].bn, resource_Obj[rootnm].rl, resource_Obj[rootnm].pn, resource_Obj[rootnm].nsp, resource_Obj[rootnm].ln,

JSON.stringify is missing on resource_Obj[rootnm].bn parameter, so from the moment a subscription is updated then any get on this subscriptions fails when parsing bn

Error on CSR response handling

I encountered a problem performing a request to a remote CSE from a local platform.
After having registered correctly the remote platform via MCC interface, I performed a discovery request to such platform.
Target platform receives and handle well the request but, when the response arrives to the local platform, it crashes with this error:

mobius_1      | /home/node/Mobius/app.js:2598
mobius_1      |                                 var res = JSON.parse(JSON.stringify(_res));
mobius_1      |                                                           ^
mobius_1      | 
mobius_1      | TypeError: Converting circular structure to JSON
mobius_1      |     --> starting at object with constructor 'Socket'
mobius_1      |     |     property '_httpMessage' -> object with constructor 'ClientRequest'
mobius_1      |     --- property 'socket' closes the circle
mobius_1      |     at JSON.stringify (<anonymous>)
mobius_1      |     at /home/node/Mobius/app.js:2598:59
mobius_1      |     at IncomingMessage.<anonymous> (/home/node/Mobius/app.js:2725:13)
mobius_1      |     at IncomingMessage.emit (events.js:326:22)
mobius_1      |     at endReadableNT (_stream_readable.js:1252:12)
mobius_1      |     at processTicksAndRejections (internal/process/task_queues.js:80:21)
db_1          | 2021-06-10T07:56:13.296323Z 4 [Note] Aborted connection 4 to db: 'mobiusdb' user: 'root' host: '127.0.0.1' (Got an error reading communication packets)

By changing this line of app.js from

var res = JSON.parse(JSON.stringify(_res));

to

var res = _res;

the problem disappear.
Could you please patch this problem? I have not enough rights.

Can i get contentInstance of ASN-CSE(Lavender) from IN-CSE(Mobius) ??

hi~ i've start to study about this onem2m project few weeks ago.
this is my structure of my system =>
Mobius(in-cse) <=> Rosemary(mn-cse) <=> Lavender(asn-cse) <=> AE -> cnt ->cin

I've create some cin under the AE of Lavender~
is that possible that i can get cin from in-cse??
I've try this use postman...but i'cant.
image

is that somethin i miss or i got the wrong thoughts ??
thx~

Flex Container changes

Hi,

you have pushed new changes in code in repo 2 month ago, point on flexContainer implementation. After few studying days, i have seen that when i try to update a single fcnt option (such as hd_tempe or hd_color), Mobius makes the update for all rows in the fcnt table. Why?

And is there a link where i can study the privileges of using flexContainer with SDT? Thanks all so much!

AE 삭제 불가

AE 삭제를 요청하면 ACCESS DENIED 라고 뜨는중입니다
확인 부탁드립니다

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.