Comments (9)
@chat_list ||= Chat::Conversation.joins(:users).group("chat_sessions.conversation_id").select(:id, group_concat).merge(current_user.conversations).order(created_at: :desc)
i dont know what error
but when i removed this line error gone but no chat shows
from chat.
Looking at your screenshot, it appears you are running chat 0.2.0. Do you mind updating to 1.0.0 and see if that fixes the issue? I also saw your other issue, and I'll update the gemspec with haml as a dependency.
from chat.
@npezza93 thank you i will try right now
from chat.
thank you almost work i will try from clean app again
its work but no send and receive MSG
just create the conversation may be my fault
from chat.
Cannot render console from ' MY IP '! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
Started GET "/cable/"[non-WebSocket] for 156.216.141.114 at 2017-07-24 22:06:03 +0000
Failed to upgrade to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Keep-Alive, HTTP_UPGRADE: )
Finished "/cable/"[non-WebSocket] for 156.216.141.114 at 2017-07-24 22:06:03 +0000
must refresh to show msg
from chat.
That is not an issue caused by this gem. That is an ActionCable config issue. Make sure your cable.yml is setup properly.
from chat.
Failed to upgrade to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Keep-Alive, HTTP_UPGRADE: )
needed this line at
application.rb
config.action_cable.allowed_request_origins = [/http:///, /https:///]
now i have an other error
WebSocket connection to 'ws://localhost:3000/cable' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
i put this line
config.action_cable.url = 'ws://localhost:3000/cable'
not worked
my app is development
cable.yml
development:
adapter: async
using Clearance as sign in
Chat.setup do |config|
config.signed_in = :signed_in?
config.logged_in_check = :require_login
config.user_avatar = :avatar
config.perform_method = :perform_now
end
from chat.
That is also not an issue with this gem. Please use either StackOverflow for help or refer to the dummy app in the test dir as reference on how to setup ActionCable.
from chat.
ok thank you all i want was make it as help for other if they get same errors
from chat.
Related Issues (6)
- MissingTemplate HOT 1
- Setting scope for users HOT 1
- Support with Mongoid? HOT 1
- Problem in the view section? HOT 1
- Missing partial HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chat.