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

Unvalidated configration of serverPort #23

Open
jennydaman opened this issue Mar 28, 2024 · 0 comments
Open

Unvalidated configration of serverPort #23

jennydaman opened this issue Mar 28, 2024 · 0 comments

Comments

@jennydaman
Copy link
Contributor

if PACSobjName in config.dbAPI.PACSservice_listObjs():
if listenerObjName in config.dbAPI.listenerService_listObjs():
d_PACSservice : dict = config.dbAPI.PACSservice_info(
PACSobjName
)
d_service = d_PACSservice['info']
d_response['pypx'] = await pypx.find({**d_service, **d_queryTerms})
if d_response['pypx']['status'] == 'success':
d_response['status'] = True
d_response['message'] = "pypx.then = '%s' was executed successfully" % \
d_queryTerms['then']

Somewhere within this block of code, if PFDCM is configured with a pacs.json file where serverPort is a number instead of a string, pfdcm will respond "500 Internal Server Error" with no debugging help nor anything printed to stdout/stderr.

@jennydaman jennydaman changed the title Unvalidated configration causes Unvalidated configration of serverIP Mar 28, 2024
@jennydaman jennydaman changed the title Unvalidated configration of serverIP Unvalidated configration of serverPort Mar 28, 2024
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