DO NOT USE! This tag is being burninated: https://meta.stackoverflow.com/q/418968/6296561
Questions tagged [connect]
800 questions
2
votes
2 answers
KrakenJS disable sessions
I am building an application with KrakenJS 1.0 and I do want to disable sessions.
In case you are wondering what I am doing that for: I really want to disable sessions for the sake of it. I do not want to have session handling. I do not want to have…

scravy
- 11,904
- 14
- 72
- 127
2
votes
1 answer
Why is timeout bad as a top level middleware?
The timeout middleware : https://github.com/expressjs/timeout#api seems useful to have to timeout for hanging http requests.
However the middleware documentation mentions it's bad to use it as a top-level middleware…

basarat
- 261,912
- 58
- 460
- 511
2
votes
1 answer
Handle HTTPS Request in Proxy Server by C# ( CONNECT Tunnel )
I'm trying to write a Home Proxy Server in C# and I almost succeeded but I have problem to handle HTTPS requests (CONNECT).
I don't know really how to handle this type of requests.
In my studies I realized that for this requests we must to connect…

Masoud Zohrabi
- 47
- 1
- 7
2
votes
1 answer
Output Shell Script Variable to HTML
Rather new to coding, looking for a little help with having a variable output to a local html file. Both script and html are on the same machine. Script pulls signal level from a modem and I would like to have that displayed to a local html loading…

Coder that Could
- 35
- 1
- 4
2
votes
1 answer
want to connect to dynamoDB, get AttributeError: 'module' object has no attribute 'connect_to_region'
Here is my simple code:
import boto.dynamodb
conn = boto.dynamodb.connect_to_region(
'us-east-1',
aws_access_key_id='....',
aws_secret_access_key='....')
print conn
and I get:
Traceback (most recent call last):
File "startMarch28.py",…

brendan8229
- 47
- 1
- 2
- 9
2
votes
1 answer
Is it bad practice to add a bunch of properties to request in Express or Connect?
For example, say you use winston for logging, and instead of having each middleware to require the logger, you may have one (upstream) middleware that adds it to the request object, so that other middleware can just do:
request.logger.log(...)
Is…

redben
- 5,578
- 5
- 47
- 63
2
votes
1 answer
Running Rendr Examples Results in HTTP 502 Error When Links Clicked
I have built and run Rendr's example apps on Ubuntu 13.10 using Node v0.8.6. When I click on the Repos or Users links, I get an HTTP 502 - Bad Gateway error, but when I refresh page (load from server) it works (200 - OK) and the repos or users are…

Peter
- 1,720
- 3
- 18
- 30
2
votes
1 answer
XBee and Arduino communication
I am in the middle of my project, and I am now trying to make a connection between two XBees, exactly like in this the YouTube video XBee Basics - Lesson 2 - Simple Chat Program Between Two XBees in AT Mode. I setup the network in the X-CTU first,…

user3153817
- 21
- 2
2
votes
1 answer
ConnectEx returns false and WSAGetLastError returns 0
this snippet is part of a function that should return true when a socket is connected (or connecting) or false if anything fails.
if(bind(socket_, reinterpret_cast(&any), sizeof any) < 0)
{
DWORD err = GetLastError();
…

user666412
- 528
- 8
- 18
2
votes
2 answers
How to integrate Wordpress with moodle 2.5
I'm trying to integrate wordpress with moodle 2.5 , what I want to do exactly is: I want that the users login in wordpress and from there they can link to moodle, also I'd like wordpress to use moodle's users. Is it possible? Anyone could help me…

Migua
- 575
- 1
- 10
- 17
2
votes
2 answers
Weird HWIOAuthBundle and twig error "No resource owner with name 'google'."
This error is fired by HWIOAuthBundle from the /login route:
An exception has been thrown during the rendering of a template ("No resource owner with name 'google'.") in HWIOAuthBundle:Connect:login.html.twig at line 8.
It's even not clear why it…

ChatCloud
- 1,152
- 2
- 8
- 22
2
votes
2 answers
Why am I getting a 404 error when connecting to a specific webpage using Jsoup?
I'm trying to get some video game data from Metacritic and I keep on getting a 404 error on this webpage:
http://www.metacritic.com/game/playstation-2/ico
The connect command is very basic:
Jsoup.connect(url).userAgent("Mozilla/5.0 (Windows NT 6.1)…

heisenbergman
- 1,459
- 4
- 16
- 33
2
votes
1 answer
Connect canvas with lines
I need to connect two canvas with a line to create a dynamic workflow.
I'll generate the canvas rectangle dynamic (amount of steps I have at DB) but I need to connect the steps with lines.
Anybody have some ideas?

user1681595
- 31
- 1
- 2
2
votes
2 answers
Connecting the dots in an image
I have the following image:
Is there a way to connect the dots (draw a line between them) using MATLAB? I tried plot by passing it the image, but didn't work.
Thanks.
UPDATE
The way I'm expecting to connect the dots is roughly as shown through the…

Simplicity
- 47,404
- 98
- 256
- 385
2
votes
1 answer
How do I call {express,connect}.bodyParser() from within middleware?
I have some custom middleware. In some of my handlers, I want to use req.body, but that only works if the user did
app.use(express.bodyParser());
I could always tell the user, "you must use express.bodyParser() first," but I prefer to be safe and…

deitch
- 14,019
- 14
- 68
- 96