yurimarx / global-mindmap

Mindmap app using InterSystems IRIS globals
MIT License
1 stars 1 forks source link

mindmap demo with InterSystems IRIS #1

Closed dkutac closed 2 years ago

dkutac commented 2 years ago

Yuri, tried to install and run your project, but browser shoed just empty page when navigated to http://ipaddress:3000 page

here is part of docker-compose log Step 4/6 : RUN npm install ---> Running in 24c582c5b830 npm WARN deprecated source-map-resolve@0.6.0: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.

added 1441 packages, and audited 1442 packages in 26s

176 packages are looking for funding run npm fund for details

6 moderate severity vulnerabilities

To address all issues (including breaking changes), run: npm audit fix --force

Run npm audit for details. npm notice npm notice New minor version of npm available! 8.5.0 -> 8.6.0 npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.6.0 npm notice Run npm install -g npm@8.6.0 to update! npm notice Removing intermediate container 24c582c5b830 ---> 798023960af1 Step 5/6 : EXPOSE 3000 ---> Running in 92b4e328e9c3 Removing intermediate container 92b4e328e9c3 ---> 68b0a0f3c2bc Step 6/6 : CMD [ "npm", "start" ] ---> Running in 1078ee759d66 Removing intermediate container 1078ee759d66 ---> aa271a0b7849 Successfully built aa271a0b7849 Successfully tagged global-mindmap_frontend:latest Creating global-mindmap_iris_1 ... done Creating frontend ... done root@u4docker:/home/kutac/global-mindmap# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES e287781748e6 global-mindmap_iris "/tini -- /iris-main" 3 minutes ago Up 3 minutes (unhealthy) 0.0.0.0:1972->1972/tcp, :::1972->1972/tcp, 0.0.0.0:52773->52773/tcp, :::52773->52773/tcp, 2188/tcp, 0.0.0.0:53773->53773/tcp, :::53773->53773/tcp, 54773/tcp global-mindmap_iris_1 1dfb0ea02000 global-mindmap_frontend "docker-entrypoint.s…" 3 minutes ago Up 3 minutes 0.0.0.0:3000->3000/tcp, :::3000->3000/tcp frontend

any idea?

yurimarx commented 2 years ago

try http://localhost:3000, not your ip address. Let me know if worked. If not, we can get meeting on discord to see the problem

dkutac commented 2 years ago

Well, I un a linux server, not desktop, so I can’t use localhost ip address

From: Yuri Marx Pereira Gomes @.> Sent: úterý 5. dubna 2022 15:10 To: yurimarx/global-mindmap @.> Cc: Daniel Kutac @.>; Author @.> Subject: Re: [yurimarx/global-mindmap] mindmap demo with InterSystems IRIS (Issue #1)

try http://localhost:3000, not your ip address.

— Reply to this email directly, view it on GitHubhttps://github.com/yurimarx/global-mindmap/issues/1#issuecomment-1088684501, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACOLPD6N7MJWPTHWWOMTE23VDQ3TFANCNFSM5SSSPGNQ. You are receiving this because you authored the thread.Message ID: @.**@.>>

yurimarx commented 2 years ago

Do you have discord user on InterSystems Discord channel?

dkutac commented 2 years ago

Unfortunately not

From: Yuri Marx Pereira Gomes @.> Sent: úterý 5. dubna 2022 15:56 To: yurimarx/global-mindmap @.> Cc: Daniel Kutac @.>; Author @.> Subject: Re: [yurimarx/global-mindmap] mindmap demo with InterSystems IRIS (Issue #1)

Do you have discord user on InterSystems Discord channel?

— Reply to this email directly, view it on GitHubhttps://github.com/yurimarx/global-mindmap/issues/1#issuecomment-1088736577, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACOLPDZGZY7XEOUKTBE2U7TVDRBADANCNFSM5SSSPGNQ. You are receiving this because you authored the thread.Message ID: @.**@.>>

yurimarx commented 2 years ago

I found the error and fixed on my source code. The code was localhost dependent, I fixed it. Please, do: 1 - git pull, 2 - docker build, 3 - docker up -d, 4 - http://yourip:3000. Thanks!

dkutac commented 2 years ago

Ok, thanks for hints. I’ll give it a try, but need to do other stuff now.

Dan

From: Yuri Marx Pereira Gomes @.> Sent: úterý 5. dubna 2022 16:07 To: yurimarx/global-mindmap @.> Cc: Daniel Kutac @.>; Author @.> Subject: Re: [yurimarx/global-mindmap] mindmap demo with InterSystems IRIS (Issue #1)

Your linux server firewall can be blocking the IRIS port. You can use your ip, I tested here and works. To test if is firewall blocking call http://yourip:52773/global-mindmap/hasContent and see if returns 0 or 1 as content. Other problem can be your browser blocking http address, because the app is not https. To see it, on your browser, see your network traffic and the console messages.

— Reply to this email directly, view it on GitHubhttps://github.com/yurimarx/global-mindmap/issues/1#issuecomment-1088748798, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACOLPDZ724NZDXFXJTXTCGLVDRCGPANCNFSM5SSSPGNQ. You are receiving this because you authored the thread.Message ID: @.**@.>>

yurimarx commented 2 years ago

I found the error and fixed on my source code. The code was localhost dependent, I fixed it. Please, do: 1 - git pull, 2 - docker build, 3 - docker up -d, 4 - http://yourip:3000/. Thanks!