This message was deleted.
# community-help
s
This message was deleted.
j
j
Could you right click on the failing network request in the network tab, copy as curl and paste it here, minus the api key
p
@Jack Wilsdon Yes, tried, I increased the timeout to 10 secs, and still timeout
@Jason Bosco curl "http://search.hernadi-antikvarium.hu:8108/collections/books/documents/search?q=&query_by=authors&sort_by=_text_match:desc&prioritize_exact_match=true&per_page=5&group_by=DID" ^ -H "Accept: application/json, text/plain, */*" ^ -H "Referer: http://localhost:1234/" ^ -H "X-TYPESENSE-API-KEY: MY_API_KEY" ^ -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36" ^ --compressed
If I make this request with postman (exactly same headers, useragent, everything the same) it works. Somewhy only as algolia plugin fails. If I make the same request from the main file where I have the autocomplete (App.tsx) then it works just fine, network tab showing 40ms response time.
j
Can you clone this project and see if you can replicate the issue in it: https://github.com/typesense/typesense-autocomplete-demo
p
@Jason Bosco I can't, because I don't know how can I make an autocomplete plugin without the react framework im using
j
Could you give me a standalone project based on react autocomplete that uses Typesense running in a docker container that replicates the issue?
p
Yes, I can try to give u a replica of it
@Jason Bosco Somewhy if I do the same things, in a new folder, just with the endpoint provided in the typesense-autocomplete-demo, it works without issue.
j
It almost sounds like the ENV variables are not set correctly in your app?
p
I don't have env variables. the weird thing tho, if I set the timeout to 500 then it works just fine
@Jason Bosco
j
I’m not sure what else could be wrong… especially if everything works on a different page in your app.