P2P group formation failing

I am trying to connect from my Android oreo mobile build to another mobile using wifi P2P. But its getting failed with an error p2p_GROUP_FORMATION failed. When I traced back, then it shows that the group formation timeout is happening. Is there any configuration that can be modified in p2p_supplicant.conf so that the group formation timeout increases.

Sometimes the failing is happening stating that authentication is getting failed, In the function

*static enum wps_process_res wps_process_m8(struct wps_data *wps, const struct wpabuf *msg, struct wps_parse_attr attr)

wps->state is set to SEND_WSC_NACK;

Please help me to resolve the issue.