Comments (4)
After cleaning, I got to make it run. Interesting that I had to remove the punctuation in the end of docker run -p 4441:4441 defacto_git .
from defacto.
But, apart from the examples, nothing is working. it is returning 400 Bad Request
Wrong input.
from defacto.
it seems to be something related to Azure
java.net.ConnectException: Connection refused (Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:532)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:409)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
at net.billylieurance.azuresearch.AbstractAzureSearchQuery.doQuery(AbstractAzureSearchQuery.java:337)
at org.aksw.defacto.search.engine.bing.AzureBingSearchEngine.query(AzureBingSearchEngine.java:107)
at org.aksw.defacto.search.engine.DefaultSearchEngine.getSearchResults(DefaultSearchEngine.java:40)
at org.aksw.defacto.search.crawl.SearchResultCallable.call(SearchResultCallable.java:35)
at org.aksw.defacto.search.crawl.SearchResultCallable.call(SearchResultCallable.java:19)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
java.lang.NullPointerException
at org.aksw.defacto.search.engine.bing.AzureBingSearchEngine.query(AzureBingSearchEngine.java:114)
at org.aksw.defacto.search.engine.DefaultSearchEngine.getSearchResults(DefaultSearchEngine.java:40)
at org.aksw.defacto.search.crawl.SearchResultCallable.call(SearchResultCallable.java:35)
at org.aksw.defacto.search.crawl.SearchResultCallable.call(SearchResultCallable.java:19)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
20:15:45 DEBUG [cluster-ClusterId{value='5c93ed1446e0fb0001b39cea', description='null'}-localhost:27017] - [connection]- Closing connection connectionId{localValue:199}
20:15:46 DEBUG [cluster-ClusterId{value='5c93ed1446e0fb0001b39ceb', description='null'}-localhost:27017] - [connection]- Closing connection connectionId{localValue:200}```
from defacto.
Hello @DiegoMoussallem, yes you need to register at Microsoft Azure to obtain an API. In the next release, we will change the interface to support other databases, in general (e.g., babetnet). Please let me know if that has fixed the issue :-)
from defacto.
Related Issues (20)
- FactBench
- Get pattern representations ready to be used
- Change the LOG architecture
- Setup new DeFacto's Infra
- Freebase Issue HOT 6
- Queue
- SolrCache x SearchEngines
- Missing Files? HOT 4
- Tika + WARC scripts
- UIMA
- Cache Evidence
- Study on OSS maven library vulnerabilities: httpclient library
- Solr Update
- Extractors
- Demo availability HOT 2
- More comprehensive guide to build and deploy on local machine. HOT 3
- Unable to access the Solr server HOT 2
- Error when building docker
- Python version
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 defacto.