-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
[Bug]: Images getting blocked in Events #266
Comments
@gbowne1 can i work on this issue. |
@gbowne1 so the problem is, we unable to fetch the images of those events which are having shutterstock images as event image url ? |
also when i was going through the /friends route their were two warnings:
|
Yes, The images are not available because the images are blocked by cors. The Friends and Panel issues are separate from this issue. |
I have created two events one using chrome and one using firefox and both of them are being rendered properly and i have used the shutterstock images in both the events in the image url. |
@NigamDevansh I opened #275 as a new issue for this. |
You should see the message NS_BINDING_ABORTED in the browser console likely the network tab when on /friends for the images. This is coming from cors. |
can you share a screenshot of the error |
A screenshot with the Firefox 112 browser console open while navigated to /events Look at the Network tab "Transferred" column. Even though the images resulted in a 200 GET it still responded with NS_BINDING_ABORTED. |
Any ideas @manuel12 ? |
Unassigning since the last was in July '23. This issue is now available for request. |
@gbowne1 I'm not familiar with Firefox browser and it's error messages. But I sure that this is not a CORS or Shutterstock issue as CORS error will happen in all the browsers. I believe this is an error from the browser behaviour to cancel or abort the http request when navigated to another page when current page is loading the assets. Can you check/confirm if this error have any visual impact in the application? If it's not, then I don't think we need to worry about it. 🙂 |
|
@gbowne1 we can do some testing to confirm the behaviour and based on that we can close this issue. |
We are using RTL, Jest and Cypress. Shouldn't be too hard to come up with a test. I just don't wanna prematurely close or ignore an issue that might be there. |
I also was focused on @NigamDevansh's 2nd comment in this thread. |
@gbowne1 - this comment right? |
yes @balajik |
Describe the Bug
In the console, while navigated to /events, the images are getting CORS' blocked with a NS_BINDING_ABORTED error, in particular the ones from shutterstock. We need to implement a method for handling CORS for images people post for their event(s). We do have CORS package installed on the server.
Steps to Reproduce
Start the React development server
Go to /events or click on the Events in the SideNav
Inspect the page using the console.
Screenshots
No response
Which device are you using?
PC Desktop, x64 Core i7 3rd Gen
Which operating system are you using?
Linux x64, Debian Base
Which browser are you using?
Firefox 112
Additional Context
No response
Contribute
The text was updated successfully, but these errors were encountered: