Closed smallpen closed 5 years ago
Hello,
Can you please tell me what version of the library you are currently using (in your composer.json file).
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
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)
Hi @smallpen,
I am having trouble replicating the issue.
Can you tell me: 1) How often does this happen. Every time you run it, or seemingly randomly? 2) Do you notice anything else when it happens (eg: dropped connection, market closing, etc...)
It seem this issue ! https://github.com/Wisembly/elephant.io/issues/149
@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.
Sometime use websocket to receive prices will happen exception "Receive server happen exception => Undefined offset: 2" ! Here is my code