-
Notifications
You must be signed in to change notification settings - Fork 33
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
Cowboy 2 vs Zotonic vs XProf #80
Comments
This looks like the static assets are loaded successfully into the browser but all REST API calls fail. (I pushed a small fix to the |
During a common debugging session with @ddeboer we found that the problem (REST API always returns 204) only occurs when zotonic is started before xprof. If xprof is started before zotonic, they both work fine. Zotonic uses some custom cowboy middlewares and we suspect that maybe that affects the endpoint of zotonic, but it is not clear, why. |
I'd like to repurpose this ticket as an xprof vs zotonic bug report, and hande cowboy 2.0 feature itself here #99 |
I updated the @ddeboer could you try if the issue still persists with latest cowboy, if your time permits? |
I tried using the
I was able to install it after updating the Cowboy version in [I used version 2.6.3, which is what my app is using, but 2.8.0 is the latest.] I get a compile error for
I'm on Erlang/OTP version 21.2.3. |
Newer versions of |
Updating I did see some warnings for another package tho:
|
I got I'm guessing I might need to ensure that
Or is |
hi @kenny-evitt thanks for trying xprof and extra thanks for going this far to make it work. The
Thanks again and let me know how either tag |
@gomoripeti Thanks! I'm actually, currently, looking for a tracing tool with stacktraces, but I may come back to xprof a bit later – thanks for it by-the-way! |
Currently available in branch
cowboy_2.0
. See #73 (comment).It compiles and
xprof:start()
works, but I’m getting some JavaScript errors:The text was updated successfully, but these errors were encountered: