Giter VIP home page Giter VIP logo

Comments (10)

phpmaps avatar phpmaps commented on June 26, 2024

@jnbaene looks like insights is unable to make the websocket connection. Might you be using VPN to connect to your portal ?

from insights-scripting-guide.

jnbaene avatar jnbaene commented on June 26, 2024

@phpmaps I'm connected from work, we're not using a VPN to make any connection.

from insights-scripting-guide.

phpmaps avatar phpmaps commented on June 26, 2024

@jnbaene your screen shot is helpful, but want to confirm what I see.

Did you open a web browser and load https:<machine.domain.com>:9999/api/kernelspecs or did that request come from Insights running in your Enterprise? Insights will make that kernelspecs call to identify what kernels are available for use.

The kernelgateway needs to be accessible on the same network as ArcGIS Enterprise, otherwise you will face connectivity issues.

Also, what web browser are you using when this happens?

from insights-scripting-guide.

jnbaene avatar jnbaene commented on June 26, 2024

@phpmaps the request came from Insights running in my company Portal.

When you mention that the kernel gateway needs to be accessible on the same network, it means that the Anaconda environment should be in a server comunicating with the server where the Enterprise is deployed? hence not my computer?

My Browser is Chrome

from insights-scripting-guide.

phpmaps avatar phpmaps commented on June 26, 2024

@jnbaene Yes, that is the case. To take advantage of Insights scripting in ArcGIS Enterprise the Portal and Jupyter Kernel Gateway and your web browser all need to be networked together (aka on the same domain). This is because all 3 components send and receive commands, messages and data.

If for some reason one piece is not on the same network, scripting will not work and my suggestion would be to use Insights Desktop for Windows or Mac.

Per your last message, it sounds like your Jupyter Gateway is located on a different network / domain....that won't work. Let me know if networking might be the problem.... If it is the problem, I think we should improve the documentation, so the steps are clear and folks choose the working alternative which would Insights Desktop.

from insights-scripting-guide.

jnbaene avatar jnbaene commented on June 26, 2024

@phpmaps Ok perfect I understand what you mean. I am not really experienced in setting up networks, servers, ArcGIS Enterprise setup, etc., so I have another question, is there a way in which I can put my laptop on the same network of the Enterprise installation?

From your explanation it’s clear that the problem is that my Jupyter Gateway is installed on my laptop, so its unable to communicate with the Enterprise Installation. Improving documentation will be very appreciated, because as it is today is not clear the differences of how the communication works between the Jupyter Gateway and the Insights Installation, and I know of clients having troubles with setting up scripting on Enterprise and this could be an issue.

from insights-scripting-guide.

phpmaps avatar phpmaps commented on June 26, 2024

@jnbaene - In Windows it's pretty easy, https://docs.microsoft.com/en-us/windows-server/identity/ad-fs/deployment/join-a-computer-to-a-domain on Mac this may be useful - https://www.pluralsight.com/blog/tutorials/join-mac-to-windows-domain

Usually an IT / Network Admin handles adding / removing machines to a domain. Thanks for reaching out.

from insights-scripting-guide.

jnbaene avatar jnbaene commented on June 26, 2024

@phpmaps Thank you for the information!
I was checking the documentation to connect my laptop to the domain where the Enterprise installation is deployed, but I've just learned that it is installed on an Azure Cloude Server, in this case it'll work in the same way? or there is aditional set up required ?

from insights-scripting-guide.

phpmaps avatar phpmaps commented on June 26, 2024

@jnbaene - Here are some options to consider.

  1. Hosting both ArcGIS Enterprise and the Jupyter Kernal Gateway in Azure, then using an Azure security group to restrict IP access to these resources
  2. Hosting ArcGIS Enterprise in Azure, and then deploying the Jupyter Kernal Gateway or Anaconda on the same machine / IP as the web browser or Insights Desktop

from insights-scripting-guide.

applecool avatar applecool commented on June 26, 2024

Closing this issue as there has been no further conversation. Please feel free to re-open if the issue still exists.

from insights-scripting-guide.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.