lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev Can not access remote host


From: Olaf Jörk
Subject: Re: lynx-dev Can not access remote host
Date: Wed, 23 Dec 1998 14:48:46 +0100

Helo,
Thanks for yout first hints. Here's the 2nd try with more
information.

I've got a problem with the compiled Lynx Version 2.8rel.2 (1998).
I used: gcc with -DHAVE_CONFIG_H  \
          -DSVR4_BSDSELECT -O2 -DSVR4 \
          -DXMOSAIC_HACK -DACCESS_AUTH ...

configure said:
checking if you want to fork NSL requests... no

I compiled lynx twice, with -DSVR4_BSDSELECT and without. Same result.

It will not access pages on remote servers. The machine is running
a svr4, exactly SINIX-L 5.41 D0005 MX300-Intel (386)
The described problem with SunOS etc. was pointless. The DNS address
resolution is ok. The WWW-Server (Apache) do not log the connection.

I included a report of: lynx -trace

There are two entries in /etc/services:

http 80/tcp
http 80/udp

The WWW-Server is www1.lag.justiz.sachsen.de.
The client is within the same domain.


shortened Report:
=================

Loading cfg file '/home1/local/lib/lynx.cfg'.
HTMLDTD: Copying DTD element info of size 5192, 118 * 44
ProcessMailcapFile: ........

LYMain.c: User in REMOTE domain
Entering mainloop,
startfile=http://www1.lag.justiz.sachsen.de/index.html
getfile: getting http://www1.lag.justiz.sachsen.de/index.html
Getting http://www1.lag.justiz.sachsen.de/index.html
Entered HTAnchor_findAddress
New anchor 814e820 has hash 94 and address
`http://www1.lag.justiz.sachsen.de/index.html'
HTAccess: loading document http://www1.lag.justiz.sachsen.de/index.html
HTParse: aName:http://www1.lag.justiz.sachsen.de/index.html
relatedName:
HTParse: result:www1.lag.justiz.sachsen.de

Looking up www1.lag.justiz.sachsen.de.
HTParseInet: Parsed address as port 80, IP address 172.17.90.40  -----
address is ok
Making HTTP connection to www1.lag.justiz.sachsen.de.
HTTP: Unable to connect to remote host for
`http://www1.lag.justiz.sachsen.de/index.html'
(errno = 150).

#####################################################################
/usr/include/sys/errno.h tells:

# In addition, portions of such source code were derived from Berkeley
# 4.3 BSD under license from the Regents of the University of...

/* BSD Networking Software */
        /* argument errors */

#define EINPROGRESS     150    /* operation now in progress */

The error is written by a connect-call.
That means, the socket isn't completely established, because it is
in non-blocking mode. A subsequent select(3N) will do the rest, if
it is used to write data.

#####################################################################

Alert!: Unable to connect to remote host.

HTAccess:  status=-29999
HTAccess: `http://www1.lag.justiz.sachsen.de/index.html' has been
accessed, No data loaded.
lynx: Can't access startfile
http://www1.lag.justiz.sachsen.de/index.html




MX-ADV: ...ome/olaf/tmp/gtzs/lynx2-8 > telnet www1 80
Trying 172.17.90.40 ...
Connected to linux.
Escape character is '^]'.
GET http://www1/index.html HTTP/1.0

got the requested page from the server. What's wrong ?

Thanks in advance ...

Olaf



reply via email to

[Prev in Thread] Current Thread [Next in Thread]