Closed fooflare closed 9 years ago
I am sorry, I close this issue... It was the cache, my bad. I should have checked it before opening the issue.
Yeah, this is an issue with cowboy being run after inets, with static files cached by inets.
It's something I haven't really taken the time to try and fix.
Jesse Gumm Owner, Sigma Star Systems 414.940.4866 || sigma-star.com || @jessegumm On Oct 30, 2014 4:37 AM, "fooflare" notifications@github.com wrote:
I am sorry, I close this issue... It was a cache, my bad. I am sorry, I should have checked it before opening the issue.
— Reply to this email directly or view it on GitHub https://github.com/nitrogen/simple_bridge/issues/39#issuecomment-61065652 .
Here I am again, I got this error with cowboy. Each time a page is loaded, I get 8 error blocks like this:
=ERROR REPORT==== 30-Oct-2014::10:20:49 === Error in process <0.3716.0> on node 'myapp2@127.0.0.1' with exit value: {function_clause,[{cowboy_http,quoted_string,[<<10 bytes>>,#Fun],[{file,"src/cowboy_http.erl"},{line,670}]},{cowboy_http,nonempty_list,2,[{file,"src/cowboy_http.erl"},{line,49}]},{cowboy_req,parse_header,4,[{file,"src/cowboy_req.erl"},{line...
=ERROR REPORT==== 30-Oct-2014::10:20:49 === Ranch listener http had connection process started with cowboy_protocol:start_link/4 at <0.3716.0> exit with reason: {function_clause,[{cowboy_http,quoted_string,[<<"jKfJpi1707">>,#Fun],[{file,"src/cowboy_http.erl"},{line,670}]},{cowboy_http,nonempty_list,2,[{file,"src/cowboy_http.erl"},{line,49}]},{cowboy_req,parse_header,4,[{file,"src/cowboy_req.erl"},{line,412}]},{cowboy_rest,if_none_match_exists,2,[{file,"src/cowboy_rest.erl"},{line,576}]},{cowboy_protocol,execute,4,[{file,"src/cowboy_protocol.erl"},{line,435}]}]}
I think is a problem serving js and css files because the page is shown like if these files were not loaded. The strange thing is that in firebug, they appear in the html tab but it seems they are loaded after the html of the page:
Firebug error: ReferenceError: Nitrogen is not defined
what is impossible because if nitrogen.min.js was loaded, Nitrogen should be defined.