beckn / beckn-ui-workspace

Mono Repo for Beckn UI Workspace
9 stars 12 forks source link

Mobility - Search functionality is not working in rider app #2180

Open omkar-em opened 4 days ago

omkar-em commented 4 days ago

Bug Description

The search functionality in the rider app is not working. The following CURL request to the search endpoint is failing, preventing users from searching for available rides or services.

Steps to Reproduce

  1. Open the rider app and attempt to use the search functionality.
  2. Observe that the search fails to return any results.
  3. Attempt to replicate the issue using the following CURL request, which also fails:

    
    curl 'https://bap-gcl-staging.becknprotocol.io/search' -X OPTIONS -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate, br, zstd' -H 'Access-Control-Request-Method: POST' -H 'Access-Control-Request-Headers: content-type' -H 'Referer: https://mobility-staging.becknprotocol.io/' -H 'Origin: https://mobility-staging.becknprotocol.io' -H 'Connection: keep-alive' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-site' -H 'Priority: u=4' -H 'TE: trailers'
prasad-takale-eminds commented 4 days ago

After restarting the GCL application, the search is working fine.