<div dir="auto"><div>Jackie you're a genius!</div><div dir="auto"><br></div><div dir="auto">The chrome dev tools pinpointed the error.  "Redirect has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header"</div><div dir="auto"><br></div><div dir="auto">The issue is because the Same Origin Policy is preventing the fetch response from being received due to the originating/receiving domains being different.</div><div dir="auto"><br></div><div dir="auto">The fix was to add a "Access-Control-Allow-Origin: *" header.</div><div dir="auto"><br></div><div dir="auto">Thanks again for pointing me in the right direction.  I often forget about the chrome dev tools.</div><div dir="auto"><br><br><div data-smartmail="gmail_signature" dir="auto">Shane Martin<br>Manager of Information Technology<br>Town Of Ingersoll<br>519-485-0120 ext. 6264</div><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Fri., Aug. 5, 2022, 3:40 p.m. Jackie Ng, <<a href="mailto:jumpinjackie@gmail.com">jumpinjackie@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Assuming you are referring to the mapguide-react-layout viewer (that sounds a lot like an error message this viewer will throw), then the best course of action is to open your browser developer tools (general shortcut key is F12) and look for failed requests in the network tab.</div><div><br></div><div>Given this is a fetch error during startup, I suspect it must be a failure in one of the requests to:</div><div><ul><li>Fetch the WebLayout or ApplicationDefiniton resource</li><li>Create the runtime map from the Map Definition from the WebLayout or ApplicationDefinition fetched above.</li></ul><div>But looking at the failed requests in the network tab in the browser dev tools will give the definitive answer on what is the failing request.</div></div><div><br></div><div>Hope that helps.</div><div><br></div><div>- Jackie</div><div><br></div><div>You wrote:</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Are users are receiving a "An error occurred during startup - Failed to</pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Fetch" error when opening the mapguide viewer in a web browser.  Anyone</pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">know what this cause of this error would be? or what log files may shed</pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">some light on it?</pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Thanks.</pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">*Shane Martin*</pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Manager of Information Technology</pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Town Of Ingersoll</pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">519-485-0120 ext. 6264</pre></div></blockquote><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><br></pre></div>-- <br><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><font size="1"><i>Please Note: I no longer create new posts or post replies to any OSGeo mailing list through nabble. As a result, you most likely won't see this message appear on nabble's view of any OSGeo mailing list and may only see this message through mailing list archives or depending on your mailing list subscription settings, through daily message digests or automated notifications from the mailing lists.</i></font></div></div></div>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank" rel="noreferrer">mapguide-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapguide-users" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</blockquote></div></div></div>