MID Server in a private network
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-23-2009 08:30 PM
Hi,
I have a test environment using private IP 10.x.x.x and has an internet connection. I have tried to setup a MID server in this environment to connect to our demo instance. I can use the browser in this machine to access https://our_instance.service-now.com so there is no network issue in this lab machine. I have config the MID server in our instance and used the same MID server name in the config.xml. I have also configured the required username/password into config.xml. The only error in the agent log says "SEVERE .... Unable to connect to instance ....". I followed the installation procedure in the wiki, did I miss something?
Thanks in advance.
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-23-2009 08:45 PM
Ensure that you can connect out of your network to your instance on port 443 ... From your midserver host, open a command prompt and see if you can telnet to your instance ...
c:/ telnet instancename.service-now.com 443
If you cannot connect then SN cannot connect... are there proxies involved, webwashers?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-24-2009 03:57 PM
Yes, I can telnet to 443, ping and web to the instance from this machine, no proxy. This is what I did:
1) Created new MID server in the MID Server application
2) Downloaded MID Server zip file
3) unzipped as per instructions
4) edited config.xml to set my values into url, mid.instance.username, mid.instance.password and name of the mid server.
5) start.bat, windows services and remaining steps as per documentation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-24-2009 04:03 PM
What does the /agent/logs/agent0.log0 say?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-24-2009 04:08 PM
12/25/09 08:02:32 (578) WrapperStartStopAppMain Running under Java version: 1.6.0_14, java PID: 2132, args: start
12/25/09 08:02:32 (593) WrapperStartStopAppMain Starting MID server
12/25/09 08:02:32 (812) MIDServer Using configuration: C:\Program Files\Service Now\MIDSH001\agent\config.xml
12/25/09 08:02:32 (953) MIDServer Loaded credentials provider: com.service_now.mid.creds.standard.StandardCredentialsProvider
12/25/09 08:02:32 (953) MIDServer Setting basic authentication with user MIDSH001
12/25/09 08:02:32 (953) MIDServer Using proxy host=null,port=null,user=null
12/25/09 08:02:33 (031) MIDServer MID Server starting
12/25/09 08:02:35 (875) MIDServer SEVERE *** ERROR *** Unable to connect to instance at https://datacraftasiademo.service-now.com/ (Index: 1, Size: 1)
12/25/09 08:02:35 (875) MIDServer stats threads: 8, memory max: 508.0mb, allocated: 10.0mb, used: 3.0mb, queued: -1 probes, processing: 0 probes
I have set the following and restarted mid server, why is it still using proxy?