I am presenting the data with Elasticsearch on a system I use. The page gives 404 while the bot is pulling the data. But when I enter the link from the browser, there is no problem. I index the data in the database via Elasticsearch and present it on the web page so that other users can retrieve it. The bot I wrote via curl is getting a 404 error.
I take error code is """404 - Sa (truncated...). """
Please don't post images of text as they are hard to read, may not display correctly for everyone, and are not searchable.
Instead, paste the text and format it with </> icon or pairs of triple backticks (```), and check the preview window to make sure it's properly formatted before posting it. This makes it more likely that your question will receive a useful answer.
It would be great if you could update your post to solve this.
That said I have absolutely no idea from where is coming this message?
What are those logs? Is that related to Elasticsearch? What are you doing exactly?
I index the data in the database via Elasticsearch and present it on the web page so that other users can retrieve it. The bot I wrote via curl is getting a 404 error.
I take error code is """404 - Sa (truncated...). """
What are the actual requests you are sending and how do they compare? What is the exact error message returned? Are you specifying authentication when using curl?
Unless you provide more detail I do not think anyone will be able to help.
that is, first of all, I do not authenticate on the site. I'm writing the successful data to a json file. but all of a sudden I get 404 error. I'm getting the data directly via curl.
Eror code;
[GuzzleHttp\Exception\ClientException]
Client error: `GET http://dergipark.org.tr/api/public/oai/?verb=ListSets&resumptionToken=d2e3c56bcbc200feb0570db55649a246` resulted in a `404 Not Found` response:
<!DOCTYPE html>
<html lang="">
<!-- begin::Head -->
<head>
<meta charset="utf-8" />
<title>Dergipark | 404 - Sa (truncated...)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.