-
Notifications
You must be signed in to change notification settings - Fork 13
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
ostico/phporient socket connection error in centos #13
Comments
Looks like the connection to the database is not working. Is OrientDB running? Are the credentials definitely correct? Scott |
Database is working and same credentials working in windows environment but not in centos. jack |
Can you access the database through Studio with the same credentials? Scott |
yes, i can access through studio with same crendentials. jack |
Which versions of ODB, CentOS and PHPOrient are you using? I'll try to build a VM with those versions and see if I can get the tests to run. Scott |
Linux sg2plcpnl0057.prod.sin2.secureserver.net 2.6.32-531.29.2.lve1.3.11.10.el6.x86_64 jack |
Thanks. Is there a particular reason why you are still on these old versions? PHPOrient is at 1.2.0 and ODB is at Version 2.1.4. Usually the first reply to such old versions would be...please upgrade. Scott |
HI,
I am using ostico/phporient official driver it will work fine in windows but not working in centos.
The below error was thrown.
Fatal error: Uncaught exception 'PhpOrient\Exceptions\SocketException' with message 'Error 111 : Connection refused ' in /home/jackraj/public_html/application/third_party/vendor/ostico/phporient/src/PhpOrient/Protocols/Binary/OrientSocket.php:86 Stack trace: #0 /home/jackraj/public_html/application/third_party/vendor/ostico/phporient/src/PhpOrient/Protocols/Binary/SocketTransport.php(138): PhpOrient\Protocols\Binary\OrientSocket->connect() #1 /home/jackraj/public_html/application/third_party/vendor/ostico/phporient/src/PhpOrient/Protocols/Binary/Abstracts/Operation.php(73): PhpOrient\Protocols\Binary\SocketTransport->getSocket() #2 /home/jackraj/public_html/application/third_party/vendor/ostico/phporient/src/PhpOrient/Protocols/Binary/SocketTransport.php(174): PhpOrient\Protocols\Binary\Abstracts\Operation->__construct(Object(PhpOrient\Protocols\Binary\SocketTransport)) #3 /home/jackraj/public_html/application/third_party/vendor/ostico/phporient/src/PhpOrient/Protocols/Binary/SocketTransport.php(153): PhpOrient\Protocols in/home/jackraj/public_html/application/third_party/vendor/ostico/phporient/src/PhpOrient/Protocols/Binary/OrientSocket.phpon line 86
Please help asap.
The text was updated successfully, but these errors were encountered: