Realtime events are not working. Please try refreshing the page. In Local development
Realtime events are not working. In Local Development setup. I am using socket io in 9001 port but the raven is sending request to 9000 port. I don't not its my config problem or not. frappe is working properly and getting realtime update. But the Raven is using different port. If this is my config issue please update me how to fix and close this issue.
Screenshot:
Realtime events are not working. In Local Development setup. I am using socket io in 9001 port but the raven is sending request to 9000 port. I don't not its my config problem or not. frappe is working properly and getting realtime update. But the Raven is using different port. If this is my config issue please update me how to fix and close this issue.
Screenshot:
![]()
@sambhusbabu can you confirm whether you have env.local in your src directory? with the following configuration -
VITE_SOCKET_PORT=9001 VITE_SITE_NAME=raven.test VITE_BASE_NAME=''
Ensure that the socket port and your site name are correctly updated here and try to restart your frontend server.
same issue,..
ubuntu@development$ bench version
erpnext 16.0.0-dev version-16-beta (4bf4df0)
frappe 16.0.0-dev version-16-beta (4d57a05)
mint 1.0.1 main (00ce77d)
raven 2.6.5 main (2cdf429)
env.local :
VITE_BASE_NAME='' # This needs to be set as empty
VITE_SOCKET_PORT=9000 # This is the port on which socket.io is running. It's usually the main Frappe server port (8000) but in the 9000 series
VITE_SITE_NAME='development' # This is the same of the site
Realtime events are not working. In Local Development setup. I am using socket io in 9001 port but the raven is sending request to 9000 port. I don't not its my config problem or not. frappe is working properly and getting realtime update. But the Raven is using different port. If this is my config issue please update me how to fix and close this issue. Screenshot:
@sambhusbabu can you confirm whether you have
env.localin your src directory? with the following configuration -VITE_SOCKET_PORT=9001 VITE_SITE_NAME=raven.test VITE_BASE_NAME=''Ensure that the socket port and your site name are correctly updated here and try to restart your frontend server.
Still getting same error with env.local file
env.local file placed inside of frontend folder
The file should be called ".env.local" - notice the period at the beginning, and it should be placed in the same folder as the ".env" file is. ".env.local" isn't checked into Git because it's for the local dev environment.