DO NOT USE! This tag is being burninated: https://meta.stackoverflow.com/q/418968/6296561
Questions tagged [connect]
800 questions
4
votes
2 answers
Can I configure connect-pg-simple to have SSL on?
I'm running a Postgres DB and a node app on Heroku. When I try to do
app.use(session({
store: new pgSession({
conString: process.env.DATABASE_URL
}),
secret: 'my-super-secret-session',
resave: false,
cookie: {
maxAge: 7 * 24 * 60 *…

Shamoon
- 41,293
- 91
- 306
- 570
4
votes
1 answer
AGAIN: read failed, socket might closed or timeout
I want pair my android device(android 4.2.2) to another android device that founded by BluetothAdapter.startDiscovery(). What I found when run BluetoothDevice.connect() request pairing start.
but I have problem to run connect() and I got
read…

user2326448
- 85
- 1
- 11
4
votes
2 answers
How to retrieve activities from Garmin Fenix3
I'd like to automatically import my activities from my Garmin Fenix3 into a database (without the need to manually download the TCX files). Two options came to my mind to solve this task:
A Server based app which gets connected to the Garmin…

Bitmaster
- 159
- 1
- 8
4
votes
1 answer
Erlang gen_server eaddrnotavail after 16358 gen_tcp:connect calls
I'm writing a server in Erlang and want to open a large number of connections. The problem is that I receive {error, eaddrnotavail} after 16358 gen_tcp:connect/3 calls. As you can see below, the server is pretty simple.
I modified my MacOS Yosemite…

Ștefan Stan
- 223
- 1
- 7
4
votes
2 answers
How to connect to windows server 2012 from windows 8.1
I am completely new to this challenge. The scenario is :
I have create two virtual machines on Microsoft Azure. First VM is Windows Server 2012 R2 and second VM is Windows 8.1
I have configured a domain controller on Windows Server. I want to…

Saurabh Deshpande
- 1,153
- 4
- 18
- 35
4
votes
2 answers
Applying gzip compression to files served by grunt-contrib-connect
It's pretty simple: I want to simulate the page-size of my website using grunt-contrib-connect before I deploy the site onto Apache.
With Apache, it's pretty straight-forward to turn on gzip-compression. However, with grunt-contrib-connect, I…

uglow
- 211
- 2
- 5
4
votes
5 answers
HBase connection hangs at INFO zookeeper.ClientCnxn: Session establishment complete on server. How to connect further?
I simply cannot connect my client machine to HBase.
Client is running on Windows 8.
HBase on Fedora VM.
I've imported the following jars:
commons-configuration (commons-configuration-1.6.jar)
commons-lang (commons-lang-2.6.jar)
commons-logging…

Ree
- 863
- 2
- 18
- 38
4
votes
1 answer
QObject::connect in QRunnable - console
I create simple multi threading server:
Create server
If new connection create new QThreadpool - QRunnable
In runnable send message to client and wait request
If client was been disconnected runnable write qDebug and runnable quit.
server.h
class…
user2444842
4
votes
2 answers
How to use 'this' context in middleware
I wrote my own middleware as module for my purposes that looks like the following:
-- myMiddleware.js
module.exports = {
fn1: function (req, res, next) {
console.log('fn1');
next();
},
fn2: function (req, res, next) {
…

Erik
- 14,060
- 49
- 132
- 218
4
votes
1 answer
Connecting multiple devices in a Wifi Direct group
I have 3 devices (I call them device A,B, and C)and I want to connect them in a group.
I can do one-to-one connection now and it works fine.
However, while I am trying to connect the third device, the connection between the other two devices…

Tim Lin
- 41
- 1
- 3
4
votes
4 answers
How can I call a javascript function on client browser from NodeJS server side?
I'm programming on the NodeJS server side, I wish to call a javascript function on the client browser side. Hopefully I can call functions every now and then on the client browser side from the server side as if I an just calling the function on the…

Phil
- 46,436
- 33
- 110
- 175
4
votes
3 answers
How to deploy a reveal.js app to heroku?
I am trying to deploy a reveal.js application to Heroku. Reveal.js runs on node via grunt connect command. The app also requires ruby for compiling assets on-the-fly. Locally, I can run the app by using grunt serve.
Initially, because of compass…

Tommy Devol
- 155
- 1
- 6
4
votes
3 answers
C++ winsock connection refused when connecting to IPv4 address
I'm programming a server/client system using winsock2 and it works great when I connect the client to the server name or the server IPv6 address. However, when I use the server IPv4 address I get error "Connection refused" from the call to connect()…

sidezr
- 163
- 1
- 12
4
votes
1 answer
program crashing at .connect() on Android, not connecting
I been trying to figure this out for hours now. I've searched for answers, but I can't find an answer. I have never bothered to ask before and this is the first time I'm asking a question. Basically what I am doing is breaking up my coding for…

NERDx
- 43
- 1
- 3
4
votes
1 answer
How does Connect's session middleware's signed cookies work?
I would like an explanation on how the connect.sid cookies work in the Connect Node.js framework. I noticed that they are formated like,
s:hash.signature
I don't understand how the signature is used when the hash is more than capable of being used…

Sam
- 6,414
- 11
- 46
- 61