FriendsOfSymfony / FOSElasticaBundle

Elasticsearch PHP integration for your Symfony project using Elastica.
http://friendsofsymfony.github.io
MIT License
1.24k stars 793 forks source link

Elastic Search Unknown error: 56 always on localhost #1058

Closed iBasit closed 8 years ago

iBasit commented 8 years ago

I have proper elastic search host and port, which is exactly same on our online server.

fos_elastica:
    clients:
        default:
            host: search....path..aws.com
            port: 80
            logger: 'monolog.logger.search'

For some reason, I keep getting following error

Unknown error:56

I'm not sure how I can fix this issue. my Elastic search is hosted by aws ElasticSearch which has open access to everyone.

One thing odd about this is, when I run command php app/console fos:elastica:populate then it popuplate data fine from localhost using same settings, but when I try to insert or view search I keep getting above error.

On online server, I never get this error. This is so weird

aws/aws-sdk-php                          2.8.27             AWS SDK for PHP - Use Amazon Web Services in your...
behat/transliterator                     v1.1.0             String transliterator
braintree/braintree_php                  3.10.0             Braintree PHP Client Library
cocur/slugify                            v1.4.1             Converts a string into a slug.
creof/doctrine2-spatial                  1.1.1              Doctrine2 multi-platform support for spatial type...
creof/geo-parser                         2.0.0              Parser for geography coordinate strings
creof/wkb-parser                         2.1.0              Parser for well-known binary (WKB/EWKB) object data
creof/wkt-parser                         2.0.0              Parser for well-known text (WKT) object strings
doctrine/annotations                     v1.2.7             Docblock Annotations Parser
doctrine/cache                           v1.6.0             Caching library offering an object-oriented API f...
doctrine/collections                     v1.3.0             Collections Abstraction library
doctrine/common                          v2.6.1             Common Library for Doctrine projects
doctrine/data-fixtures                   v1.1.1             Data Fixtures for all Doctrine Object Managers
doctrine/dbal                            v2.5.4             Database Abstraction Layer
doctrine/doctrine-bundle                 1.6.2              Symfony DoctrineBundle
doctrine/doctrine-cache-bundle           1.3.0              Symfony Bundle for Doctrine Cache
doctrine/doctrine-fixtures-bundle        2.3.0              Symfony DoctrineFixturesBundle
doctrine/inflector                       v1.1.0             Common String Manipulations with regard to casing...
doctrine/instantiator                    1.0.5              A small, lightweight utility to instantiate objec...
doctrine/lexer                           v1.0.1             Base library for a lexer that can be used in Top-...
doctrine/orm                             v2.5.4             Object-Relational-Mapper for PHP
egeloen/http-adapter                     0.8.0              Issue HTTP request for PHP 5.3+.
firebase/php-jwt                         v3.0.0             A simple library to encode and decode JSON Web To...
firebase/token-generator                 v3.0.0             A simple library to generate JWT tokens for authe...
friendsofsymfony/elastica-bundle         3.1.8              Elasticsearch PHP integration for your Symfony2 p...
friendsofsymfony/jsrouting-bundle        1.6.0              A pretty nice way to expose your Symfony2 routing...
friendsofsymfony/message                 dev-master fec9ad9 A framework-agnostic PHP 5.4+ user-to-user messag...
friendsofsymfony/oauth-server-bundle     dev-master 59229c2 Symfony2 OAuth Server Bundle
friendsofsymfony/oauth2-php              1.2.0              OAuth2 library
friendsofsymfony/rest-bundle             1.7.7              This Bundle provides various tools to rapidly dev...
fzaninotto/faker                         v1.5.0             Faker is a PHP library that generates fake data f...
gedmo/doctrine-extensions                v2.4.13            Doctrine2 behavioral extensions
giggsey/libphonenumber-for-php           7.2.8              PHP Port of Google's libphonenumber
guzzle/guzzle                            v3.9.3             PHP HTTP client. This library is deprecated in fa...
hautelook/alice-bundle                   0.2                Symfony2 Bundle that helps loading fixture data w...
hwi/oauth-bundle                         0.4.1              Support for authenticating users using both OAuth...
iBasit/EbayApiBundle                     dev-master 5b2041d Wrapper for eBay API. Bundle for Symfony2
igorw/get-in                             v1.0.3             Functions for for hash map (assoc array) traversal.
imagine/imagine                          v0.6.3             Image processing for PHP 5.3
incenteev/composer-parameter-handler     v2.1.2             Composer script handling your ignored parameter file
ircmaxell/password-compat                v1.0.4             A compatibility library for the proposed simplifi...
jdorn/sql-formatter                      v1.2.17            a PHP SQL highlighting library
jms/metadata                             1.5.1              Class/method/property metadata management in PHP
jms/parser-lib                           1.0.0              A library for easily creating recursive-descent p...
jms/serializer                           1.1.0              Library for (de-)serializing data of any complexi...
jms/serializer-bundle                    1.1.0              Allows you to easily serialize, and deserialize d...
knplabs/gaufrette                        v0.1.9             PHP5 library that provides a filesystem abstracti...
knplabs/knp-gaufrette-bundle             v0.1.7             Allows to easily use the Gaufrette library in a S...
knplabs/knp-menu                         v2.1.1             An object oriented menu library
knplabs/knp-menu-bundle                  v2.1.1             This bundle provides an integration of the KnpMen...
knplabs/knp-time-bundle                  1.5.3              Knplabs time bundle makes your dates look sensibl...
kreait/firebase-bundle                   0.5                Symfony2 Bundle for Firebase REST API client
kreait/firebase-php                      0.9.1              Firebase REST API client
kriswallsmith/assetic                    v1.3.2             Asset Management for PHP
kriswallsmith/buzz                       v0.15              Lightweight HTTP client
league/geotools                          0.7.0              Geo-related tools PHP 5.4+ library (use 0.4 if yo...
liip/imagine-bundle                      1.5.2              This Bundle assists in imagine manipulation using...
michelf/php-markdown                     1.6.0              PHP Markdown
misd/phone-number-bundle                 v1.1.1             Integrates libphonenumber into your Symfony2 appl...
monolog/monolog                          1.18.1             Sends your logs to files, sockets, inboxes, datab...
mtdowling/jmespath.php                   2.3.0              Declaratively specify how to extract elements fro...
nelmio/alice                             1.7.2              Expressive fixtures generator
nelmio/api-doc-bundle                    2.12.0             Generates documentation for your REST API from an...
nelmio/cors-bundle                       1.4.1              Adds CORS (Cross-Origin Resource Sharing) headers...
pagerfanta/pagerfanta                    v1.0.3             Pagination for PHP 5.3
paragonie/random_compat                  v1.4.1             PHP 5.x polyfill for random_bytes() and random_in...
phpcollection/phpcollection              0.4.0              General-Purpose Collection Library for PHP
phpoption/phpoption                      1.5.0              Option Type for PHP
psr/http-message                         1.0                Common interface for HTTP messages
psr/log                                  1.0.0              Common interface for logging libraries
react/event-loop                         v0.4.2             Event loop abstraction layer that libraries can u...
react/promise                            v2.2.2             A lightweight implementation of CommonJS Promises...
ruflin/elastica                          2.3.1              Elasticsearch Client
salavert/time-ago-in-words               v1.6.2             Time ago Twig extension where you can easily conv...
sensio/distribution-bundle               v4.0.5             Base bundle for Symfony Distributions
sensio/framework-extra-bundle            v3.0.15            This bundle provides a way to configure your cont...
sensio/generator-bundle                  v2.5.3             This bundle generates code for you
sensiolabs/security-checker              v3.0.2             A security checker for your composer.lock
sonata-project/admin-bundle              2.3.7              Symfony SonataAdminBundle
sonata-project/block-bundle              2.2.13             Symfony SonataBlockBundle
sonata-project/cache                     1.0.7              Cache library
sonata-project/core-bundle               2.3.10             Symfony SonataCoreBundle
sonata-project/doctrine-orm-admin-bundle 2.3.3              Symfony Sonata / Integrate Doctrine ORM into the ...
sonata-project/exporter                  1.4.1              Lightweight Exporter library
swiftmailer/swiftmailer                  v5.4.1             Swiftmailer, free feature-rich PHP mailer
symfony/assetic-bundle                   v2.8.0             Integrates Assetic into Symfony2
symfony/monolog-bundle                   v2.10.0            Symfony MonologBundle
symfony/polyfill-apcu                    v1.1.1             Symfony polyfill backporting apcu_* functions to ...
symfony/polyfill-intl-icu                v1.1.1             Symfony polyfill for intl's ICU-related data and ...
symfony/polyfill-mbstring                v1.1.1             Symfony polyfill for the Mbstring extension
symfony/polyfill-php54                   v1.1.1             Symfony polyfill backporting some PHP 5.4+ featur...
symfony/polyfill-php55                   v1.1.1             Symfony polyfill backporting some PHP 5.5+ featur...
symfony/polyfill-php56                   v1.1.1             Symfony polyfill backporting some PHP 5.6+ featur...
symfony/polyfill-php70                   v1.1.1             Symfony polyfill backporting some PHP 7.0+ featur...
symfony/polyfill-util                    v1.1.1             Symfony utilities for portability of PHP codes
symfony/security-acl                     v2.8.0             Symfony Security Component - ACL (Access Control ...
symfony/swiftmailer-bundle               v2.3.11            Symfony SwiftmailerBundle
symfony/symfony                          v2.8.3             The Symfony PHP framework
triplepoint/php-units-of-measure         v1.3.3             A PHP library for converting between standard uni...
twig/extensions                          v1.3.0             Common additional features for Twig that do not d...
twig/twig                                v1.24.0            Twig, the flexible, fast, and secure template lan...
webmozart/assert                         1.0.2              Assertions to validate method input/output with n...
white-october/pagerfanta-bundle          v1.0.6             Bundle to use Pagerfanta with Symfony2
willdurand/geocoder                      v3.3.0             The almost missing Geocoder PHP 5.4 library.
willdurand/hateoas                       2.9.1              A PHP library to support implementing representat...
willdurand/hateoas-bundle                1.1.1              Integration of Hateoas into Symfony2.
willdurand/jsonp-callback-validator      v1.1.0             JSONP callback validator.
willdurand/negotiation                   1.5.0              Content Negotiation tools for PHP provided as a s...
zendframework/zend-diactoros             1.3.5              PSR HTTP Message implementations
iBasit commented 8 years ago

restart local server will fix this :/