Skip to content
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

Unable to open wisemapping using 2 different IP #6

Open
rishabhrkaushik opened this issue Jul 18, 2024 · 1 comment
Open

Unable to open wisemapping using 2 different IP #6

rishabhrkaushik opened this issue Jul 18, 2024 · 1 comment

Comments

@rishabhrkaushik
Copy link

rishabhrkaushik commented Jul 18, 2024

I've hosted wisemapping using docker image.
Let's say I login on the same machine first using localhost:port, I'm able to use the application as intended.
If I now open the application using IP address instead of localhost, the application doesn't load. All requests are sent to localhost instead.
image

Doing the thing the other way around, If I use IP address first, the application works as intended but changing it to localhost creates an error same as last one.

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://192.168.0.12:9081/static/webapp/vendors.bundle.js. (Reason: CORS header \u2018Access-Control-Allow-Origin\u2019 missing). Status code: 200.

<script> source URI is not allowed in this document: \u201chttp://192.168.0.12:9081/static/webapp/vendors.bundle.js\u201d. login:59:105
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://192.168.0.12:9081/static/webapp/app.bundle.js. (Reason: CORS header \u2018Access-Control-Allow-Origin\u2019 missing). Status code: 200.

<script> source URI is not allowed in this document: \u201chttp://192.168.0.12:9081/static/webapp/app.bundle.js\u201d. login:60:101

Looks like a CORS configuration issue but I'm not sure.
Docker Image used: wisemapping/wisemapping:latest@sha256:7668a0980e741604368a21a1117715e5c9e86a1275fbf99e354c3a55c8445bbd

@rishabhrkaushik rishabhrkaushik changed the title Unable to open project using IP instead of localhost Unable to open wisemapping using 2 different IP Jul 18, 2024
@veigap
Copy link
Contributor

veigap commented Jul 23, 2024

Hi !,
What version of the docker image are you using ?.

Regards
Paulo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants