Comments (10)
@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.
@phpmaps I'm connected from work, we're not using a VPN to make any connection.
from insights-scripting-guide.
@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.
@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.
@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.
@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.
@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.
@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.
@jnbaene - Here are some options to consider.
- Hosting both ArcGIS Enterprise and the Jupyter Kernal Gateway in Azure, then using an Azure security group to restrict IP access to these resources
- 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.
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)
- cannot run the sample 'drag-n-drop-charting' HOT 2
- cannot setup the gateway - error installing rpy2 with conda HOT 1
- The ubuntu container won't handle windows authentication HOT 2
- Support for Plotly charts in R HOT 1
- Setup Scripting Environment to Connect via ArcGIS Pro Python Installation HOT 1
- Unable to use Insights data or bring in data from Jupyter Kernel Gateway to Insights HOT 3
- WebSocket connection failed: Error during WebSocket handshake HOT 1
- insights-2022.yml file takes a long time to complete HOT 1
- the latest jupyter gateway 2.4.0 does not work with Insights HOT 1
- NameError: name '__get_column_types' is not defined HOT 11
- Kernel not starting, localhost HOT 1
- Graph labeling problems HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from insights-scripting-guide.