- 2020-06-01 at 6:41 pm #28297
When I run Sneak Peek or App Manager from Blender 2.82a, I get an error message in Chrome stating “localhost refused to connect”.
What methods are available for resolving this issue? Thank you.2020-06-03 at 1:08 pm #28349
You should try to run Blender from the terminal. If you have Blender installed in Applications, then you can open the terminal and enter something like this:123/Applications/Blender.app/Contents/MacOS/Blender
If all goes well the terminal’s output should say
Starting App Manager server (port 8668, package BLENDER)among other blender-related log messages. That means that you should be able to access http://localhost:8668/.
But, if you really have problems with verge3d app manager, then there can be error mesages instead, i.e. server crash, addon errors, etc…
Co-founder and lead developer at Soft8Soft.2020-06-18 at 3:45 pm #28972
Excellent! Thanks Ivan. I will give that a shot and let you know what happens. Much appreciated.2020-06-19 at 12:16 pm #28995
This command did return the output: Starting App Manager server (port 8668, package BLENDER). But the next output was: Address already in use, exiting.
This explains why it cannot resolve the host, because it is being blocked by another process or application. Is there a method for determining what may be using localhost:8668?2020-06-22 at 1:12 pm #29112
Is there a method for determining what may be using localhost:8668?
Yes, try to execute the following command in the terminal:123lsof -i:8668
its output should indicate if this port is actually used or not and what process may be using it.
Co-founder and lead developer at Soft8Soft.2020-06-29 at 5:07 pm #29383
I gave that a shot, but it returned no output. I tried lsof -i to look at a list of all ports and the PID column skips from 8215 to 12995. Port 8668 is not listed.2020-06-30 at 8:54 am #29413
I gave that a shot, but it returned no output.
This probably means that the error is caused by something else and not by an already used port.
We can try to investigate that. In the
verge3d/manager/folder there should be a file called
server.py, which is responsible for starting the verge3d server. Here’s an archive with a slightly modified version of that file: server.zip. If you replace the original file with it (make a backup just in case) then you’ll get more detailed info about the error in the terminal’s output.
Co-founder and lead developer at Soft8Soft.2020-07-02 at 4:00 pm #29575
Thanks, Ivan. I appreciate your help with this. Attached is a screenshot showing the output from terminal and python launcher if that helps. I’m just not getting a response out of that command.
2020-07-02 at 4:32 pm #29583
- This reply was modified 5 days, 8 hours ago by Holt_Interactive.
Hmm, it seems that you run
server.pymanually, but it’s not actually needed because Blender should execute that script properly, i.e. by using the appropriate python version and some specific command line arguments. I guess that’s the reason you got the Syntax Error.
So, you just need to launch Blender the same way via the terminal as I suggested in the previous post.
Co-founder and lead developer at Soft8Soft.2020-07-02 at 4:50 pm #29590
I did that as well. Sorry, I should have mentioned that. I’m getting the same localhost refused message from the browser. I’ve checked my firewall and proxy settings, and there’s nothing going on there that would block localhost.
I have no issue with this working on my PC on the same network, by the way; so this is only an issue with my desktop Mac running High Sierra. My MacBook Pro running Catalina works perfectly.
Though it would be cool to resolve this issue, it isn’t keeping me from creating projects with Verge3D, so there’s no urgency here.
2020-07-03 at 9:29 am #29610
- This reply was modified 5 days, 6 hours ago by Holt_Interactive.
Oh, sorry, I should’ve been more clear. After you replace the file server.py within the verge3d/manager directory you should just run Blender from the terminal and look at the output there previously was just “Address already in use, exiting”. But now with the new version of server.py there should be a bit more information about what actually happened when Blender tried to start the server.
Co-founder and lead developer at Soft8Soft.
- You must be logged in to reply to this topic.