You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I start flask app from examples. It works. I can connect to it by Service('flask', host='192.168.50.204') from python scripts.
But when I try to connect by HTTP - I got error 500:
vagrant@front:~$ curl -v http://192.168.50.204:8080/flask/http/read
* About to connect() to 192.168.50.204 port 8080 (#0)
* Trying 192.168.50.204... connected
> GET /flask/http/read HTTP/1.1
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
> Host: 192.168.50.204:8080
> Accept: */*
>
< HTTP/1.1 500 Internal Server Error
< Content-Length: 0
< Connection: Keep-Alive
<
* Connection #0 to host 192.168.50.204 left intact
* Closing connection #0
... and got following from syslog on 192.168.50.204:
May 7 00:14:26 front cocaine[1054]: native-proxy: Internal error has occurred while processing event 'http' of application 'flask': Service manager no longer exists; code - 4.
Another two cents. When I use cocaine-tornado-proxy by cocaine-tool proxy start - all works fine.
Thank you in advance for your help
The text was updated successfully, but these errors were encountered:
Can you tell me, what versions of native proxy and native framework you use? And where did you get the packages?
Seems like the proxy is built with a version of native framework different from the version it runs with.
I install cocaine-native-proxy with following config:
When I start
flask
app from examples. It works. I can connect to it byService('flask', host='192.168.50.204')
from python scripts.But when I try to connect by HTTP - I got error 500:
... and got following from syslog on 192.168.50.204:
Another two cents. When I use
cocaine-tornado-proxy
bycocaine-tool proxy start
- all works fine.Thank you in advance for your help
The text was updated successfully, but these errors were encountered: