Open davidgruebl opened 8 years ago
+1
+1
+1
+1 :( Using El Capitan.
+1
+1
also using el Capitan
+1 also el capitan
+1 also using El Capitan
and try to access other endpoint directly like http://127.0.0.1:9000/device
,
then i got the same error with the following error page
Can "Upgrade" only to "WebSocket".
i was able to make the service find the correct directory for the web files. i started with changing:
~/Library/PonyDebugger/lib/python2.7/site-packages/ponyd-1.0-py2.7.egg/ponyd/gateway.py
this line:
https://github.com/square/PonyDebugger/blob/master/ponyd/gateway.py#L218
should be static_path = ...
. then i was able to fire up ponyd with:
$ ponyd serve -v -i 0.0.0.0 -s ~/Library/PonyDebugger/src/ponydebugger/ponyd/web
at this point, both my app with the debugger lib in and chrome were able to connect to the ponyd service. the coredata model browsing feature, which is what i was after with all of this, does not appear to work though 😢 . i can double click the indexeddb, see the model names, but i can't do anything past that.
+1 also capitan OS
same here on osx 10.11.4
same from 10.11.5
@kenichi can you try to add the method below in the file gateway.py in this class https://github.com/square/PonyDebugger/blob/1a9b1a1f328fc79463aac978828044d9aacbbada/ponyd/gateway.py#L90
def check_origin(self, origin):
return True
For anyone still having this problem, I was able to solve it by copying the contents of the "web" folder (https://github.com/square/PonyDebugger/tree/master/ponyd/web) to /usr/local/lib/python2.7/site-packages/ponyd-1.0-py2.7.egg/ponyd/web.
This problem happens because ponyd can't find the static files. Hope it helps anyone.
Thanks for your comments. I have created a workaround. It worked for me on El Capitan and python2.7
👍
@luccascorrea ...your solution worked for me ....thanks
After encountering and working around https://github.com/square/PonyDebugger/issues/189 I ran into the following:
The webserver seems to be up, while the PonyGateway lobby is not being served.
http://localhost:9000/
only gets me404: Not Found