Code Monkey home page Code Monkey logo

demo-chat's People

Contributors

absiddiquelive avatar khelle avatar napoleon101392 avatar optiman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

demo-chat's Issues

stream_socket_pair() could not establish connection.

after installing the demo application , i tried running the server using :

php kraken.server

which causes InstantiationException to be throw :

Server is booting...
        Throwable trace:
         0. [InstantiationException] "stream_socket_pair() could not establish connection." in Isolate:29
         1. [ExecutionException] "ServiceProvider [Kraken\Root\Provider\SystemProvider] raised an error." in ServiceProvider:157
         2. [ExecutionException] "ServiceProvider Kraken\Root\Provider\SystemProvider failed during registration." in ServiceRegister:352
         3. [ExecutionException] "ServiceRegister could not be booted." in ServiceRegister:92
         4. [InstantiationException] "Core module could not be booted." in Core:79
        Stack trace:
         0. [throwable] Kraken\Throwable\Exception\Logic\InstantiationException(...) in Isolate:29
         1. [call] Kraken\Util\Isolate\Isolate->__construct() in SystemProvider:26
         2. [throwable] Kraken\Throwable\Exception\Runtime\ExecutionException(...) in ServiceProvider:157
         3. [call] Kraken\Container\ServiceProvider->throwException(Kraken\Throwable\Exception\Logic\InstantiationException) in ServiceProvider:84
         4. [call] Kraken\Container\ServiceProvider->registerProvider(Kraken\Root\Console\Server\Core\ServerCore) in ServiceRegister:342
         5. [throwable] Kraken\Throwable\Exception\Runtime\ExecutionException(...) in ServiceRegister:352
         6. [call] Kraken\Container\ServiceRegister->registerProviders() in ServiceRegister:80
         7. [throwable] Kraken\Throwable\Exception\Runtime\ExecutionException(...) in ServiceRegister:92
         8. [call] Kraken\Container\ServiceRegister->boot() in Core:331
         9. [call] Kraken\Core\Core->bootProviders() in Core:70
        10. [throwable] Kraken\Throwable\Exception\Logic\InstantiationException(...) in Core:79
        11. [call] Kraken\Core\Core->boot() in ServerBoot:125
        12. [call] Kraken\Root\Console\Server\Boot\ServerBoot->boot("C:\xampp\htdocs\pluto/data") in kraken.server:28
        13. [main]

php kraken throws an exception

hi when i try php kraken.server
it throws
php kraken.server

Server is booting...
        Throwable trace:
         0. [InstantiationException] "stream_socket_pair() could not establish c
onnection." in Isolate:29
         1. [ExecutionException] "ServiceProvider [Kraken\Root\Provider\SystemPr
ovider] raised an error." in ServiceProvider:157
         2. [ExecutionException] "ServiceProvider Kraken\Root\Provider\SystemPro
vider failed during registration." in ServiceRegister:352
         3. [ExecutionException] "ServiceRegister could not be booted." in Servi
ceRegister:92
         4. [InstantiationException] "Core module could not be booted." in Core:
79
        Stack trace:
         0. [throwable] Kraken\Throwable\Exception\Logic\InstantiationException(
...) in Isolate:29
         1. [call] Kraken\Util\Isolate\Isolate->__construct() in SystemProvider:
26
         2. [throwable] Kraken\Throwable\Exception\Runtime\ExecutionException(..
.) in ServiceProvider:157
         3. [call] Kraken\Container\ServiceProvider->throwException(Kraken\Throw
able\Exception\Logic\InstantiationException) in ServiceProvider:84
         4. [call] Kraken\Container\ServiceProvider->registerProvider(Kraken\Roo
t\Console\Server\Core\ServerCore) in ServiceRegister:342
         5. [throwable] Kraken\Throwable\Exception\Runtime\ExecutionException(..
.) in ServiceRegister:352
         6. [call] Kraken\Container\ServiceRegister->registerProviders() in Serv
