Unable to connect to apps

kfarris
Posts: 7
Joined: Tue Dec 22, 2009 7:42 am

Re: Unable to connect to apps

Postby kfarris » Sun Dec 27, 2009 1:52 pm

what client OS?
Windows 7.

cpg -- this is DJ-phYre btw... I posted this before coming to IRC ;)

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Unable to connect to apps

Postby cpg » Sun Dec 27, 2009 2:16 pm

hey DJ!

how about using the full domain?
also con you remind us of the ipconfig /all output?

we really need to get to the bottom of this!
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

kfarris
Posts: 7
Joined: Tue Dec 22, 2009 7:42 am

Re: Unable to connect to apps

Postby kfarris » Sun Dec 27, 2009 6:23 pm

hey DJ!

how about using the full domain?
also con you remind us of the ipconfig /all output?

we really need to get to the bottom of this!
It's very sporadic. It is working now.

Here is my ipconfig /all output:

C:\Users\kfarris>ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : ZEUS
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : dj-phyre.net

Ethernet adapter Local Area Connection 2:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : NCP Secure Client Virtual NDIS6 Adapter
Physical Address. . . . . . . . . : 02-00-4E-43-50-49
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : dj-phyre.net
Description . . . . . . . . . . . : Atheros AR8121/AR8113/AR8114 PCI-E Ethern
et Controller(NDIS6.20)
Physical Address. . . . . . . . . : 00-22-15-6B-87-53
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::9598:8958:7d7f:c17f%11(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.102(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Sunday, December 27, 2009 2:21:53 PM
Lease Expires . . . . . . . . . . : Sunday, December 27, 2009 10:21:53 PM
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.10
DHCPv6 IAID . . . . . . . . . . . : 234889749
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-12-BC-B4-F3-00-22-15-6B-87-53

DNS Servers . . . . . . . . . . . : 192.168.1.10
192.168.1.10
NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.dj-phyre.net:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : dj-phyre.net
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 9:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e50:20fb:1d7a:b51a:6d75(Pref
erred)
Link-local IPv6 Address . . . . . : fe80::20fb:1d7a:b51a:6d75%13(Preferred)
Default Gateway . . . . . . . . . : ::
NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter isatap.{79EA3D79-C1BE-4338-B616-DDBB54FB01C9}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

rufuslabouere
Posts: 7
Joined: Tue Jan 19, 2010 5:10 am

Re: Unable to connect to apps

Postby rufuslabouere » Tue Jan 19, 2010 6:24 am

I hope you didnt give up and all is still working now.

What I read is that your router has the 192.168.1.1 address
Your HDA box seems to have 192.168.0.10
Your PC has 192.168.1.102

The convenient way to make all of this working is to set youy HDA box as the first DNS provider.
So if your HDA is the DHCP and DNS server everything should work but in this case the DHCP has to be desactivated in your router conf.
If your router is still your DHCP provider keep it has is if you want but check your router conf to be sure that your first DNS provider/server correspond to your HDA ip address.

When you try to reach something like http://torrent/ and iyou reach http://www.torrent.com/, it is just cause the DNS request didn't go to your hda first.
providing http://ajaxplorer.section.9. seems to answer the ip you provide to the FAI which manage the domain (your hda ip i guess)

If it works sometimes, I think it is only because you have 2 DHCP server. The rule when you have 2 DHCP server is that a client will obtain his Ip from the fastest to answer.
So if your HDA DHCP answer is the fastest, everything will works fine and if it is the router, you can't resolv your HDA names.

Hope it will help.

PS: if you still have trouble or don't feel easy to disable/modify your router conf, feel free to provide me your router model, I will provide you the right user manual page or the way to do this.

kfarris
Posts: 7
Joined: Tue Dec 22, 2009 7:42 am

Re: Unable to connect to apps

Postby kfarris » Tue Jan 19, 2010 8:53 am

I hope you didnt give up and all is still working now.

What I read is that your router has the 192.168.1.1 address
Your HDA box seems to have 192.168.0.10
Your PC has 192.168.1.102

The convenient way to make all of this working is to set youy HDA box as the first DNS provider.
So if your HDA is the DHCP and DNS server everything should work but in this case the DHCP has to be desactivated in your router conf.
If your router is still your DHCP provider keep it has is if you want but check your router conf to be sure that your first DNS provider/server correspond to your HDA ip address.

When you try to reach something like http://torrent/ and iyou reach http://www.torrent.com/, it is just cause the DNS request didn't go to your hda first.
providing http://ajaxplorer.section.9. seems to answer the ip you provide to the FAI which manage the domain (your hda ip i guess)

If it works sometimes, I think it is only because you have 2 DHCP server. The rule when you have 2 DHCP server is that a client will obtain his Ip from the fastest to answer.
So if your HDA DHCP answer is the fastest, everything will works fine and if it is the router, you can't resolv your HDA names.

Hope it will help.

PS: if you still have trouble or don't feel easy to disable/modify your router conf, feel free to provide me your router model, I will provide you the right user manual page or the way to do this.
I am running DD-WRT on my router and it is current set to a DHCP forwarder to 192.168.1.10

EDIT: attached pic for reference. I have even tried entering 192.168.1.10 into the Local DNS field... still no luck
Attachments
screen.jpg
Screenshot
screen.jpg (78.34 KiB) Viewed 6018 times

rufuslabouere
Posts: 7
Joined: Tue Jan 19, 2010 5:10 am

Re: Unable to connect to apps

Postby rufuslabouere » Wed Jan 20, 2010 3:04 am

Hi,
Just to avoid to provide you wrong settings, can you please confirm some informations:

192.168.1.10 is you HDA box ip address?
If it is not what kind of box has this @ip? (the FAI DHCP provider, a Windows server DHCP/PDC box, a linux one with dhcpd enable?...)
and so what is your HDA ip address?
Do you use only one sub network (192.168.1.0/24) for you servers and client PC.


I need a last check. Please try this
SSH to your HDA box and launch this to provide the apache last logs:

Code: Select all

# tail /var/hda/platform/logs/error_log
and

Code: Select all

# tail /var/hda/platform/logs/access_log
And provide each answer

bye

rufuslabouere
Posts: 7
Joined: Tue Jan 19, 2010 5:10 am

Re: Unable to connect to apps

Postby rufuslabouere » Wed Jan 20, 2010 3:56 am

please add the output from this command too:

Code: Select all

# tail /var/log/httpd/error_log

kfarris
Posts: 7
Joined: Tue Dec 22, 2009 7:42 am

Re: Unable to connect to apps

Postby kfarris » Wed Jan 20, 2010 6:52 am

Hi,
Just to avoid to provide you wrong settings, can you please confirm some informations:

192.168.1.10 is you HDA box ip address?
If it is not what kind of box has this @ip? (the FAI DHCP provider, a Windows server DHCP/PDC box, a linux one with dhcpd enable?...)
and so what is your HDA ip address?
Do you use only one sub network (192.168.1.0/24) for you servers and client PC.


I need a last check. Please try this
SSH to your HDA box and launch this to provide the apache last logs:

Code: Select all

# tail /var/hda/platform/logs/error_log
and

Code: Select all

# tail /var/hda/platform/logs/access_log
And provide each answer

bye
Yes. HDA resides a 192.168.1.10 w/ router at 192.168.1.1 ... All clients start with 192.168.1.1xx

error log is empty

access log:

Code: Select all

[root@athena ~]# tail /var/hda/platform/logs/access_log 192.168.1.102 - - [20/Jan/2010:07:50:04 -0600] "GET /themes/main/style.css?1259758879 HTTP/1.1" 200 16210 "http://hda/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7" 192.168.1.102 - - [20/Jan/2010:07:50:04 -0600] "GET /javascripts/prototype.js?1248498173 HTTP/1.1" 200 129905 "http://hda/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7" 192.168.1.102 - - [20/Jan/2010:07:50:04 -0600] "GET /javascripts/dragdrop.js?1248498173 HTTP/1.1" 200 31174 "http://hda/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7" 192.168.1.102 - - [20/Jan/2010:07:50:04 -0600] "GET /javascripts/application.js?1183858780 HTTP/1.1" 200 148 "http://hda/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7" 192.168.1.102 - - [20/Jan/2010:07:50:04 -0600] "GET /stylesheets/slimbox.css HTTP/1.1" 200 1130 "http://hda/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7" 192.168.1.102 - - [20/Jan/2010:07:50:04 -0600] "GET /javascripts/effects.js?1248498173 HTTP/1.1" 200 38745 "http://hda/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7" 192.168.1.102 - - [20/Jan/2010:07:50:04 -0600] "GET /javascripts/controls.js?1248498173 HTTP/1.1" 200 34787 "http://hda/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7" 192.168.1.102 - - [20/Jan/2010:07:50:04 -0600] "GET /themes/main/logo.png?1213344625 HTTP/1.1" 200 11628 "http://hda/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7" 192.168.1.102 - - [20/Jan/2010:07:50:04 -0600] "GET /themes/main/grad-large.png HTTP/1.1" 200 188 "http://hda/themes/main/style.css?1259758879" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7" 192.168.1.102 - - [20/Jan/2010:07:50:04 -0600] "GET /themes/main/grad-small.png HTTP/1.1" 200 179 "http://hda/themes/main/style.css?1259758879" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7"
It only shows the last time I access http://hda -- It's not even resolving to attempt to pull any other application.

rufuslabouere
Posts: 7
Joined: Tue Jan 19, 2010 5:10 am

Re: Unable to connect to apps

Postby rufuslabouere » Wed Jan 20, 2010 7:21 am

thanks and what about the

Code: Select all

# tail /var/log/httpd/error_log
output command

I m looking for some thing like "failed: Invalid host name"
to check if there is no apache or bind issue

rufuslabouere
Posts: 7
Joined: Tue Jan 19, 2010 5:10 am

Re: Unable to connect to apps

Postby rufuslabouere » Wed Jan 20, 2010 7:26 am

and if it still not working, a new

ipconfig /all (just need the output for "Ethernet adapter Local Area Connection")

to check if your Pc is using the right DNS and DHCP server : your hda box

Who is online

Users browsing this forum: No registered users and 22 guests