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

bug: ReferenceProvider stopped working #198

Closed
1 of 2 tasks
ldeichmann opened this issue Jul 10, 2023 · 2 comments · Fixed by #199
Closed
1 of 2 tasks

bug: ReferenceProvider stopped working #198

ldeichmann opened this issue Jul 10, 2023 · 2 comments · Fixed by #199
Labels
bug Something isn't working

Comments

@ldeichmann
Copy link
Member

ldeichmann commented Jul 10, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The ReferenceProvider throws an Exception when trying to deliver a notification.

Expected Behavior

Not that.

Minimal Reproducible Example

https://github.com/ldeichmann/ri_11073_integration_test

Solution proposal

No response

Python Version

3.10

Operating system

github runner ubuntu-latest

Sdc11073 Version

master (14ff758)

Link to sdc11073 Logs

https://github.com/ldeichmann/ri_11073_integration_test/actions/runs/5504289708/jobs/10030360540

Further Information

No response

Participation

  • I am willing to submit a pull request to fix this bug.
@ldeichmann ldeichmann added the bug Something isn't working label Jul 10, 2023
@leon1995
Copy link
Member

relevant log lines 6267-6272:

2023-07-10 05:09:57,665 - sdc.device.subscrMgr - ERROR - could not send notification report http://standards.ieee.org/downloads/11073/11073-20701-2018/StateEventService/EpisodicAlertReport, error Traceback (most recent call last):
  File "/home/runner/work/ri_11073_integration_test/ri_11073_integration_test/sdc11073_git/src/sdc11073/provider/subscriptionmgr_async.py", line 212, in _async_send_notification_report
    await subscription.async_send_notification_report(body_node, action)
  File "/home/runner/work/ri_11073_integration_test/ri_11073_integration_test/sdc11073_git/src/sdc11073/provider/subscriptionmgr_async.py", line 58, in async_send_notification_report
    await soap_client.async_post_message_to(self.notify_to_url.path, message,
AttributeError: 'SoapClient' object has no attribute 'async_post_message_to'

@leon1995
Copy link
Member

the problem is that SubscriptionsManagerReferenceParamAsync is used in combination with sync default components

@leon1995 leon1995 linked a pull request Jul 10, 2023 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants