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 501 when launching RPC server #7

Open
aRI0U opened this issue May 19, 2020 · 0 comments
Open

Error 501 when launching RPC server #7

aRI0U opened this issue May 19, 2020 · 0 comments

Comments

@aRI0U
Copy link

aRI0U commented May 19, 2020

Hi,

I am trying to use the chiptune synthesis server you provide with your code, but I cannot connect to the server. I installed the required dependencies in a Python 2.7 virtualenv following the instructions of the README, but here is what I get when I launch the server:

$ python data/synth_server.py 1337
Opened chiptune synthesis server on port 1337
127.0.0.1 - - [19/May/2020 14:34:49] code 501, message Unsupported method ('GET')
127.0.0.1 - - [19/May/2020 14:34:49] "GET / HTTP/1.1" 501 -

On the browser itself, the message is similar:

Error response
Error code 501.
Message: Unsupported method ('GET').
Error code explanation: 501 = Server does not support this operation.

Do you have an idea of what could explain such an unexpected behavior?

Best,

Alain

EDIT: synth_client.py seems to work in Python 3 since the following message:

127.0.0.1 - - [19/May/2020 15:28:22] "POST /RPC2 HTTP/1.1" 200 -

is displayed on the terminal where synth_server.py is launched when I launch synth_client.py

@aRI0U aRI0U closed this as completed May 19, 2020
@aRI0U aRI0U reopened this May 19, 2020
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

1 participant