Ruby on Rails
Thursday, March 2, 2017
I have an application which has a resource called cables. But after upgrading to Rails 5.0.1, I can no longer access the cables index page.
in the log I get:
Started GET "/cables" for 127.0.0.1 at 2017-03-02 12:32:04 +0000
Started GET "/cable/s"[non-WebSocket] for 127.0.0.1 at 2017-03-02 12:32:04 +0000
Failed to upgrade to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: keep-alive, HTTP_UPGRADE: )
Finished "/cable/s"[non-WebSocket] for 127.0.0.1 at 2017-03-02 12:32:04 +0000
Presumably I am getting a conflict with ActionCable routing.
Is there a way to avoid this whilst retaining my own cables resource, or am I better off completely moving my resource to another name.
-- in the log I get:
Started GET "/cables" for 127.0.0.1 at 2017-03-02 12:32:04 +0000
Started GET "/cable/s"[non-WebSocket] for 127.0.0.1 at 2017-03-02 12:32:04 +0000
Failed to upgrade to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: keep-alive, HTTP_UPGRADE: )
Finished "/cable/s"[non-WebSocket] for 127.0.0.1 at 2017-03-02 12:32:04 +0000
Presumably I am getting a conflict with ActionCable routing.
Is there a way to avoid this whilst retaining my own cables resource, or am I better off completely moving my resource to another name.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d160c63a-94da-481a-8fbc-23c9e413472a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment