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

Error while fetching shifting requests #7401

Closed
khavinshankar opened this issue Mar 13, 2024 · 9 comments · Fixed by ohcnetwork/care#1972
Closed

Error while fetching shifting requests #7401

khavinshankar opened this issue Mar 13, 2024 · 9 comments · Fixed by ohcnetwork/care#1972
Assignees
Labels
Backend P1 breaking issue or vital feature

Comments

@khavinshankar
Copy link
Member

Describe the bug
Getting internal server error while fetching shifting requests, this is happening for only specific statuses APPROVED, DESTINATION APPROVED, and COMPLETED (it's working fine for PATIENT TO BE PICKED UP, TRANSFER IN PROGRESS).

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Shifting'
  2. See error

Screenshots
image

Additional info
Here is a sentry log: https://coronasafe-network.sentry.io/share/issue/9af218ddbff649c79ecdcfd0c44f0e86/

@khavinshankar khavinshankar added Backend P1 breaking issue or vital feature labels Mar 13, 2024
@github-project-automation github-project-automation bot moved this to Triage in Care Mar 13, 2024
Copy link

⚠️ Refrain from assigning this issue to yourself if you have another P1 issue assigned that is not yet closed.

Copy link

sentry-io bot commented Mar 13, 2024

Sentry Issue: CARE-8BM

@hrit2773
Copy link
Contributor

@khavinshankar can you plz assign me this issue

@r-nikhilkumar
Copy link
Contributor

@khavinshankar, @rithviknishad can you plz assign this issue to me?

@khavinshankar
Copy link
Member Author

@hrit2773 this is a high-priority issue, please try to finish it by today

@rithviknishad rithviknishad moved this from Triage to Up Next in Care Mar 13, 2024
@hrit2773
Copy link
Contributor

@khavinshankar issue is from the backend side just tell me to make changes in the backend side I should visit https://github.com/coronasafe/care this repo right? plz clarify

@khavinshankar
Copy link
Member Author

@hrit2773 Yes

@hrit2773
Copy link
Contributor

hrit2773 commented Mar 13, 2024

@khavinshankar to test the django backend I'm running the docker-compose file but the server is not running on the specified port. what might be the reason?
localstack-1 |
localstack-1 | LocalStack version: 3.2.1.dev
localstack-1 | LocalStack build date: 2024-03-01
localstack-1 | LocalStack build git hash: db65a08e7
localstack-1 |
localstack-1 | 2024-03-13T17:37:00.787 WARN --- [ MainThread] localstack.deprecations : EDGE_PORT is deprecated (since 2.0.0) and will be removed in upcoming releases of LocalStack! This configuration will be migrated to GATEWAY_LISTEN
localstack-1 | 2024-03-13T17:37:01.865 INFO --- [-functhread4] hypercorn.error : Running on https://0.0.0.0:4566 (CTRL + C to quit)
localstack-1 | 2024-03-13T17:37:01.865 INFO --- [-functhread4] hypercorn.error : Running on https://0.0.0.0:4566 (CTRL + C to quit)
localstack-1 | 2024-03-13T17:37:02.018 INFO --- [ MainThread] localstack.utils.bootstrap : Execution of "start_runtime_components" took 1229.46ms
localstack-1 | Ready.
localstack-1 | 2024-03-13T17:37:02.043 ERROR --- [ MainThread] localstack.runtime.init : Error while running script Script(path='/etc/localstack/init/ready.d/bucket-setup.sh', stage=READY, state=ERROR): [Errno 2] No such file or directory: '/etc/localstack/init/ready.d/bucket-setup.sh' can you just tell me how to run the backend locally

@sainak
Copy link
Member

sainak commented Mar 14, 2024

Taking over as this is a P1 issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend P1 breaking issue or vital feature
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants