# REQUEST DOCUMENT 404 Not Found

**URL:** <https://techcommunity.softwareag.com/t/request-document-404-not-found/201172>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-Web-and-XML-Technology\
**Created:** [October 6, 2018, 8:51am UTC](https://techcommunity.softwareag.com/t/request-document-404-not-found/201172 "2018-10-06T08:51:26Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Enrique2](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/enrique2/32/168_2.png) [@Enrique2](https://techcommunity.softwareag.com/u/Enrique2)\
**Post date:** [October 6, 2018, 8:51am UTC](https://techcommunity.softwareag.com/t/request-document-404-not-found/201172/1 "2018-10-06T08:51:26Z")

</div>

Testing program:

DEFINE DATA LOCAL  
1 #RC (I4)  
1 #RESULTXML (A) DYNAMIC  
END-DEFINE  
REQUEST DOCUMENT  
FROM ‘[http://docs.google.com/](http://docs.google.com/)’  
RETURN PAGE #RESULTXML ENCODED CODEPAGE ’ ’  
RESPONSE #RC  
WRITE NOTITLE NOHDR’RETURN CODE:’ #RC /\* 200 is Ok.  
REQUEST DOCUMENT  
FROM ‘[http://docs.google.com/document](http://docs.google.com/document)’  
RETURN PAGE #RESULTXML ENCODED CODEPAGE ’ ’  
RESPONSE #RC  
WRITE NOTITLE NOHDR’RETURN CODE:’ #RC /\* 200 is Ok.  
PRINT #RESULTXML  
END

First request gets RC 200 but the second gets 404

??404 Not 

Found??

# Not Found
?

The requested URL /document  
was not found on this server.

?
* * *
?IBM\_HTTP\_Server Server at docs.  
[google.com](http://google.com) Port 8028??

Any idea why?

Tanks a lot,

---

<div class="post-metadata">

**Author:** ![Steve\_Robinson](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/steve_robinson/32/107_2.png) [@Steve\_Robinson](https://techcommunity.softwareag.com/u/Steve_Robinson)\
**Post date:** [October 6, 2018, 11:53am UTC](https://techcommunity.softwareag.com/t/request-document-404-not-found/201172/2 "2018-10-06T11:53:24Z")

</div>

Try [https://docs.google.com/document/u/0/](https://docs.google.com/document/u/0/)

---

<div class="post-metadata">

**Author:** ![Enrique2](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/enrique2/32/168_2.png) [@Enrique2](https://techcommunity.softwareag.com/u/Enrique2)\
**Post date:** [October 16, 2018, 7:08pm UTC](https://techcommunity.softwareag.com/t/request-document-404-not-found/201172/3 "2018-10-16T19:08:35Z")

</div>

Funny, it changes to:  
NAT8304 HTTP request failed. Reason OPEN : connect() failed, errno=1128I Connection refused

---

<div class="post-metadata">

**Author:** ![Steve\_Robinson](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/steve_robinson/32/107_2.png) [@Steve\_Robinson](https://techcommunity.softwareag.com/u/Steve_Robinson)\
**Post date:** [October 17, 2018, 1:24am UTC](https://techcommunity.softwareag.com/t/request-document-404-not-found/201172/4 "2018-10-17T01:24:23Z")

</div>

Try reversing the two Request Documents.

See if you get the same message after the first RD.

---

<div class="post-metadata">

**Author:** ![Enrique2](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/enrique2/32/168_2.png) [@Enrique2](https://techcommunity.softwareag.com/u/Enrique2)\
**Post date:** [October 24, 2018, 2:31pm UTC](https://techcommunity.softwareag.com/t/request-document-404-not-found/201172/5 "2018-10-24T14:31:13Z")

</div>

Program stop running after the first RD  
NAT8304 HTTP request failed. Reason OPEN : connect() failed, errno=1128  
NAT9978 Error occurred during execution/compilation

---

<div class="post-metadata">

**Author:** ![Steve\_Robinson](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/steve_robinson/32/107_2.png) [@Steve\_Robinson](https://techcommunity.softwareag.com/u/Steve_Robinson)\
**Post date:** [October 24, 2018, 4:35pm UTC](https://techcommunity.softwareag.com/t/request-document-404-not-found/201172/6 "2018-10-24T16:35:43Z")

</div>

Strange.

When I enter [http://docs.google.com/document](http://docs.google.com/document)

it gets changed to: [https://docs.google.com/document/u/0/](https://docs.google.com/document/u/0/)

and that goes through. I am using Google Chrome. What do you use ?

Can you successfully get through to [https://docs.google.com/document/u/0/](https://docs.google.com/document/u/0/) with your web software?

---

<div class="post-metadata">

**Author:** ![Enrique2](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/enrique2/32/168_2.png) [@Enrique2](https://techcommunity.softwareag.com/u/Enrique2)\
**Post date:** [October 26, 2018, 7:17pm UTC](https://techcommunity.softwareag.com/t/request-document-404-not-found/201172/7 "2018-10-26T19:17:44Z")

</div>

web software? I’m running under z/OS, which one will be the web software?

---

<div class="post-metadata">

**Author:** ![Enrique2](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/enrique2/32/168_2.png) [@Enrique2](https://techcommunity.softwareag.com/u/Enrique2)\
**Post date:** [October 27, 2018, 9:21am UTC](https://techcommunity.softwareag.com/t/request-document-404-not-found/201172/8 "2018-10-27T09:21:55Z")

</div>

Found out I running out of a very tight isolated machine – firewall don’t take outbound calls.

Thanks anyhow.

---

<div class="post-metadata">

**Author:** ![Steve\_Robinson](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/steve_robinson/32/107_2.png) [@Steve\_Robinson](https://techcommunity.softwareag.com/u/Steve_Robinson)\
**Post date:** [October 27, 2018, 1:09pm UTC](https://techcommunity.softwareag.com/t/request-document-404-not-found/201172/9 "2018-10-27T13:09:04Z")

</div>

Hi Enrique;

Sometimes the simplest explanation is also the correct one.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:41pm UTC](https://techcommunity.softwareag.com/t/request-document-404-not-found/201172/10 "2021-04-02T15:41:34Z")

</div>


