-
Notifications
You must be signed in to change notification settings - Fork 25
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
No rendering of svg images when backend is deployed #31
Comments
Hi, we're glad to hear you're using Playground! Are you pulling the svg images from our S3 bucket or from somewhere else? And are there any errors in your browser console? |
Hi @jackcook. Thanks for the reply! If it helps in troubleshooting, I had a Could it be an issue related the redis image of docker, that is running locally on the ec2 instance hosting the backend? Hope this info can help in the troubleshooting! |
Did you happen to modify this line? The |
Hey @jackcook |
Can you add a |
@jackcook I guess, as you suspected, it must be an issue of storing in the Redis database running on docker. I am running the docker container containing the redis image locally on the ec2 instance that is hosting my backend. I wanted to confirm whether this is the correct way to do so? If yes, based on the info above, could you suggest a workaround for this issue? |
The room id being empty would definitely cause this problem. Did you change any of the room templates? How are you getting from the personal room to the plaza? With the map? |
@jackcook
|
Hi @jackcook |
Hi @ritikbhatia -- super sorry about the late response. Glad you were able to fix that issue! We used an ElastiCache instance for Redis, we didn't have it running on the same box. We got one of the ones with high network availability to reduce socket latency. You'll need to do this if you're using ECS because you need one central Redis instance, you can't have a different one on each box. |
Hi @jackcook |
Hey @jackcook, adding on to this thread, there is an issue where the current position of the avatar becomes undefined on entering a new room. After this, if we try to press the home button or use the map to go to a new room, the svgs keep stacking on top of each other until we refresh the whole page. May I ask if a similar issue was faced by you guys while deploying and if there is a solution to this? Is this due to a latency issue as mentioned before or another problem altogether? Any help or suggestions on the same would be very helpful! Here are some screenshots of the error and the svg stacking for reference |
There is also another error which keeps popping up in such cases which is as follows: Uncaught TypeError: Cannot read property 'safeDelete' of undefined Thanks again for all the help and hoping to hear from you! |
Hi development team!
Thanks for this open source platform! We are planning to use this platform for an upcoming hackathon but are facing a few issues in the deployed software.
When the playground is deployed on AWS ElasticBeanstalk and we use the deployed version as the websocketURL for the frontend running on localhost, the frontend does not display the SVG images for all the locations except Personal Room (that is, the town plaza etc. are not rendered) although the character and its movements work fine
However, all the SVGs seem to be rendered fine when the backend is run on localhost.
We wanted to ask whether you had faced a similar issue on the deployed software? If yes, could you please suggest a workaround for the same? Thank You!
cc @jackcook
The text was updated successfully, but these errors were encountered: