-
Notifications
You must be signed in to change notification settings - Fork 5
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
Connection to padawan.php timed out #13
Comments
@okdewit Visiting |
Neovim opens, and I open a new terminal tab:
So it doesn't seem to autostart (ps aux confirms that), even though Inside Neovim:
I see
I do Setting up a tail and restarting from withing neovim:
Gives this as output of the tail command:
And leaves the log empty. |
timeout might be ok for the first time completion, cause padawan loads index and it can be slow. If you try trigger completion multiple times, will it work? |
@okdewit
Normaly log should show something like:
|
Nothing changes in the log when writing code. I've hopped around between files, writing code, running unit tests, commiting to git... just my normal workflow. Nvim shows the timeout message every time I hit a The tail on the log just shows multiple kill / goodbye / truncate messages, because while working I've tried to restart the padawan server a few times. |
Looks like the problem is with the server. |
Looks really strange, maybe let's try $ nc -l 15155 > test_request And type something in your php file, the best thing is typing $ cat test_request | nc localhost 15155 Paste here results of this test |
Thanks for the help so far. It indeed seems to be related to mkusher/padawan. I had tried to set it up earlier at home on a different machine (Debian workstation), and now it works there. So I started to compare versions (OS, Neovim, PHP, composer, etc), and suddenly noticed that my work machine (Mint laptop) had the mkusher/padawan master branch, while my home PC pulled in the stable v0.2.1 release. After downgrading it now works on both machines, I get nice Haven't been able to pinpoint yet why the padawan CLI 3.0 doesn't work for me though, it doesn't seem to write during I'm happy using the previous version, but if I can help by providing more information let me know! |
With Padawan CLI 3.0, dumping the request to the file goes well, there is a POST header at the top, and the body is full of url-encoded text from the buffer. When I start the padawan server again and use |
ok, looks like it's a bug in padawan.php itself, not in deoplete plugin |
I'm closing it then. Please, move to padawan.php if you wish to check it further. |
I have trouble debugging this.
:CheckHealth
shows no problems with python or ruby.padawan generate
finished without errorsnvim
, runningdeoplete#sources#padawan#StartServer()
seems to create a file in /tmp/padawan-server.log, and it shows up as a running process.deoplete#sources#padawan#RestartServer()
adds the following to the log file:ERR_EMPTY_RESPONSE
, and drops aGET /
in the log.Whenever I type
$object->
orClass::
or something like that, it just shows "Connection to padawan.php timed out", which is an error generated by this plugin.Any idea on how to debug this further? Thanks!
The text was updated successfully, but these errors were encountered: