Check https://www.winsteadworks.com console for the error.
My website is on my raspberry pi 3 using nginx webserver to host my website. I am having trouble getting NAF (Networked AFrame) to work correctly. What I am trying to do is get Easyrtc to work correctly so I can interact/communicated with other players on my website. I got this to work correctly while it was hosted locally on my other computer, but when I moved it to the raspberry pi and tried to put it online was when I started to have issues.
I am getting a 403 error for my socket.io for easyrtc. On my website if you look in the console you will see the errors start to stack for socket.io.
What I have tried:
Check port forwarded ports
tried to add port 8080 to my config in /var/www/html/winsteadworks.com but kept getting errors
Checked my firewall settings for both my router and my raspberry pi
I also tried reconfiguring different files but still have had no luck.
The error:
socket.io.min.js:1 GET https://winsteadworks.com/socket.io/?EIO=3&transport=polling&t=MJ1pNxu 403 (Forbidden)
This error continues over and over every second and won't stop until you close the page.
I am at a loss here until I know a few things:
Why am I getting this error? Is this a nginx issue, is this an easyrtc issue, is this a raspberry pi issue, or is it a port forwarding problem (yes port 8080 is forwarded)?
What direction do I need to go in order to problem solve this?
Or I will just take the short, sweet and simple answer! Thanks in advance for you time.
Related
I am trying to deploy a Nodejs & WordPress website together on an ubuntu server and I am using apache2 for my server config. Everything works fine initially. But after some time my website start showing connection timeout in the browser and when I checked the Ubuntu machine then I found the following:
I checked the error log and increased the worker limit but then got this error again.
I also checked the tasks using htop command then I found this and as I am increasing the worker request number in the apache2 config file the tasks increase automatically.
I also checked which IP calling so many requests and then I found this:
Access logs file :
I have no idea what is going on here and don't know how to fix it. If anyonw know the solution to this problem then please reply.
Thanks
So I'm trying to setup my dev machine to be able to respond to some webhooks, as per the twilio documentation here:
https://www.twilio.com/docs/usage/tutorials/how-use-ngrok-windows-and-visual-studio-test-webhooks
I've got ngrok installed, and have the tunnel up and running, pointing at the port that is specified in visual studio. In this case, 44336.
However, if I go to visit the external URL, I get a very long load time, and eventually a 502 error. Visiting localhost works fine as expected.
So, I tried setting ngrok to point at 8080, and I get a little further along, but still no luck with the following error message in the browser.
With the first tunnel attempt, I can see the GET/ requests show up in the ngrok client, but no error. In the second attempt, I can see the 502 errors:
So I have two questions: How can I diagnose the source of the problem? And how can I setup IIS to accept connections from ngrok?
This is resolved in the latest version of ngrok (at this time 2.3.23).
A related closed issue can be referenced here: https://github.com/inconshreveable/ngrok/issues/448
You can now run:
ngrok http https://localhost:<port> -host-header="localhost:<port>"
for your example:
ngrok http https://localhost:44336 -host-header="localhost:44336"
Just go Right click on project -> Properties, and then disable ssl.
This is on Windows system. I have tomcat started on 8080. I have a nodejs program started which is also listening on 8080. So now I have 2 PIDs. When I do a netstat, I find two PIDs on the same port. So everything is clearly being shown. And these two processes ran without showing up any error. What baffled me is when I access the url localhost:8080 on the browser, it sometimes shows up tomcat home page and the rest of the time it shows up the nodejs response. Looks like there is a race between the processes as in whoever catches it first throws up a resonse. Next as I see that there is no error being thrown on reusing the same port, I try to open up another nodejs program listening on 8080. But this time it throws an error saying EADDRINUSE. This is confusing. If it had to throw such an error, why would it in the first place allow nodejs and tomcat both to listen on 8080? Any factual inputs and no conjectures would be helpful.
You either:
have a proxy in front of your servers
you run the servers on different network interfaces
some sort of port sharing has been setup on that machine.
I got a problem with Nginx, it always shows "502 Bad Gateway nginx/1.2.1"
I am using Nginx on my Raspberry Pi with the software Piui.
Last time I used the pi it worked perfectly, now one month later suddenly it doesn't work. This is weird because I didn't change anything in the configs or in the Pi's system.
Does anyone have an idea?
I followed the PIUI Tutorial. Accesspoint works, can connect and ping from several devices.
I've searched for information, but can't find the issue.
As posted in the comments: Sounds like the sofware to which the request shall be proxied is not running, check if the piui-supervisor is running.
i created a Myservice.asmx and it's working fine all the methods i am ble to invoke,giving me the correct but when i adding my MyService.asmx to my wwebsite as areferences giving me the following error.
There was an erroe in downloading 'http://localhost:49211/Myservice.asmx'
unable to connect to the remote server No connection could be made because the targer machine actively refused '127.0.0.1.49211'
There was an erroe in downloading 'http://localhost:49211/Myservice.asmx/$metadata/'
aAny Suggestions to solve this....Error..
"actively refused" often means that the connection simply couldn't get through and is usually a firewall / router issue to forward and allow the necessary ports through.