'[DRF][Django][Github Action] I got 502 error from github actions workflows

I replaced some sync view class with async view class and async serializer class in my api server.

what I used the class that is inherited for asynchronous is from here

And when I deployed it through a github actions(with zappa),

I got the following error from github actions

Error: Warning! Status check on the deployed lambda failed. A GET request to '/' yielded a 502 response code.

...

Error: Process completed with exit code 1.

I still haven't been able to solve it.

I think this error is caused by the async view class,

because the only change I made was to create an asynchronous view class and async serializer class.

Is there any solution?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source