Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Malformed Stratum Request #283

Closed
ahrcoin opened this issue Jan 19, 2018 · 15 comments
Closed

Malformed Stratum Request #283

ahrcoin opened this issue Jan 19, 2018 · 15 comments

Comments

@ahrcoin
Copy link

ahrcoin commented Jan 19, 2018

System information

Geth version: Parity 1.8.6

Redis version: 4.0.6

OS & Version: Linux

Commit branch and hash:

Expected behaviour

when running the pool config.json (payouts.json and unlocker.json not started) should get miners connect and pool starts sending out new work to them.

Actual behaviour

I am getting a large amount of "Malformed Stratum Request from IP #########. Invalid charater /x16 looking for beginning of value"

I am curious about what this means.

Steps to reproduce the behaviour

Installed pool and parity and set up all the config files as normal

Backtrace

2018/01/19 00:49:17 Stats collection finished 698.731µs
2018/01/19 00:49:20 Malformed stratum request from 176.83.234.120: invalid character '\x16' looking for beginning of value
2018/01/19 00:49:22 Stats collection finished 532.565µs
2018/01/19 00:49:27 Stats collection finished 704.587µs
2018/01/19 00:49:29 Malformed stratum request from 189.171.112.183: invalid character '\x16' looking for beginning of value
2018/01/19 00:49:32 Stats collection finished 561.276µs
2018/01/19 00:49:33 New block to mine on main at height 493

[backtrace]
@ghost
Copy link

ghost commented Jan 31, 2018

I have seen these before. Would anyone have a reason to add your pool to a bot network?

@sammy007 sammy007 closed this as completed Feb 1, 2018
@xenhim
Copy link

xenhim commented Feb 8, 2018

Me too . It's annoying to see it . how to fix ?

@sammy007
Copy link
Owner

sammy007 commented Feb 8, 2018

how to fix?

Just uninstall.

@xenhim
Copy link

xenhim commented Feb 9, 2018

Just uninstall.

Is that a joke or are you upset with me? . If I'm sorry for the above question . Thank you

@sammy007
Copy link
Owner

You wanted to fix it, I said how. The only way to fix it is to uninstall because it's the only robust way to prevent people to connect to it by mistake using not a miner or incompatible miner, or a browser for example.

@xenhim
Copy link

xenhim commented Feb 10, 2018

You wanted to fix it, I said how. The only way to fix it is to uninstall because it's the only robust way to prevent people to connect to it by mistake using not a miner or incompatible miner, or a browser for example.

oh. I do not have to keep asking this question. I only try sorry if that makes you uncomfortable. thank you

@ghost
Copy link

ghost commented Feb 13, 2018

@xenhim I used to get 1,000s of these per day. Figured someone seeded some widely used software with my addresses because it doesn't happen on my other 8 pools while configuration being identical. I had my provider block the traffic based on packet sequence.

@xenhim
Copy link

xenhim commented Feb 13, 2018

@epoolio wow . Can you tell me what it is? Do not know what damn name is doing something 😢

@ghost
Copy link

ghost commented Feb 23, 2018

Just had a miner report they couldn't connect. It seems they were dropped because of this Malformed request. Asking for more information on what software they are using. Hope to have more information soon.

@AnorakTech
Copy link

"Malformed Stratum Request from IP #########. Invalid charater /x16 looking for beginning of value" occurs when a worker tries to connect via SSL to a non-SSL port.

@aemet93
Copy link

aemet93 commented Oct 2, 2018

summ

You wanted to fix it, I said how. The only way to fix it is to uninstall because it's the only robust way to prevent people to connect to it by mistake using not a miner or incompatible miner, or a browser for example.

Hey, sammy. So, it is not possible to mock data for load testing? I have an issue after 1024 miners connected, it says too many open files. Trying to debug the place of problem, and want to try to load pool with fake machines. If you have any idea, will be cool.

@mikeyb
Copy link

mikeyb commented Oct 2, 2018

@aemet93 look at your systems ulimit setting. Most likely hitting max file descriptors if you max out at 1024

@aemet93
Copy link

aemet93 commented Oct 2, 2018

screen shot 2018-09-24 at 16 07 57

screen shot 2018-09-24 at 14 54 16

@aemet93 look at your systems ulimit setting. Most likely hitting max file descriptors if you max out at 1024

thanks mikeyb. Already tried, ulimit ihave set to max. Thought problem is in creating a lot geth connections, but no, pool creating 2 connections, for main and for backup node. If you have any other ideas, highly appreciate. Thank you. Here is 2 screenshots with errors, maybe it could help to figure out.

p.s I believe it is not correct place to discuss it. Can we chat somewhere, please?

@mikeyb
Copy link

mikeyb commented Oct 2, 2018

Can you send me the output of these commands?

❯❯❯ cat /proc/sys/fs/file-max
6574823
❯❯❯ ulimit -n
1024

Feel free to email me on my github listed email address. It still feels like a ulimit issue, perhaps the system didnt take a previous change?

@mikeyb
Copy link

mikeyb commented Oct 2, 2018

One time use discord invite - much easier to reach me here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants