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

S7 error is not propagated #98

Open
mhechthz opened this issue Aug 31, 2021 · 4 comments
Open

S7 error is not propagated #98

mhechthz opened this issue Aug 31, 2021 · 4 comments

Comments

@mhechthz
Copy link

mhechthz commented Aug 31, 2021

Hi,

with the 2.2.1 version I get a read error from an S7 (probably something wrong there).

The node shows a yellow light and the info "fehlerhaft" (faulty). On the debug console I get at every flow (even if on "display only active workflow") the message "Fehler (ungültige Werte)" (Error - invalid values). I'm not sure if the German writing is from my system or from the SPS configuration or from else where.

The catch node in the workflow doesn't catch anything.

Any suggestions?

At least the expected behaviour is to send the error message from the node to the following node to be able to process the message and not to print the error at every workflow.

@mhechthz mhechthz changed the title S7 in error blocks entire workflow S7 error is not propagated Sep 1, 2021
@thermseekr
Copy link
Contributor

Hello all. The config node should propagate the error to the visible node so the catch node could... catch it. Here is another user having the same problem:

https://discourse.nodered.org/t/how-to-catch-config-node-error/52573

I'm currently not skilled enough to do it, maybe someone with the right skills could fix this and propose a PR?

@ajeschmec
Copy link

I experienced the same behavior, and also other error messages as "Error: connect ECONNREFUSED .. " are not propagated to catch nodes. The error remains after updating to version 3.1.0.
Could someone fix this issue, please?
It will be very helpful.

@ghost
Copy link

ghost commented Nov 25, 2022

I would like to know if this feature will be implemented. Meanwhile I'll fork the project to have something to work with.

Updated

I just see that in code this is already doing. Is NodeRed problems? 🧐
image

@OriolFM
Copy link

OriolFM commented Sep 29, 2023

Any updates on this? I'm having exactly the same issue. The visible node (s7 in) shows the offline status, which means the endpoint node is propagating the error to the visible node, but it does not generate any error message (on the s7 in node side of things).

The errors, in the meantime, are still uncatchable.

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

No branches or pull requests

4 participants