Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
lamina.core.graph.propagator: error in aleph.http.core/expand-writes
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
thenwithexpandedwingshest eershisflight  
View profile  
 More options Jun 19 2012, 9:40 pm
From: thenwithexpandedwingshesteershisflight <mathn...@gmail.com>
Date: Tue, 19 Jun 2012 18:40:48 -0700 (PDT)
Local: Tues, Jun 19 2012 9:40 pm
Subject: lamina.core.graph.propagator: error in aleph.http.core/expand-writes

when I first connect to my website my server throws
https://gist.github.com/2957594 .also happens when my browser refreshes the
page


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zach Tellman  
View profile  
 More options Jun 19 2012, 10:00 pm
From: Zach Tellman <ztell...@gmail.com>
Date: Tue, 19 Jun 2012 19:00:37 -0700
Local: Tues, Jun 19 2012 10:00 pm
Subject: Re: lamina.core.graph.propagator: error in aleph.http.core/expand-writes
It looks like your response map doesn't have a :status key.

On Tue, Jun 19, 2012 at 6:40 PM,


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
thenwithexpandedwingshest eershisflight  
View profile  
 More options Jun 20 2012, 9:31 pm
From: thenwithexpandedwingshesteershisflight <mathn...@gmail.com>
Date: Wed, 20 Jun 2012 18:31:46 -0700 (PDT)
Local: Wed, Jun 20 2012 9:31 pm
Subject: Re: lamina.core.graph.propagator: error in aleph.http.core/expand-writes

excuse my ignorance but how do I fix that ?

also I'm getting

java.net.ConnectException: Connection refused
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
    at
org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.connect (NioClientSocketPipelineSink.java:407)
    at
org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.process SelectedKeys(NioClientSocketPipelineSink.java:369)
    at
org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(Nio ClientSocketPipelineSink.java:285)
    at
org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java :102)
    at
org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker .java:42)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.j ava:886)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java: 908)
    at java.lang.Thread.run(Thread.java:662)

when I start the server


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zach Tellman  
View profile  
 More options Jun 22 2012, 6:56 pm
From: Zach Tellman <ztell...@gmail.com>
Date: Fri, 22 Jun 2012 15:56:23 -0700
Local: Fri, Jun 22 2012 6:56 pm
Subject: Re: lamina.core.graph.propagator: error in aleph.http.core/expand-writes
What does your HTTP response look like?  The Ring spec specifies that
it should at least be something like {:status 200}, with optional
:headers and :body keys.  Your stack trace seems to indicate there is
no :status key.

As to the other exception, that seems to be from a client trying to
connect to an address.  You say this is happening when you start up a
server?

Zach

On Wed, Jun 20, 2012 at 6:31 PM,


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
thenwithexpandedwingshest eershisflight  
View profile  
 More options Jun 25 2012, 12:56 am
From: thenwithexpandedwingshesteershisflight <mathn...@gmail.com>
Date: Sun, 24 Jun 2012 21:56:01 -0700 (PDT)
Local: Mon, Jun 25 2012 12:56 am
Subject: Re: lamina.core.graph.propagator: error in aleph.http.core/expand-writes

On Saturday, June 23, 2012 8:56:23 AM UTC+10, ztellman wrote:

> What does your HTTP response look like?  The Ring spec specifies that
> it should at least be something like {:status 200}, with optional
> :headers and :body keys.  Your stack trace seems to indicate there is
> no :status key.

oddly, while trying to reproduce the error, which was occuring even when I
switched tabs back and forth between my site and a random other tab, it's
just gone away! suddenly just works.

> As to the other exception, that seems to be from a client trying to
> connect to an address.  You say this is happening when you start up a
> server?

yes it happens when I first start the webserver with:

(defn start-webserver* []
  (start-http-server
    (->
      paths/the-paths
      (handler/site)
      (wrap-file    "./public")
      (wrap-file-info)
      (wrap-stacktrace)
      (wrap-ring-handler)
    )
    {:port 8080 :websocket true :thread-pool {}}
  )
)

- code may be out-of-date


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Bostrom  
View profile  
 More options Sep 10 2012, 12:43 pm
From: Paul Bostrom <pbost...@gmail.com>
Date: Mon, 10 Sep 2012 09:43:05 -0700 (PDT)
Local: Mon, Sep 10 2012 12:43 pm
Subject: Re: lamina.core.graph.propagator: error in aleph.http.core/expand-writes

I was trying to put together an app that uses aleph and compojure together
and I am seeing this same stack trace. The routes actually get loaded by
the browser successfully with a 200 response, but the stacktrace gets
printed out on every reload. I defined 2 compojure routes, one that returns
a string, and one that explicitly returns a {:status :headers :body} map.
Both generate the stacktrace.
I created a github project with a minimal test case to reproduce it:
https://github.com/pbostrom/aleph-npe
The relevant files are these:
https://github.com/pbostrom/aleph-npe/blob/master/project.clj
https://github.com/pbostrom/aleph-npe/blob/master/src/npe/core.clj
https://github.com/pbostrom/aleph-npe/blob/master/stacktrace


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zach Tellman  
View profile  
 More options Sep 10 2012, 6:54 pm
From: Zach Tellman <ztell...@gmail.com>
Date: Mon, 10 Sep 2012 15:54:47 -0700
Local: Mon, Sep 10 2012 6:54 pm
Subject: Re: lamina.core.graph.propagator: error in aleph.http.core/expand-writes
When I run your server, and "curl localhost:8080/foo" or "curl
localhost:8080/bar", I get a response.  When curling some other URL, I
get the error you post.  Typically, at the bottom of a defroutes, you
have a (compojure.route/not-found "message"), because otherwise the
handler will just return nil, which throws the that error.

I'll add in some more friendly error messages when the HTTP response
isn't valid, but I don't think there's anything wrong here.  Please
let me know if I've misunderstood something.

Zach


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Bostrom  
View profile  
 More options Sep 10 2012, 7:19 pm
From: Paul Bostrom <pbost...@gmail.com>
Date: Mon, 10 Sep 2012 16:19:49 -0700 (PDT)
Local: Mon, Sep 10 2012 7:19 pm
Subject: Re: lamina.core.graph.propagator: error in aleph.http.core/expand-writes

Weird, apparently it only happens in Chrome (v. 21). I wonder if Chrome is
requesting some other URL in the background as part of its request for foo
or bar. Firefox behaves just like curl, which is the expected behavior.
Well, thanks for pointing me in the right direction.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marc Haemmerle  
View profile  
 More options Sep 11 2012, 4:24 am
From: Marc Haemmerle <vonhan...@gmail.com>
Date: Tue, 11 Sep 2012 01:24:22 -0700 (PDT)
Local: Tues, Sep 11 2012 4:24 am
Subject: Re: lamina.core.graph.propagator: error in aleph.http.core/expand-writes

Chrome is probably trying to fetch the favicon (like most of the browsers).
It could also be an issue if Chrome is probing the url in it's type-ahead..


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »