We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Getting the following error on the apiservices console when I am trying to push a predefined charging rule to a new subscriber:
JSON Data sent: {'imsi': '404200100001501', 'apn_id': 1, 'charging_rule_id': 1} subscriber_data: {'ue_ambr_dl': 70000000, 'serving_mme_realm': 'localdomain', 'imsi': '404200100001501', 'ue_ambr_ul': 20000000, 'serving_mme_peer': None, 'subscriber_id': 1, 'nam': 0, 'last_modified': '2025-03-03T10:19:32Z', 'enabled': True, 'roaming_enabled': True, 'auc_id': 1, 'roaming_rule_list': None, 'default_apn': 1, 'subscribed_rau_tau_timer': 300, 'apn_list': '1', 'serving_mme': 'mme.localdomain', 'msisdn': '00000001', 'serving_mme_timestamp': None} [2025-03-03 15:57:46,493] ERROR in app: Exception on /pcrf/ [PUT] Traceback (most recent call last): File "/home/user/.local/lib/python3.10/site-packages/flask/app.py", line 1823, in full_dispatch_request rv = self.dispatch_request() File "/home/user/.local/lib/python3.10/site-packages/flask/app.py", line 1799, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) File "/home/user/.local/lib/python3.10/site-packages/flask_restx/api.py", line 404, in wrapper resp = resource(*args, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/flask/views.py", line 107, in view return current_app.ensure_sync(self.dispatch_request)(**kwargs) File "/home/user/.local/lib/python3.10/site-packages/flask_restx/resource.py", line 46, in dispatch_request resp = meth(*args, **kwargs) File "/home/user/pyHSS/pyhss-1.0.2/services/apiService.py", line 1687, in put servingApn = databaseClient.Get_Serving_APN(subscriber_id=subscriber_data['subscriber_id'], apn_id=json_data['apn_id']) File "/home/user/pyHSS/pyhss-1.0.2/lib/database.py", line 2013, in Get_Serving_APN result = result.dict AttributeError: 'NoneType' object has no attribute 'dict' 10.2.105.41 - - [03/Mar/2025 15:57:46] "PUT /pcrf/ HTTP/1.1" 500 -
On the Web GUI, its saying "internal server error" and returning failure.
Tried both tag 1.0.2 code and the master revision. Both the have the same issue..
Anyone else seen this issue or have overcome this issue?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Getting the following error on the apiservices console when I am trying to push a predefined charging rule to a new subscriber:
JSON Data sent: {'imsi': '404200100001501', 'apn_id': 1, 'charging_rule_id': 1}
subscriber_data: {'ue_ambr_dl': 70000000, 'serving_mme_realm': 'localdomain', 'imsi': '404200100001501', 'ue_ambr_ul': 20000000, 'serving_mme_peer': None, 'subscriber_id': 1, 'nam': 0, 'last_modified': '2025-03-03T10:19:32Z', 'enabled': True, 'roaming_enabled': True, 'auc_id': 1, 'roaming_rule_list': None, 'default_apn': 1, 'subscribed_rau_tau_timer': 300, 'apn_list': '1', 'serving_mme': 'mme.localdomain', 'msisdn': '00000001', 'serving_mme_timestamp': None}
[2025-03-03 15:57:46,493] ERROR in app: Exception on /pcrf/ [PUT]
Traceback (most recent call last):
File "/home/user/.local/lib/python3.10/site-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "/home/user/.local/lib/python3.10/site-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/home/user/.local/lib/python3.10/site-packages/flask_restx/api.py", line 404, in wrapper
resp = resource(*args, **kwargs)
File "/home/user/.local/lib/python3.10/site-packages/flask/views.py", line 107, in view
return current_app.ensure_sync(self.dispatch_request)(**kwargs)
File "/home/user/.local/lib/python3.10/site-packages/flask_restx/resource.py", line 46, in dispatch_request
resp = meth(*args, **kwargs)
File "/home/user/pyHSS/pyhss-1.0.2/services/apiService.py", line 1687, in put
servingApn = databaseClient.Get_Serving_APN(subscriber_id=subscriber_data['subscriber_id'], apn_id=json_data['apn_id'])
File "/home/user/pyHSS/pyhss-1.0.2/lib/database.py", line 2013, in Get_Serving_APN
result = result.dict
AttributeError: 'NoneType' object has no attribute 'dict'
10.2.105.41 - - [03/Mar/2025 15:57:46] "PUT /pcrf/ HTTP/1.1" 500 -
On the Web GUI, its saying "internal server error" and returning failure.
Tried both tag 1.0.2 code and the master revision. Both the have the same issue..
Anyone else seen this issue or have overcome this issue?
The text was updated successfully, but these errors were encountered: