Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Fishsye CrossDomain Problem?

Hi ,

I am using asp.net for for my website and i am using fisheye as a tool in my website.

Now When I Redirect fisheye request it gives me cross platform issues.

 

<iframe id="fisheyFrame" src="fisheyeURL" name="fisheyFrame" allowtransparency="true" frameborder="0" style="width:100%;height:500px"></iframe>

Error Fire when run page :

Uncaught SecurityError: Blocked a frame with origin "http://localhost:8060" from accessing a frame with origin "http://localhost:5449". Protocols, domains, and ports must match.

How can i solve it ???

Thanks,

1 answer

0 votes

Hi,

This is caused by Same Origin security policy, there is a lot of materials on this matter on the web, e.g. http://stackoverflow.com/questions/25098021/securityerror-blocked-a-frame-with-origin-from-accessing-a-cross-origin-framehttp://stackoverflow.com/questions/25893006/uncaught-securityerror-blocked-a-frame-with-origin-null-from-accessing-a-fram or http://en.wikipedia.org/wiki/Same-origin_policy

Interesting is also the URL you are using, http://localhost:8060/.  Remember this might work well on your local machine where FishEye instance is running on the same box, but external users would not be able to access FishEye via this URL.  Use full qualified domain name of the box hosting FishEye preferrably.

Finally, by the same origin policy error you mentioned, I'm guessing you are trying to interact with FishEye displayed in the iframe by JavaScript, aren't you?  Let me know what kind of integration are you trying to achieve, perhaps there are better ways of providing such integration?   You may want to consume FishEye REST APIs for instance to interact with FishEye application, that might be easier approach to overcome the same origin policy limitations.

Kind regards,
Piotr 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

ThinkTilt is joining the Atlassian Family!

This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...

459 views 19 23
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you