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

AssertionError: Failed to receive any response #97

Open
ismaan1998 opened this issue Apr 12, 2021 · 0 comments
Open

AssertionError: Failed to receive any response #97

ismaan1998 opened this issue Apr 12, 2021 · 0 comments

Comments

@ismaan1998
Copy link

Hi ,
I am using your documentation to read and write values -

enip_server --print SCADA=INT[1000] TEXT=SSTRING[100] FLOAT=REAL

I used the above command to simulate the controllogix.

python -m cpppo.server.enip.client -v --print SCADA[1]=99 SCADA[0-10] 'TEXT[1]=(SSTRING)"Hello, world!"' TEXT[0-3]

and i am using this command to write values in tags
Here is the error i am facing -

4-12 16:47:14.231 MainThread enip.cli NORMAL   __init__   Connect:  Failure in   8.109/  5.000s: Failed to receive any response
Traceback (most recent call last):
  File "C:\Users\SinghI\AppData\Local\Programs\Python\Python38-32\lib\runpy.py", line 192, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\SinghI\AppData\Local\Programs\Python\Python38-32\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\SinghI\AppData\Local\Programs\Python\Python38-32\lib\site-packages\cpppo\server\enip\client.py", line 2248, in <module>
    sys.exit( main() )
  File "C:\Users\SinghI\AppData\Local\Programs\Python\Python38-32\lib\site-packages\cpppo\server\enip\client.py", line 2177, in main
    with connector_cls( host=addr[0], port=addr[1], timeout=timeout, profiler=profiler,
  File "C:\Users\SinghI\AppData\Local\Programs\Python\Python38-32\lib\site-packages\cpppo\server\enip\client.py", line 1261, in __init__
    assert data is not None, "Failed to receive any response"
AssertionError: Failed to receive any response
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

1 participant