Comments (5)
Hi Jim, can you use the older version for now? That has encryption support
that isn't mergered into pylabrad yet.
Matthew: should we make the default 'optional' until we get everything
supported?
Evan
On Oct 2, 2015 6:08 PM, "Jim Wenner" [email protected] wrote:
@maffoo https://github.com/maffoo, @ejeffrey
https://github.com/ejeffrey: When I try to connect to a computer
(rottmayer in the example below) running scalabrad-0.5.0 from bintray, I
get a message "Expected STARTTLS". Is there something I should be doing (in
which case documentation is needed) or is this a bug? Note that I'm running
current pylabrad master.Full traceback as follows:
Python 2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)]
Type "copyright", "credits" or "license" for more information.IPython 2.1.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.In [1]: import labrad
In [2]: cxn=labrad.connect(host='rottmayer')
Error Traceback (most recent call last)
in ()
----> 1 cxn=labrad.connect(host='rottmayer')C:\Code\pylabrad\labrad__init__.pyc in connect(host, port, name, *_kw)
26 def connect(host=constants.MANAGER_HOST, port=constants.MANAGER_PORT, na
me=None, *_kw):
27 """Create a client connection to the labrad manager."""
---> 28 cxn = backend.connect(host=host, port=port, name=name, **kw)
29 return client.Client(cxn)
30C:\Code\pylabrad\labrad\backend.pyc in connect(host, port, name, backend, *_kw)
419 backend = 'asyncore'
420 cxn = backendsbackend
--> 421 cxn.connect(host, port, *_kw)
422 return cxn
423C:\Code\pylabrad\labrad\backend.pyc in connect(self, host, port, timeout, passwo
rd)
33 self.host = host
34 self.port = port
---> 35 self.ID = self._connect(password, timeout)
36 self.connected = True
37C:\Code\pylabrad\labrad\backend.pyc in _connect(self, password, _timeout)
62 def _connect(self, password, _timeout):
63 startReactor()
---> 64 self.cxn = self.call(getConnection, self.host, self.port, self.name, password).wait()
65 return self.cxn.ID
66C:\Code\pylabrad\labrad\backend.pyc in wait(self)
396 # If any Future in the queue fails,
397 # we immediately bail.
--> 398 result.raiseException()
399 else:
400 for func, args, kw in f.callbacks:C:\Python279\lib\site-packages\twisted\python\failure.pyc in raiseException(self
)Error: (2) Expected STARTTLS [payload=None]
In [3]:
—
Reply to this email directly or view it on GitHub
#36.
from scalabrad.
@jwenner, as @ejeffrey said, we have not yet merged tls support into
pylabrad. In the meantime you can start the manager with the option
--tls-required=false
to allow older clients to connect. We'll need to
enable this for a while until all the clients are updated, including
getting suitable replacements for the Delphi tools.
I'm glad you're trying out the latest stuff. Where are you running this?
On Fri, Oct 2, 2015, 18:31 ejeffrey [email protected] wrote:
Hi Jim, can you use the older version for now? That has encryption support
that isn't mergered into pylabrad yet.Matthew: should we make the default 'optional' until we get everything
supported?Evan
On Oct 2, 2015 6:08 PM, "Jim Wenner" [email protected] wrote:@maffoo https://github.com/maffoo, @ejeffrey
https://github.com/ejeffrey: When I try to connect to a computer
(rottmayer in the example below) running scalabrad-0.5.0 from bintray, I
get a message "Expected STARTTLS". Is there something I should be doing
(in
which case documentation is needed) or is this a bug? Note that I'm
running
current pylabrad master.Full traceback as follows:
Python 2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)]
Type "copyright", "credits" or "license" for more information.IPython 2.1.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.In [1]: import labrad
In [2]: cxn=labrad.connect(host='rottmayer')
Error Traceback (most recent call last)
in ()
----> 1 cxn=labrad.connect(host='rottmayer')C:\Code\pylabrad\labrad__init__.pyc in connect(host, port, name, *_kw)
26 def connect(host=constants.MANAGER_HOST, port=constants.MANAGER_PORT,
na
me=None, *_kw):
27 """Create a client connection to the labrad manager."""
---> 28 cxn = backend.connect(host=host, port=port, name=name, **kw)
29 return client.Client(cxn)
30C:\Code\pylabrad\labrad\backend.pyc in connect(host, port, name,
backend, *_kw)
419 backend = 'asyncore'
420 cxn = backendsbackend
--> 421 cxn.connect(host, port, *_kw)
422 return cxn
423C:\Code\pylabrad\labrad\backend.pyc in connect(self, host, port,
timeout, passwo
rd)
33 self.host = host
34 self.port = port
---> 35 self.ID = self._connect(password, timeout)
36 self.connected = True
37C:\Code\pylabrad\labrad\backend.pyc in _connect(self, password, _timeout)
62 def _connect(self, password, _timeout):
63 startReactor()
---> 64 self.cxn = self.call(getConnection, self.host, self.port,
self.name, password).wait()
65 return self.cxn.ID
66C:\Code\pylabrad\labrad\backend.pyc in wait(self)
396 # If any Future in the queue fails,
397 # we immediately bail.
--> 398 result.raiseException()
399 else:
400 for func, args, kw in f.callbacks:C:\Python279\lib\site-packages\twisted\python\failure.pyc in
raiseException(self
)Error: (2) Expected STARTTLS [payload=None]
In [3]:
—
Reply to this email directly or view it on GitHub
#36.—
Reply to this email directly or view it on GitHub
#36 (comment).
from scalabrad.
Thanks! With the --tls-required=false
option and scalabrad-0.5.0, I can connect from other computers. However, I still get the INFO messages as in #37 (but not as frequent). I thus followed your advice here and in #37 to downgrade to 0.4.1.
I'm running this on rottmayer (the DAC testing computer in the ADR lab) so that I can figure out the kinks in getting the new LabRAD stuff (w/ Direct Ethernet, Qubit Sequencer, Manager, etc.) running. This is so we can move to current setup on Ivan (Dry DR) as soon as Anthony/Andrew start warming it up (likely early next week). Anything else I should know?
from scalabrad.
Maybe we can make an SSL proxy / wrapper to let the registry editor /
grapher function until the replacements are complete.
On Oct 2, 2015 7:07 PM, "Matthew Neeley" [email protected] wrote:
@jwenner, as @ejeffrey said, we have not yet merged tls support into
pylabrad. In the meantime you can start the manager with the option
--tls-required=false
to allow older clients to connect. We'll need to
enable this for a while until all the clients are updated, including
getting suitable replacements for the Delphi tools.I'm glad you're trying out the latest stuff. Where are you running this?
On Fri, Oct 2, 2015, 18:31 ejeffrey [email protected] wrote:
Hi Jim, can you use the older version for now? That has encryption
support
that isn't mergered into pylabrad yet.Matthew: should we make the default 'optional' until we get everything
supported?Evan
On Oct 2, 2015 6:08 PM, "Jim Wenner" [email protected] wrote:@maffoo https://github.com/maffoo, @ejeffrey
https://github.com/ejeffrey: When I try to connect to a computer
(rottmayer in the example below) running scalabrad-0.5.0 from bintray,
I
get a message "Expected STARTTLS". Is there something I should be doing
(in
which case documentation is needed) or is this a bug? Note that I'm
running
current pylabrad master.Full traceback as follows:
Python 2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit
(Intel)]
Type "copyright", "credits" or "license" for more information.IPython 2.1.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.In [1]: import labrad
In [2]: cxn=labrad.connect(host='rottmayer')
Error Traceback (most recent call last)
in ()
----> 1 cxn=labrad.connect(host='rottmayer')C:\Code\pylabrad\labrad__init__.pyc in connect(host, port, name, *_kw)
26 def connect(host=constants.MANAGER_HOST,
port=constants.MANAGER_PORT,
na
me=None, *_kw):
27 """Create a client connection to the labrad manager."""
---> 28 cxn = backend.connect(host=host, port=port, name=name, **kw)
29 return client.Client(cxn)
30C:\Code\pylabrad\labrad\backend.pyc in connect(host, port, name,
backend, *_kw)
419 backend = 'asyncore'
420 cxn = backendsbackend
--> 421 cxn.connect(host, port, *_kw)
422 return cxn
423C:\Code\pylabrad\labrad\backend.pyc in connect(self, host, port,
timeout, passwo
rd)
33 self.host = host
34 self.port = port
---> 35 self.ID = self._connect(password, timeout)
36 self.connected = True
37C:\Code\pylabrad\labrad\backend.pyc in _connect(self, password,
_timeout)
62 def _connect(self, password, _timeout):
63 startReactor()
---> 64 self.cxn = self.call(getConnection, self.host, self.port,
self.name, password).wait()
65 return self.cxn.ID
66C:\Code\pylabrad\labrad\backend.pyc in wait(self)
396 # If any Future in the queue fails,
397 # we immediately bail.
--> 398 result.raiseException()
399 else:
400 for func, args, kw in f.callbacks:C:\Python279\lib\site-packages\twisted\python\failure.pyc in
raiseException(self
)Error: (2) Expected STARTTLS [payload=None]
In [3]:
—
Reply to this email directly or view it on GitHub
#36.—
Reply to this email directly or view it on GitHub
#36 (comment).—
Reply to this email directly or view it on GitHub
#36 (comment).
from scalabrad.
@jwenner, I don't think there's anything else you need to know, but please keep me in the loop as you're updating Ivan. I think the manager and servers on that fridge are reasonably current, it's the client code that people have been using on that fridge that is going to need a lot of work to bring up to date.
from scalabrad.
Related Issues (20)
- Noticed a typo in labrad.bat that prevents execution. HOT 3
- scalabrad on raspberry pi HOT 1
- Broken link in binary download HOT 1
- Need way to kill server/client connection HOT 3
- Need better information on manager connection list HOT 2
- how to compile the scala project? HOT 2
- Registry changes do not always save
- Connection.newContext returns default context on first call
- Occasional NPE in tests when Listener fails to start
- Auth server gives nonsense error when trying to change settings from non-local manager
- Error message with "server already connected" when it's not connected
- Memory leak when multiheaded servers fail to connect
- Node can sometimes lose track of processes HOT 1
- Human readable version of sqlite Registry blob data HOT 2
- java 8 missing error message unclear HOT 2
- LabRAD upgrade issue: directory .dir extension, can one avoid it? HOT 1
- LabRAD upgrade issue: labrad-migrate-registry doesn't work with string HOT 6
- LabRAD manager fails to start when pointed to the old registry (and a funny workaround) HOT 3
- trouble starting labrad manager HOT 1
- labrad manager shutting down HOT 1
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 scalabrad.