WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-29-2014, 09:33 AM
Chris Coffin Chris Coffin is offline
WorldViz Team Member
 
Join Date: Jan 2010
Posts: 6
Currently, you can only have one running copy of the vizconnect interface at a time.

Vizconnect uses websockets to communicate between the configuration interface and the vizard application. This error is generated when something is bound to the port vizconnect is trying to use. Can you check if you have a running Vizard process in the background. You may need to check task manager to verify.

If you don't have another Vizard process running, it may mean that another application is using that port.

You can also copy the following code into a script and run it to verify that the port is being used, without needing to run vizconnect directly. If you change the value of the port to another random number e.g. 9523, does the error still appear?


Code:
import socket

# check to see if the web server has already been started by a previous version
s = socket.socket()
address = 'localhost'
port = 8080 # port number is a number, not string
activeSocket = True
try:
	s.connect((address, port)) 
except Exception, e:
	# good since we didn't connect, we can probably open socket
	activeSocket = False

if activeSocket:
	viz.logWarn('**Warning: Socket in use')
Reply With Quote
Reply

Tags
beta3, server, socket, vizconnect

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vizconnect ckharrison Vizard 3 02-17-2014 10:26 PM


All times are GMT -7. The time now is 12:43 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC