Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection timeot below 1 sec #3

Open
z-image opened this issue Apr 14, 2012 · 3 comments
Open

Connection timeot below 1 sec #3

z-image opened this issue Apr 14, 2012 · 3 comments

Comments

@z-image
Copy link

z-image commented Apr 14, 2012

One one server:

$ php -r '$m=new MogileFS; $m->connect("127.0.0.2", "7001", "piccsy", 0.1); var_dump($m->isConnected());'
bool(true)

$ php --version
PHP 5.3.10-1ubuntu3

Another server:

$ php -r '$m=new MogileFS; $m->connect("192.168.168.1", "7001", "piccsy", 1); var_dump($m->isConnected());'
bool(true)

$ php -r '$m=new MogileFS; $m->connect("192.168.168.1", "7001", "piccsy", 0.99); var_dump($m->isConnected());'
PHP Fatal error:  Uncaught exception 'MogileFsException' with message 'Can't connect to 108.163.176.42:7001'

$ ping 192.168.168.1
64 bytes from 108.163.176.42: icmp_req=1 ttl=60 time=1.33 ms

$ php --version
PHP 5.3.3-7+squeeze8

Both use mogilefs 0.9.1.

@lstrojny
Copy link
Owner

Could you compare libneon versions on both of the systems? (neon-config --version)

@z-image
Copy link
Author

z-image commented Apr 14, 2012

Wow, that's a swift reaction, thanks!
0.29.3 (bad) vs 0.29.6 (good).

@lstrojny
Copy link
Owner

Could you update libneon to 0.29.6 and see if the issue is still there? I could not find anything in their changelogs but to me it looks like a libneon bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants