Skip to content
New issue

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

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

Already on GitHub? # to your account

ValueError: Unknown endpoint type: '7077' #206

Open
markmark1 opened this issue Jun 30, 2018 · 2 comments
Open

ValueError: Unknown endpoint type: '7077' #206

markmark1 opened this issue Jun 30, 2018 · 2 comments

Comments

@markmark1
Copy link

twistd -r epoll web --class=pyapns.server.APNSServer --port=7077
Traceback (most recent call last):
File "/usr/bin/twistd", line 11, in
sys.exit(run())
File "/usr/lib64/python2.7/site-packages/twisted/scripts/twistd.py", line 29, in run
app.run(runApp, ServerOptions)
File "/usr/lib64/python2.7/site-packages/twisted/application/app.py", line 662, in run
runApp(config)
File "/usr/lib64/python2.7/site-packages/twisted/scripts/twistd.py", line 25, in runApp
_SomeApplicationRunner(config).run()
File "/usr/lib64/python2.7/site-packages/twisted/application/app.py", line 380, in run
self.application = self.createOrGetApplication()
File "/usr/lib64/python2.7/site-packages/twisted/application/app.py", line 440, in createOrGetApplication
ser = plg.makeService(self.config.subOptions)
File "/usr/lib64/python2.7/site-packages/twisted/web/tap.py", line 245, in makeService
strports.service(config['port'], site).setServiceParent(s)
File "/usr/lib64/python2.7/site-packages/twisted/application/strports.py", line 40, in service
endpoints.serverFromString(reactor, description), factory)
File "/usr/lib64/python2.7/site-packages/twisted/internet/endpoints.py", line 1702, in serverFromString
nameOrPlugin, args, kw = _parseServer(description, None)
File "/usr/lib64/python2.7/site-packages/twisted/internet/endpoints.py", line 1620, in _parseServer
getPlugins(IStreamServerEndpointStringParser), endpointType
File "/usr/lib64/python2.7/site-packages/twisted/internet/endpoints.py", line 1636, in _matchPluginToPrefix
raise ValueError("Unknown endpoint type: '%s'" % (endpointType,))
ValueError: Unknown endpoint type: '7077'

@markmark1
Copy link
Author

get this error please help

@ks1322
Copy link

ks1322 commented Nov 18, 2020

should work with --port="tcp:port=7077"
taken from here robgjansen/onionperf#26 (comment)

Repository owner deleted a comment from markmark1 Nov 18, 2020
Repository owner deleted a comment from markmark1 Nov 18, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants