Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Images are not showing in lan

Open elliotslab opened this issue 11 years ago • 5 comments

Avatar images ( Initials or uploaded ) are not showing to the other users in the lan. To test I turn off the firewall but the images won't load either, not even when the users connect using the public ISP IP.

PS:. Images parsed from URLs load perfectly only the avatars are in blank

elliotslab avatar Jul 29 '15 18:07 elliotslab

even if you refresh the browser?

sampaiodiego avatar Jul 29 '15 18:07 sampaiodiego

I mean, if you set or change your avatar, other people won't see your new avatar until a browser refresh.. this is a known bug..

sampaiodiego avatar Jul 29 '15 18:07 sampaiodiego

@sampaiodiego not even if I refresh the browser, I try cleaning the cache and force restart (ctrl + shift + r) and still can't see the avatars, but I can see it perfectly in localhost

elliotslab avatar Jul 29 '15 18:07 elliotslab

ok, I see.. it could be a problem with ROOT_URL.. tell me, are you running on localhost and telling the others to access your app by your IP?

can you try running with a command like this? changing 192.168.1.100 to your real IP

ROOT_URL="http://192.168.1.100:3000" meteor

you should see something like this:

=> Started your app.

=> App running at: http://192.168.1.100:3000

sampaiodiego avatar Jul 29 '15 18:07 sampaiodiego

@sampaiodiego this fix it, thanks

elliotslab avatar Jul 29 '15 19:07 elliotslab