iceRegister:80
         7. [throwable] Kraken\Throwable\Exception\Runtime\ExecutionException(..
.) in ServiceRegister:92
         8. [call] Kraken\Container\ServiceRegister->boot() in Core:331
         9. [call] Kraken\Core\Core->bootProviders() in Core:70
        10. [throwable] Kraken\Throwable\Exception\Logic\InstantiationException(
...) in Core:79
        11. [call] Kraken\Core\Core->boot() in ServerBoot:125
        12. [call] Kraken\Root\Console\Server\Boot\ServerBoot->boot("E:\htdocs\k
raken-php/data") in kraken.server:29
        13. [main]

Can not ping

Env:

[vagrant@centstead-box demo-chat]$ php -v
PHP 7.0.13 (cli) (built: Nov  8 2016 20:16:29) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
    with Xdebug v2.4.1, Copyright (c) 2002-2016, by Derick Rethans

Start:

[vagrant@centstead-box demo-chat]$ sudo php kraken.server
Server is booting...
Server is up!

Ping:

[vagrant@centstead-box demo-chat]$ php kraken server:ping
Kraken 0.3.2 by Kamil Jamroz and contributors.

Executing : server:ping ... failure!
Response  : No response was received during specified timeout.
Reason    : Kraken\Throwable\Exception\Runtime\TimeoutException

Is there a way to find out why ping timeout.

Thanks.

php kraken project:create

php kraken project:create

result this:
"fwrite(): send of 213 bytes failed with errno=32 Broken pipe"

404 for all routes

I managed to start it finally, but for all routes I have 404 error. Don't know why.

PHP 7.2.0-dev (cli) (built: Oct 10 2016 16:22:13) ( ZTS DEBUG )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.1.0-dev, Copyright (c) 1998-2016 Zend Technologies

My changes was only replacing in SocketListener ip address, I made it listed external ipaddress.

Kraken 0.3.1 by Kamil Jamroz and contributors.
Executing : project:create ... success!
Response : Project has been created.

php kraken.server throws an exception

When I try to run the chat demo .. I get the following error:

MacOS 10.11
โ†’ php -v
PHP 5.6.7 (cli) (built: Mar 23 2015 01:51:22)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies

**php kraken.server**
Server is booting...
PHP Warning:  Uncaught  Throwable trace:
     0. [WarningError] "require(): data:/ wrapper is disabled in the server configuration by allow_url_include=0" in /ConfigFactory.php:48
    Stack trace:
     0. [throwable] Kraken\Throwable\Error\WarningError(...) in ErrorHandler:63
     1. [call] Kraken\Throwable\ErrorHandler::handleError(2, "require(): data:// wrapper is di...", "/Users/ashammari/github/demo-cha...", 48, Array) in ConfigFactory:48
     2. [call] Kraken\Config\ConfigFactory::Kraken\Config\{closure}() in ConfigFactory:48
     3. [call] Kraken\Config\ConfigFactory->Kraken\Config\{closure}() in unknown:0
     4. [call] Undefinedcall_user_func_array(Closure, Array) in SimpleFactoryTrait:128
     5. [call] Kraken\Util\Factory\SimpleFactory->create() in ConfigProvider:180
     6. [call] Kraken\Root\Provider\ConfigProvider->createConfig("/Users/ashammari/github/demo-cha...") in ConfigProvider:239
     7. [call] Kraken\Root\Provider\ConfigProvider->configure(Kraken\Config\Config) in ConfigProvider:103
     8. [call] Kraken\Root\Provider\ConfigProvider- in /Users/ashammari/github/demo-chat/vendor/kraken-php/throwable/ErrorHandler.php on line 63
PHP Fatal error:  Kraken\Config\ConfigFactory::Kraken\Config\{closure}(): Failed opening required 'data://text/plain;base64,PD9waHAKCi8qKgogKiAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0KICogRGVmYXVsdCBjb25maWd1cmF0aW9uIGZvciBDb25zb2xlIFNlcnZlci4KICoKICogRm9yIG1vcmUgaW5mb3JtYXRpb24gdmlzaXQ6IGh0dHA6Ly9rcmFrZW4tcGhwLmNvbS9kb2NzCiAqIC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQogKi8KcmV0dXJuIFsKICAgIC8qKgogICAgICogLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0KICAgICAqIEFkZGl0aW9uYWwgY29uZmlndXJhdGlvbiBmaWxlIHRvIGxvYWQuCiAgICAgKiAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQogICAgICogVGhpcyB2YXJpYWJsZS in /Users/ashammari/github/demo-chat/vendor/kraken-php/config/ConfigFactory.php on line 48
    Throwable trace:
     0. [FatalError] "Kraken\Config\ConfigFactory::Kraken\Config\{closure}(): Failed opening required 'data:/plain;base64,PD9waHAKCi8qKgogKiAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0KICogRGVmYXVsdCBjb25maWd1cmF0aW9uIGZvciBDb25zb2xlIFNlcnZlci4KICoKICogRm9yIG1vcmUgaW5mb3JtYXRpb24gdmlzaXQ6IGh0dHA6Ly9rcmFrZW4tcGhwLmNvbS9kb2NzCiAqIC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQogKi8KcmV0dXJuIFsKICAgIC8qKgogICAgICogLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0KICAgICAqIEFkZGl0aW9uYWwgY29uZmlndXJhdGlvbiBmaWxlIHRvIGxvYWQuCiAgICAgKiAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQogICAgICogVGhpcyB2YXJpYWJsZS" in /ConfigFactory.php:48
    Stack trace:
     0. [throwable] Kraken\Throwable\Error\FatalError(...) in ErrorHandler:64
     1. [call] Kraken\Throwable\ErrorHandler::handleError(64, "Kraken\Config\ConfigFactory::Kra...", "/Users/ashammari/github/demo-cha...", 48) in ErrorHandler:80
     2. [call] Kraken\Throwable\ErrorHandler::handleShutdown(1) in EnvironmentProvider:45
     3. [call] Kraken\Root\Provider\EnvironmentProvider->Kraken\Root\Provider\{closure}() in unknown:0
     4. [main]
Killed: 9

Does not work via IP

Hey,
The app work with localhost:6080 but dose not work via IP 127.0.0.1:6080

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.