Comments (2)
I found this log message below: This is in my understandaning related to http_get for AnyEvent, but I dont really undertstand the problem. Please let me know if I can help!:
- TRACE [2016/12/05 15:19:45] /usr/local/elsa/web/lib/Controller.pm (864) Controller::try {...} 15643 [undef]
Sending request to URL http://127.0.0.1/API/local_info - ERROR [2016/12/05 15:19:45] /usr/local/elsa/web/lib/Controller.pm (883) Controller::ANON 15643 [undef]
malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "(end of string)") at /usr/local/elsa/web/lib/Controller.pm line 877.
Header: $VAR1 = {
'Reason' => 'Connection timed out',
'URL' => 'http://127.0.0.1/API/local_info',
'Status' => 596
};
body: $VAR1 = undef;
- DEBUG [2016/12/05 15:19:45] /usr/local/elsa/web/lib/Controller.pm (757) Controller::_merge_node_info 15643 [undef]
final: $VAR1 = {
'nodes' => {}
}; - DEBUG [2016/12/05 15:19:45] /usr/local/elsa/web/lib/Controller.pm (791) Controller::ANON 15643 [undef]
stats: $VAR1 = {
'overall' => '0.00913190841674805'
from elsa.
I think I have may be found the problem: I modified /usr/local/elsa/web/lib/Controller.pm
Lines
876 }
877 AnyEvent->now_update;
878 $results{$peer} = http_get $url, headers => $headers, @no_proxy, sub {
I added the line 876 AnyEvent->now_update
This just updates the counter to reflect real time and it seems to work now. I am sure that it is not the best place to add it, as you have probably the AnyEvent functions in different places. (you know that better than me :)
Please let me know if you want me to try something else.
from elsa.
Related Issues (20)
- datasource:_node_stats Shows Data in Future
- Multiple class search result export to excel does not work.
- Cannot start web interface HOT 1
- Add Support for Arch Linux in install file
- groupby Value Empty HOT 3
- apache2-mpm-prefork HOT 2
- CentOS 7 Apache Config
- Strange results from elsa queries HOT 1
- Upgrade Sandbox Connector from 1.0 to 1.5
- Large offset in ELSA query
- Remove old "get_elsa" googlecode portion of install.sh HOT 1
- Remove/rework set_version portion of install.sh related to google code?
- Check that $TMP_DIR is not mounted noexec
- Database missing tables
- MySQL problem I guess HOT 3
- Problem correlating results in a subsearch
- install.sh doesn't work on debian stretch.
- Elsa PostgreSQL support HOT 4
- Dashboard still requires credentials HOT 1
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 elsa.