Comments (6)
Hello,
Can you please tell me what version of the library you are currently using (in your composer.json file).
from php-forex-quotes.
name : oneforge/forexquotes
descrip. : Library to fetch and parse realtime Forex quotes and convert currencies
keywords : api, forex, quotes, realtime
versions : * 2.0.10
type : library
from php-forex-quotes.
Here is trace log !
BinaryGameServer: Receive 1forge price happen exception!Task has been stop! Error=> Undefined offset: 2, Trace => #0 /home/chris/GameServer/vendor/wisembly/elephant.io/src/Engine/AbstractSocketIO.php(125): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/home/chris/Gam...', 125, Array) #1 /home/chris/GameServer/vendor/wisembly/elephant.io/src/Client.php(86): ElephantIO\Engine\AbstractSocketIO->read() #2 /home/chris/GameServer/vendor/oneforge/forexquotes/lib/ForexDataClient.php(162): ElephantIO\Client->read() #3 /home/chris/GameServer/app/Console/Commands/receivePrice.php(118): OneForge\ForexQuotes\ForexDataClient->connect(Object(Closure)) #4 [internal function]: App\Console\Commands\receivePrice->handle() #5 /home/chris/GameServer/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array(Array, Array) #6 /home/chris/GameServer/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() #7 /home/chris/GameServer/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure)) #8 /home/chris/GameServer/vendor/laravel/framework/src/Illuminate/Container/Container.php(549): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL) #9 /home/chris/GameServer/vendor/laravel/framework/src/Illuminate/Console/Command.php(183): Illuminate\Container\Container->call(Array) #10 /home/chris/GameServer/vendor/symfony/console/Command/Command.php(252): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle)) #11 /home/chris/GameServer/vendor/laravel/framework/src/Illuminate/Console/Command.php(170): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle)) #12 /home/chris/GameServer/vendor/symfony/console/Application.php(946): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 /home/chris/GameServer/vendor/symfony/console/Application.php(248): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\receivePrice), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #14 /home/chris/GameServer/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /home/chris/GameServer/vendor/laravel/framework/src/Illuminate/Console/Application.php(88): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 /home/chris/GameServer/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(121): Illuminate\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #17 /home/chris/GameServer/artisan(37): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #18 {main}
from php-forex-quotes.
Hi @smallpen,
I am having trouble replicating the issue.
Can you tell me:
- How often does this happen. Every time you run it, or seemingly randomly?
- Do you notice anything else when it happens (eg: dropped connection, market closing, etc...)
from php-forex-quotes.
It seem this issue ! Wisembly/elephant.io#149
from php-forex-quotes.
@smallpen It looks like the library isn't maintained anymore unfortunately. You might be better of switching to javascript and using https://www.npmjs.com/package/forex-quotes - it's far more stable.
We'll eventually try to move off of elephant.io or switch to a fork that's more stable.
from php-forex-quotes.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-forex-quotes.