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

Error: invalid http method #12

Closed
NotAFile opened this issue May 10, 2019 · 6 comments
Closed

Error: invalid http method #12

NotAFile opened this issue May 10, 2019 · 6 comments

Comments

@NotAFile
Copy link
Contributor

Error handling request
Traceback (most recent call last):
  File "/home/nota/.local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 275, in data_received
    messages, upgraded, tail = self._request_parser.feed_data(data)
  File "aiohttp/_http_parser.pyx", line 523, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: invalid HTTP method

When using gomuks.

@poljar
Copy link
Collaborator

poljar commented May 10, 2019

Is this perhaps an instance of this aio-libs/aiohttp#3287?

Is there any more info? What did you try to do with gomuks? Could you snoop out what request gomuks sends out?

@NotAFile
Copy link
Contributor Author

Turns out the problem was trying to connect to the server via https://, which I'd forgotten to correct in my config. Better errors could be provided though, I guess?

@poljar
Copy link
Collaborator

poljar commented May 10, 2019

Oh, ok.

I guess but where would the error be? The client does get a 400 response, no?

@NotAFile
Copy link
Contributor Author

I'm pretty sure this is really an aiohttp issue. I don't think there's anything you can do to catch this error.

@dillfrescott
Copy link

Still getting this error and have no idea how to fix it.

@dillfrescott
Copy link

When i try to use http it says its not a valid homeserver

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

3 participants