-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
same code working on MAC but not windows #73
Comments
@feranf , are you using the latest version (0.7.1) of seneca ? |
@maxired yes |
@feranf, using node 4.2.1 and seneca 0.7.1, it works for me on windows 8.1 Moreover, except if you found this code on seneca.org website, you probably want to post this kind of issue on https://github.com/rjrodger/seneca |
@feranf If you double check your firewall (and do a restart) and it's still not working, could you follow this link to post a new issue on the http / tcp transport modules issues page: https://github.com/rjrodger/seneca-transport/issues/new We don't have a huge amount of Windows users on different versions so if it turns out we have a problem I'd like to look at getting it resolved for you :D @maxired Do you have Windows 10 by any chance? |
@mcdonnelldean , I am gonna do the upgrade right now from windows 8.1 |
@maxired Awesome, if so will you give this a quick whirl and see if it works there? I need to get my VM's in order :D |
@mcdonnelldean @maxired |
@mcdonnelldean @maxired Just wanted to clarify that it happened using both http and tcp transports... |
I'm seeing this issue on win10. and I allowed it through my firewall. I'm investigating :) |
So far, I have disabled the firewall, and I'm still seeing the issue. Diving deeper. |
Oh, and node v4.2.0 and seneca v7.1, and windows 10. |
@thekemkid Awesome work, can I leave this with you? @feranf No need to open the other issue, lets keep it all here at this point :D |
I'll probably need some support when I get deeper into the internals, I'll talk through what I'm seeing on the gitter for this org? |
Actually, scratch that, will talk in main seneca room! :) |
Perfect
|
@thekemkid Thanks, waiting for good news... |
@feranf Awesome :D Cheers |
Okay, this is working code: function color() {
this.add( 'color:red', function(args,done){
done(null, {hex:'#FF0000'});
})
}
var seneca = require('seneca');
seneca()
.use(color)
.listen({type:'tcp'}) //become a server
seneca()
.client({type:'tcp', host:"localhost"}) //become a client
.act('color:red', console.log) |
@thekemkid , well done. To clarify, I spoke too quickly and the code was indeed not working on windows 8 without the workaround provided by @thekemkid |
No problem, I'll self assign this and send a pr to update the documentation |
@thekemkid Great news, Its working now! Thanks a lot for the quick response 👍 |
@thekemkid Awesome stuff @feranf Any other issues, please let us know. |
@mcdonnelldean Thanks, appreciate this. |
Hi,
I'm running the following code in MAC - works OK.
When running it on windows 7 - the following error occurs..
The Error:
2015-10-15T09:14:46.808Z s3fx6o3a4jgi/1444900486776/7384/- DEBUG act remote$ IN m9bqsfq0d1ms/mj7vu98io1jj
{color:red} ENTRY CLIENT - - -
2015-10-15T09:14:57.946Z s3fx6o3a4jgi/1444900486776/7384/- ERROR act remote$ OUT - 11135 {color:r
ed} ENTRY CLIENT - seneca: Action failed: [TIMEOUT]. act_execute {id:m9bqsfq0d1ms/mj7vu98io1jj,gate:false
,ungate:false,desc:,plugin:{name:remote$,tag:null},time:{start:14449004 Error: [TIMEOUT]
at null._onTimeout (C:\seneca\node_modules\seneca\node_modules\gate-executor\gate-executor.js:95:
21)
at Timer.listOnTimeout as ontimeout
Thanks,
The text was updated successfully, but these errors were encountered: