Questions tagged [connect]

DO NOT USE! This tag is being burninated: https://meta.stackoverflow.com/q/418968/6296561

800 questions
2
votes
2 answers

pymssql.connect error - unexpected keyword argument 'server'

I'm trying to run a program I've made but am having issues. It's stating there is an error on line 8? It was working the other day and I'm not sure if it has been changed. Is this an connection error to the database perhaps?? import RPi.GPIO as…
2
votes
1 answer

How can I debug a request to a Connect server built through Grunt?

I have a grunt task that builds a connect server, and connections to it are hanging. I want to know how to go about debugging this connection. It starts up the server without throwing errors, so I don't get them in my terminal window where I'm…
Damon
  • 10,493
  • 16
  • 86
  • 144
2
votes
1 answer

Failure sending mail, unable to connect to the remote server

I have been working on a project that involves sending emails, I finally got it to work but after a few days of not using my system, I tried running the code again and I was getting the "unable to connect to the remote server" error. Please can…
Rotimi Odu
  • 21
  • 1
  • 2
2
votes
1 answer

Cancel connection is boost::asio

From the standard SSL client example. Say I call this function. boost::asio::async_connect(socket_.lowest_layer(), endpoint_iterator, boost::bind(&SSLClient::handle_connect, this, …
The Quantum Physicist
  • 24,987
  • 19
  • 103
  • 189
2
votes
1 answer

"mongo" command fails to connect

I am trying to install MangoDB. I have already installed the log and configure files. When I run mongo command in mongodb/bin directory, I receive the error messages: mongo MongoDB shell version: 3.0.4, connecting to: test W NETWORK Failed to…
Brian
  • 448
  • 2
  • 6
  • 18
2
votes
3 answers

Why is ::connect() returning EHOSTUNREACH when ssh works fine?

I am calling ::connect() on a special application port in my application and it works fine in general, however, between two particular machines, from one to the other, it fails with EHOSTUNREACH which means "No route to host." If I can ssh on port…
WilliamKF
  • 41,123
  • 68
  • 193
  • 295
2
votes
1 answer

HTTP CONNECT method with Android

I want to extend an existing Android app which sets up a http connection to a remote device which it sends commands to and receives values from. The feature consists of a tunneled connection via a custom proxy server that has been set up. I have the…
mgr
  • 51
  • 7
2
votes
1 answer

PostgreSQL public access to database

I recently created a test database but I would like it to be accessible to all users. I created the database as user postgres then use the command GRANT ALL ON DATABASE dbname TO public; But when I log out and try to connect to it with a different…
TheLovelySausage
  • 3,838
  • 15
  • 56
  • 106
2
votes
2 answers

c++ socket connect not working when not using ip

I am trying to connect to my Java server with my C++ client through a dns. So when I type the dns name instead of my localip, It won't connect. Code: NOT WORK sockaddr_in addr; addr.sin_family = AF_INET; addr.sin_addr.s_addr =…
Johan
  • 475
  • 4
  • 17
2
votes
3 answers

Tuning socket connect call timeout

Is there any way in a Win32 environment to "tune" the timeout on a socket connect() call? Specifically, I would like to increase the timeout length. The sockets in use are non-blocking. Thanks!
Brian
  • 3,457
  • 4
  • 31
  • 41
2
votes
1 answer

User permission to pair with Bluetooth device

I was reading "Performing Common Central Role Tasks" and it has info on how to discover peripheral and how to connect to peripheral, but I cant seem to find how to check if user selected Cancel or Pair on the popup because the popup comes when I…
Spire
  • 1,055
  • 2
  • 17
  • 47
2
votes
1 answer

Handle database error when using connect-mongo

I've got a fairly standard connect-mongo setup mongoose is initialised / connected prior to this app.use(express.session({ secret: "sfdgsdgsdfg", store: new MongoSessionStore({db: mongoose.connection.db}) })); This works fine. However…
Alex
  • 37,502
  • 51
  • 204
  • 332
2
votes
2 answers

Node.js Express + Passport + Cookie Sessions n > 1 servers

From the Passport docs: In a typical web application, the credentials used to authenticate a user will only be transmitted during the login request. If authentication succeeds, a session will be established and maintained via a cookie set in…
user375566
2
votes
2 answers

Cannot find module 'connect' on windows 7

Please see below: C:\Program Files\nodejs>npm -g install connect npm http GET https://registry.npmjs.org/connect npm http GET https://registry.npmjs.org/connect npm http GET https://registry.npmjs.org/connect npm http GET…
WinFXGuy
  • 1,527
  • 7
  • 26
  • 47
2
votes
1 answer

Sailsjs 0.10.3 - Heroku - RedisToGo - req.session undefined

When using sailsjs v0.10.3 with Redis To Go for session storage, req.session is always undefined. It is undefined when I deploy both locally and to Heroku. req.session is correctly defined when I use the default memory adapter. I created a sailsjs…
dbasch
  • 1,698
  • 1
  • 15
  • 31