{"id":5893,"date":"2014-04-08T01:52:01","date_gmt":"2014-04-08T01:52:01","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/08\/node-jssocket-ioappfogrelated-issues-collection-of-common-programming-errors\/"},"modified":"2014-04-08T01:52:01","modified_gmt":"2014-04-08T01:52:01","slug":"node-jssocket-ioappfogrelated-issues-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/08\/node-jssocket-ioappfogrelated-issues-collection-of-common-programming-errors\/","title":{"rendered":"node.js,socket.io,appfogRelated issues-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/8ac5d6aaf5d8a85e3976c8ea93c2df3f?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser787738<br \/>\njava android node.js sockets socket.io<br \/>\nI followed the fix in this post: Error connecting an Android Client to a socket server in NodeJSHad problem connect to socket server nodeJS but the problem is a fix, now the client connecting my log console of nodeJS throw me this:debug &#8211; client authorizedinfo &#8211; handshake authorized Qs-he8QJbJYA4zlAw2YnBut now I get the following errors, please help!02-04 18:34:03.288: W\/dalvikvm(2769): Unable to resolve superclass of Lio\/socket\/WebsocketTransport; (850) 02-04 18:34:03.288: W\/dalvikvm(2769): L<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/f78bb8dde52f12c7f7eb5e989f766cb8?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nGates VP<br \/>\nnode.js windows-7 socket.io npm windows-7-x64<br \/>\nI am new to Node and NPM. I am using Node v0.10.0 and when I run the npm install socket.io command I get the following error:C:\\Users\\USER\\AppData\\Roaming\\npm\\node_modules\\socket.io\\node_modules\\socket.io- client\\node_modules\\ws&gt;node &#8220;C:\\Users\\USER\\AppData\\Roaming\\npm\\node_modules\\npm\\ bin\\node-gyp-bin\\\\..\\..\\node_modules\\node-gyp\\bin\\node-gyp.js&#8221; rebuild C:\\Program Files (x86)\\MSBuild\\Microsoft.Cpp\\v4.0\\Microsoft.CppBuild.targets(29 7,5): warning MSB8003: Could not find WindowsSDKDir variabl<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/c0353399df74479d92d80ac3dca63a04?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nNevik Rehnel<br \/>\nnode.js heroku npm<br \/>\nI&#8217;m so baffled. I tried to push a change to heroku and all of a sudden it won&#8217;t update. The change was inside a string. Nothing weird programmy.Something similar happened once before, but I tried again a few minutes later and it just worked. Not so this time.I tried adding an npm engine to my package.json, and I tried adding the node_modules folder, but neither had an effect.Installing dependencies npm http GET https:\/\/registry.npmjs.org\/querystring npm http GET https:\/\/registry.npmjs.org\/mongoo<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d903a08f740f74d23c04ea9f87c37929?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser1335014<br \/>\nnode.js emacs swank-js<br \/>\nI tried to install swank-js on emacs (24) by following guides at https:\/\/github.com\/swank-js\/swank-js and http:\/\/www.idryman.org\/blog\/2013\/03\/23\/installing-swank-dot-js\/I then tried to validate the installation by:1) Starting swank-js: user@user-VirtualBox:~\/proj_dir$ swank-js\/usr\/local\/lib\/node_modules\/swank-js\/swank-handler.js:290this.context = Script.createContext();^ TypeError: Object function ContextifyScript() { [native code] } has no method &#8216;createContext&#8217;at new DefaultRemote (\/usr\/local\/<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/f9a026cbdc705b716003609e008f8c82?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ngaggina<br \/>\nnode.js heroku socket.io<br \/>\nI&#8217;m having some issues in compiling a socket.io app on heroku.Thats the app.js filevar app = require(&#8216;express&#8217;).createServer(), io = require(&#8216;socket.io&#8217;).listen(app.listen(process.env.PORT || 5000));app.get(&#8216;\/&#8217;, function (req, res) {res.sendfile(__dirname + &#8216;\/index.html&#8217;); });var users = [];io.configure(function () { io.set(&#8220;transports&#8221;, [&#8220;xhr-polling&#8221;]); io.set(&#8220;polling duration&#8221;, 10); });io.sockets.on(&#8216;connection&#8217;, function (socket) {socket.on(&#8216;message&#8217;,function(data,time,username){socket.bro<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/4f20b9dfebe3b24b3f0e0f37d2bd979c?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJames Billings<br \/>\nnode.js mongodb backbone.js<br \/>\nI&#8217;m building my first app using the above technologies. I&#8217;ve spent the last couple of weeks using Backbone and now I&#8217;m trying to build an api using express on node with mongo db. (note, I&#8217;m just using the native node mongo module at the moment.)When I fill my backbone collection with data from mongo, by default it comes with the _id field. Not a problem until I try and update the document in mongo. Backbone passes back the _id as a string and it should be a object id. Mongo fails the update beca<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/3875e53ee1752453e638e26bd0944192?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAsya Kamsky<br \/>\njavascript node.js mongodb express mongoose<br \/>\nI am developing a web application with Node.js and MongoDB\/Mongoose. Our most used Model, Record, has many subdocument arrays. Some of these, for instance, include &#8220;Comment&#8221;, &#8220;Bookings&#8221;, and &#8220;Subscribers&#8221;. In the client side application, whenever the user hits the &#8220;delete&#8221; button it fires off an AJAX request to the delete route for that specific comment. The problem I am running into is that, when many of these AJAX calls come in at once, Mongoose fails with a &#8220;Document not found&#8221; error on some<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/eaf44339b2b5ac5ae7a76d4628376575?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\njribeiro<br \/>\npostgresql node.js upsert pg<br \/>\nI&#8217;m trying to do an insert or update in a postgres database using node.js with pg extension (version 0.5.4).So far I have this code: (&#8230;)client.query({text: &#8220;update users set is_active = 0, ip = $1 where id=$2&#8221;,values: [ip,id]}, function(u_err, u_result){debug(socket_id,&#8221;update query result: &#8220;,u_result);debug(socket_id,&#8221;update query error: &#8220;,u_err);date_now = new Date();var month = date_now.getMonth() + 1;if(!u_err){client.query({text: &#8216;insert into users (id,first_name,last_name,is_active,ip,da<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/8c53934f19a8f69508259c1004cab65e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nmikrowelt<br \/>\nnode.js arduino firmata<br \/>\nI bought this range finder http:\/\/www.dfrobot.com\/wiki\/index.php\/URM37_V3.2_Ultrasonic_Sensor_(SKU:SEN0001)And now I&#8217;m having difficulties to make it work on nodeJS. My setup is Arduino UNO and nodeJs using &#8220;firmata&#8221; library.What have i tried: 1. I tested the Rangefinder with native Arduino IDE and it worked. 2. Then i wrote data to EEPROM from Arduino IDE(code exmaple below):int cmmd1[]={0x44,0x00,0x10,0x54};\/\/low byte stored in the sensor for the distance threshold. int cmmd2[]={0x44,0x01,0x00<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/07123541fba3343f9ddb5876595b99a7?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAlex<br \/>\njavascript c++ node.js<br \/>\nI have a node c++ addon that I am calling which is connecting to a database for me. It is using an internal c++ library for the connection and it is on one of this library&#8217;s calls that I get failure, this is the printed trace: before conn zsh: abort (core dumped) node test_connection.jsI can&#8217;t reveal all the inner workings of my class but just to make sense of the trace this is the line where it is failing: std::cout &lt;&lt; &#8220;before conn&#8221; &lt;&lt; std::endl; &lt;library&gt;ConnectionP<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/8ac5d6aaf5d8a85e3976c8ea93c2df3f?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser787738<br \/>\njava android node.js sockets socket.io<br \/>\nI followed the fix in this post: Error connecting an Android Client to a socket server in NodeJSHad problem connect to socket server nodeJS but the problem is a fix, now the client connecting my log console of nodeJS throw me this:debug &#8211; client authorizedinfo &#8211; handshake authorized Qs-he8QJbJYA4zlAw2YnBut now I get the following errors, please help!02-04 18:34:03.288: W\/dalvikvm(2769): Unable to resolve superclass of Lio\/socket\/WebsocketTransport; (850) 02-04 18:34:03.288: W\/dalvikvm(2769): L<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/f78bb8dde52f12c7f7eb5e989f766cb8?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nGates VP<br \/>\nnode.js windows-7 socket.io npm windows-7-x64<br \/>\nI am new to Node and NPM. I am using Node v0.10.0 and when I run the npm install socket.io command I get the following error:C:\\Users\\USER\\AppData\\Roaming\\npm\\node_modules\\socket.io\\node_modules\\socket.io- client\\node_modules\\ws&gt;node &#8220;C:\\Users\\USER\\AppData\\Roaming\\npm\\node_modules\\npm\\ bin\\node-gyp-bin\\\\..\\..\\node_modules\\node-gyp\\bin\\node-gyp.js&#8221; rebuild C:\\Program Files (x86)\\MSBuild\\Microsoft.Cpp\\v4.0\\Microsoft.CppBuild.targets(29 7,5): warning MSB8003: Could not find WindowsSDKDir variabl<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/f9a026cbdc705b716003609e008f8c82?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ngaggina<br \/>\nnode.js heroku socket.io<br \/>\nI&#8217;m having some issues in compiling a socket.io app on heroku.Thats the app.js filevar app = require(&#8216;express&#8217;).createServer(), io = require(&#8216;socket.io&#8217;).listen(app.listen(process.env.PORT || 5000));app.get(&#8216;\/&#8217;, function (req, res) {res.sendfile(__dirname + &#8216;\/index.html&#8217;); });var users = [];io.configure(function () { io.set(&#8220;transports&#8221;, [&#8220;xhr-polling&#8221;]); io.set(&#8220;polling duration&#8221;, 10); });io.sockets.on(&#8216;connection&#8217;, function (socket) {socket.on(&#8216;message&#8217;,function(data,time,username){socket.bro<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/97e4c3c79d57e4e9df2f78aaa5c39361?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nguypursey<br \/>\nlinux node.js express socket.io<br \/>\nI&#8217;ve just installed Node JS (v0.10.0) on a netbook running Linux Peppermint Three. I have a file to run which has the following at the top:var app = require(&#8216;express&#8217;).createServer(),io = require(&#8216;socket.io&#8217;).listen(app);app.listen(8080);\/\/ routing app.get(&#8216;\/&#8217;, function (req, res) {res.sendfile(__dirname + &#8216;\/index.html&#8217;); });The problem is that when I visit localhost:8080 I get the following:TypeError: Arguments to path.join must be stringsat path.js:360:15at Array.filter (native)at exports.join<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/9277337bf1e918653f5f9cedbceef485?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser1602245<br \/>\nwindows node.js socket.io nowjs<br \/>\nRunning on a Windows 7 Home Premium 64-bitsDownloaded:node.js (0.8.7-x64) as a windows msi from the official site make-3.81 from http:\/\/gnuwin32.sourceforge.net\/packages\/make.htm (Complete package, except sources) Microsoft visual Studio 2012 Express for webAnd then followed the steps at http:\/\/blog.nowjs.com\/running-nowjs-natively-on-windows, which implied on:installing the Microsoft Visual C++ Runtime (I got the x64 version) grabbing a &#8216;fixed-for-windows&#8217; version of now.js from github.com\/Flot<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/ae1518d6c56fb737657005fce4e878df?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nSilas Rosenkranz<br \/>\nnode.js socket.io<br \/>\nI have installed NodeJs and the module &#8216;express&#8217;. Now I want to istall socket.io, but it doesn&#8217;t work. I&#8217;ve tried differend NodeJS versions, but all installations failed.Here is the log: http:\/\/pastebin.com\/T8ZZRTMLHere is a screenshot: http:\/\/www10.pic-upload.de\/31.01.13\/ld98apo58e.jpg<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/13031dd66aaaf900e9a16bccbfd19326?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nILikeWater<br \/>\njava sockets io socket.io serversocket<br \/>\nI have a server program running on my laptop, same router and same code. It work&#8217;s fine and clients can connect. However when I copied the workspace to my PC and when I run it, I get this nonsense:IO error java.net.SocketException: select failedHere is the code&#8230;public static void main(String[] args) {System.out.println(&#8220;running server!&#8221;);int nreq = 1;try{ServerSocket sock = new ServerSocket(7331);for(;;){Socket newsock = sock.accept();System.out.println(&#8220;Creating thread&#8230;&#8221;);\/\/Thread t = new T<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/63d880b1c3b5e55b1ab210372d5013e1?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nSeeker<br \/>\nnode.js websocket socket.io<br \/>\nI am trying to install socket.io using npm on a beaglebone (linux angstrom)\/&gt; npm install socket.ioit worked great on older versions of node with older kernel. I am using node v0.6.18 now.There seems to be a problem when npm tring to install ws which is supposed to install with socket.ioI get the same error if I try:npm install ws &#8211;ws:verboseHere is the result:root@beaglebone:~# npm install ws &#8211;ws:verbose npm http GET https:\/\/registry.npmjs.org\/ws npm http 304 https:\/\/registry.npmjs.org\/ws npm<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/c0fdd404b69bd24b3dcd4c0cca1316fa?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser2547522<br \/>\njavascript node.js socket.io<br \/>\njs. Currently I have done several tests successfullyHello world server-client communication with events many roomsBut i can&#8217;t send the client, to the clients, i use socket.ioThe reason I want to do this, is to have a list of current clientsEDIT:I need to store information for each user in server sidei try usevar io = require(&#8216;socket.io&#8217;); var socket = io.listen(9876); socket.on(&#8216;connection&#8217;, function(client) {client.join(&#8216;room&#8217;); console.log(&#8216;new client &#8216; + client.toString());client.in(&#8216;room&#8217;).e<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/0fa3014e0f3920bee438e188935f0b94?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nCNCPTS<br \/>\njavascript node.js websocket socket.io<br \/>\nI have a tracking app built with Node that is accessed by other sites in our network. They will access the app thru the head of their html files like so:&lt;title&gt;Test&lt;\/title&gt; &lt;meta name=&#8221;generator&#8221; content=&#8221;TextMate http:\/\/macromates.com\/&#8221;&gt; &lt;script src=&#8221;http:\/\/mynetwork.com:1337\/tracker.js?pid=publisher1&amp;ps=home&#8221;&gt;&lt;\/script&gt; &lt;\/head&gt; &lt;body&gt;The tracker.js file uses socket.io to connect to app.js which stores some data in MongoDB. For some reason when start<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d5b5043bc3a8d4700fde895353e8934a?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser1913779<br \/>\ncloudfoundry appfog<br \/>\nI&#8217;m having trouble installing caldecott on osx mountain lion. I keep getting this error:$ sudo gem install caldecott &#8211;no-rdoc &#8211;no-riERROR: Error installing caldecott:ERROR: Failed to build gem native extension.\/Users\/Jay\/.rvm\/rubies\/ruby-1.9.3-p327\/bin\/ruby extconf.rbchecking for main() in -lssl&#8230; * extconf.rb failed * Could not create Makefile due to some reason, probably lack of necessary libraries and\/or headers. Check the mkmf.log file for more details. You may need configuration optio<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/41a11808c536407917fb4e4b14ecec23?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser1460015<br \/>\nwindows gem appfog<br \/>\nI&#8217;ve been following the instructions provided by Development Kit for the rubyinstaller https:\/\/github.com\/oneclick\/rubyinstaller\/wiki\/Development-KitWhen I try the last step I get the following error: ERROR: Failed to build gem native extensionHere is the log file. http:\/\/pastebin.com\/mLUCCVd3I have been following the troubleshoot section with no avail.Running windows7x64 This all started because I want to get the appfog tunnel workingAny help is appreciated<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/5a17228099ba3e216495d8b027ef378e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ntonymx227<br \/>\nappfog<br \/>\nI get a problem when I try to bind MySQL service to my App (AppFog).Message : name: VmcError, endpoint: POST:\/services, statusCode: 502, code: 503, description: Unexpected response from service gatewayWhat is the issue?Anthony<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/4b2deccaf7a8360b0deecc15b16cc3fb?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nspryno724<br \/>\njava apache solr appfog<br \/>\nI am very new to Apache Solr and I am trying to deploy it on Appfog application running the Java runtime. I can deploy the start page: sga-search.aws.af.cm, but nothing else will work. Could someone please direct me as to how can I go about deploying this???Note: Appfog does not permit SSHing into the server.Thank you for your time!<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/2055412edcff97781c95551cacb2fef9?s=32&amp;d=identicon&amp;r=PG&amp;f=1\" \/><br \/>\nuser2962455<br \/>\nruby-on-rails ruby rubygems gem appfog<br \/>\nI wrote an application in RoR, then i tried to deploy it on appfog. I created application, but after pushing i got this error:Uploading Application:Checking for available resources: OKProcessing resources: OKPacking application: OKUploading (2M): OK Push Status: OK Stopping Application &#8216;otj&#8217;: OKStaging Application &#8216;otj&#8217;: OK Starting Application &#8216;otj&#8217;: .. Error: Application [otj] failed to start, logs information below. ====&gt; \/logs\/migration.log &lt;====\/var\/vcap.local\/dea\/apps\/otj-0-93de4f27<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e22143626a521a48d0bd1f873905fba7?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ncoool<br \/>\nappfog<br \/>\nIn Appfog how to install the latest version of Nodejs\/ and on the services provided, can Mongodb be upgraded to 2.4.x<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/0ab0ae433d1b3f8bee9b7d13392bf333?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMarty Pitt<br \/>\njava spring appfog<br \/>\nIt seems that when deploying my Spring app to AppFog, that the environment variables are not being detected.I have the environment variables declared in my console:And I try to reference these from within my app code, like so:&lt;context:property-placeholder location=&#8221;classpath:server.common.properties,classpath:server.${concorde-env}.properties&#8221;\/&gt;However, this generates an error:Caused by: java.io.FileNotFoundException: class path resource[server.${concorde-env}.properties] cannot be opened<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/79e8d53c5c3d3a64ca37acb5c00018d3?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nGus Shortz<br \/>\nruby sinatra route modular appfog<br \/>\nI have started writing my Sinatra apps using a modular style, suggested in this stackoverflow answer, and have successfully deployed it on Heroku, but when trying to deploy to AppFog (identical code except for datamapper mysql\/postgres gems) I get &#8220;Not Found&#8221; errors for every route I have defined.== Sinatra\/1.3.3 has taken the stage on 47195 for production with backup from Thin myIP, 127.0.0.1 &#8211; &#8211; [08\/Dec\/2012 21:28:53] &#8220;GET \/ HTTP\/1.0&#8221; 404 18 0.0030 myIP, 127.0.0.1 &#8211; &#8211; [08\/Dec\/2012 21:28:54] &#8220;G<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/bcdc41685bf1876b438c19e7c210eec9?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nbeef jerky<br \/>\nruby-on-rails deployment appfog<br \/>\nI&#8217;m trying to deploy a Rails app (2.3.8) on AppFog using the commands:af login af update app_nameI&#8217;m using update because the app is already existing on AppFog. However, I keep getting this error:Error (JSON 503): &lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;u&#8230;It happens after uploading the files. Running af update usually gives me that error. In fact, I&#8217;ve only ran that command successfully once in around a hundred times. I&#8217;ve tried deploying on different times around the clock, but no success. I&#8217;ve also<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/859650c5981157b61aa6494fa8d739d1?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser1076412<br \/>\ngrails appfog<br \/>\nI am getting some errors in my Grails in in AppFog, but I am not sure how to get to the bottom if it.C:\\Users\\me&gt;af logs myapp [WARNING] DL is deprecated, please use Fiddle Error (JSON 404): Not FoundC:\\Users\\me&gt;af crashes myapp [WARNING] DL is deprecated, please use Fiddle Error (JSON 404): Not FoundI read this could help, but I am not sure where to put it?app.debug = TrueAny ideas how I can troubleshoot please?<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>user787738 java android node.js sockets socket.io I followed the fix in this post: Error connecting an Android Client to a socket server in NodeJSHad problem connect to socket server nodeJS but the problem is a fix, now the client connecting my log console of nodeJS throw me this:debug &#8211; client authorizedinfo &#8211; handshake authorized Qs-he8QJbJYA4zlAw2YnBut [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5893","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5893","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5893"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5893\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5893"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5893"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}