Comments (2)
Hi, try to clean solution (clean all), rebuild the workspace, and run it again.
I'm not having any issue, i tested with jMeter. You can see it working opening the server address in a browser.
from samplelistener.
I did the clean all, haven't tried jMeter yet.
When I open a browser with localhost:9092, I get a ERR_SOCKET_NOT_CONNECTED, nothing in server console
However when I debug this, I see a connection and the following text appears in the server console:
GET / HTTP/1.1
Host: localhost:9092
Connection: keep-alive
DNT: 1
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9
Sec-Fetch-Site: none
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Sec-Fetch-Dest: document
Accept-Encoding: gzip, deflate, br
Accept-Language: nl-NL,nl;q=0.9,en-US;q=0.8,en;q=0.7
Failed to receive data from socket
Trying to open a telnet connection:
Microsoft Telnet> o localhost 9092
Connecting To localhost...
// After a few seconds:
Could not open connection to the host, on port 9092: Connect failed
or
Connection to host lost.
In the debugger, mHandle seems to be INVALID_SOCKET
Changing the port number doesn't help.
jMeter sends hundreds of requests per second, but a manual connection doesn't seem to get through in the code.
Thanks for looking into this.
from samplelistener.
Related Issues (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 samplelistener.