Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NodeRED platform support #161

Open
balamuruganvasudevan opened this issue Aug 3, 2020 · 21 comments
Open

NodeRED platform support #161

balamuruganvasudevan opened this issue Aug 3, 2020 · 21 comments

Comments

@balamuruganvasudevan
Copy link

Hi,
While i try to call RFC, getting this error.
"Error: Pool configuration object must provide "connectionParameters"; see: https://github.com/SAP/node-rfc#usage"

Any support would be great/

@bsrdjan
Copy link
Member

bsrdjan commented Aug 3, 2020

Please provide the source code to reproduce the issue.

@balamuruganvasudevan
Copy link
Author

image

@balamuruganvasudevan
Copy link
Author

I am using RFC call from node-red-contrib-saprfc node.. wanted to test with sample RFC call "ZQM_COA_GET_SENSOR_IL_DATA"

@balamuruganvasudevan
Copy link
Author

image

@bsrdjan
Copy link
Member

bsrdjan commented Aug 3, 2020

Are you using managed client (Pool) or direct client ? Where the connection parameters are maintained, before making an RFC call?

@balamuruganvasudevan
Copy link
Author

Are you using managed client (Pool) or direct client ? Where the connection parameters are maintained, before making an RFC call?

It is a direct client.
There is a provision in node-red-contrib-saprfc node to enter the following connection parameters
user name: "xxxxxxxx",
password: "xxxxxxx*",
host: "xxxxxxxx",
system number: "xx",
client: "xxx",
lang: "EN"

@balamuruganvasudevan
Copy link
Author

image

@bsrdjan
Copy link
Member

bsrdjan commented Aug 3, 2020

Perhaps the node-red-contrib-saprfc is not adapted for node 2.0 ? I would suggest to raise an issue in that repository or try with node-rfc < 2.0.

@balamuruganvasudevan
Copy link
Author

Okay, Thanks.. Let me try and get back to you.

@balamuruganvasudevan
Copy link
Author

Perhaps the node-red-contrib-saprfc is not adapted for node 2.0 ? I would suggest to raise an issue in that repository or try with node-rfc < 2.0.

Hi, I have downgraded to node-red@1.0.0, still facing the same issue.

@bsrdjan
Copy link
Member

bsrdjan commented Aug 5, 2020

node-red-contrib downgrade does not help buy try if the older node-rfc eventually works, like 1.2 or older.

If SAP customer/internal requirement, please send me an E-Mail.

@balamuruganvasudevan
Copy link
Author

Hi Sorry mistakenly i written as node-red.. Its actually node-rfc...

  • node-rfc@1.0.0

@bsrdjan
Copy link
Member

bsrdjan commented Aug 5, 2020

ok. Did you create the node-red-contrib issue, could you please link it here?

@balamuruganvasudevan
Copy link
Author

@balamuruganvasudevan
Copy link
Author

ok. Did you create the node-red-contrib issue, could you please link it here?

Hi, could you please check and help me on this.

@balamuruganvasudevan
Copy link
Author

@bsrdjan if you dont mind, could you please help me on this.

@bsrdjan
Copy link
Member

bsrdjan commented Aug 21, 2020

The key problem with node-red is described in #148. Node-red recently moved to musl based Alpine Linux which is not supported by SAP NWRFC SDK. The author of node-red-contrib could eventually help find out where/how to maintain connection parameters but even then the connection to ABAP backend will not be possible because of #148. If the issue is related to SAP customer please send me an Email, need to learn more about the use-case.

@bsrdjan
Copy link
Member

bsrdjan commented Aug 27, 2020

On which operating system the node-red and node-rfc are running here?

@bsrdjan
Copy link
Member

bsrdjan commented Oct 22, 2020

Covered by #148

@bsrdjan bsrdjan closed this as completed Oct 22, 2020
@bsrdjan bsrdjan reopened this Oct 22, 2020
@bsrdjan
Copy link
Member

bsrdjan commented Oct 26, 2020

The NodeRED integration requires SAP NWRFC SDK support on musl based Alpine Linux.

The feature request can be created as described here or vote for this request, once it is created: #148 (comment)

@bsrdjan bsrdjan changed the title "Error: Pool configuration object must provide "connectionParameters"; see: https://github.com/SAP/node-rfc#usage" NodeRED platform support Nov 3, 2020
@PaulWieland
Copy link

@balamuruganvasudevan Build your own docker image for node-red with https://github.com/node-red/node-red-docker/blob/master/docker-custom/README.md

Clone that repo and change the base image in the dockerfile from Alpine to one of the Debian base images. I am using FROM node:buster-slim AS base in mine.

Here are the nodejs base images: https://hub.docker.com/_/node/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants