We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Could not connect to local server! After update

Home Forums General Questions Could not connect to local server! After update

Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • #83102
    martenmonoz
    Customer

    Hello,

    I just updated to Verge4.10, now I get a connection error.
    Reinstalled and tried opening the app manager from blender and from the desktop icon.
    How do I solve this?

    Thanks in advance!

    #83105

    Hi,

    Please tell us more about your OS and what was the version replaced by the upgrade?

    Also, have you tried to reboot your system and restart App Manager a new?

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #83108
    martenmonoz
    Customer

    Hi,

    I updated from 4.9.2 (i think it was, it was the latest version before 4.10)
    My OS is windows11 pro version 24H2
    Restarted everything twice.
    blender 4.4

    • This reply was modified 1 month, 2 weeks ago by martenmonoz.
    #83111
    martenmonoz
    Customer

    Reinstalled 4.9.2 now everything is fine again. :unsure:

    #83113

    That’s strange! Please check out the following page in Blender preferences:

    It should display exactly one “Soft8Soft” repository pointing to the installation folder. Also there should be a single installed Verge3D extension.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #83116
    martenmonoz
    Customer

    all seems fine but still no luck. :unsure:

    #83118

    Does it print some errors in the launcher window (or the Blender’s console: Window ‣ Toggle System Console)?

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #83207
    martenmonoz
    Customer

    Yes, this is the error in the blender console: V3D-PU-WARNING: App Manager connection refused

    The verge launcher window opens for a split second then closes again.

    • This reply was modified 1 month, 2 weeks ago by martenmonoz.
    #83215

    Really strange… but you can try the following. Uninstall your current Verge3D installation by using “Add or remove programs”, then remove “C:\Program Files\Verge3D for Blender” (if it still exists), then run Verge3D installation a new. Perhaps some residual files from the previous versions causing this quite unusual behavior.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #83216

    Also, maybe you have some hardcore anti-virus or firewall software installed?

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #83232
    martenmonoz
    Customer

    no hardcore fw nor anti-virus stuff going on. Removed all verge related items before clean installing 4.10 but still the same error :( I will try a different machine now. Thanks very much for the suggestions :good:

    #83233

    Sure, let me know how it goes!

    P.S. Could you please share the content of AppData\Roaming\Blender Foundation\Blender\4.4\extensions\soft8soft\verge3d\__init__.py which is located in your home folder?

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #83238
    martenmonoz
    Customer

    this is the file:
    # Copyright (c) 2017 The Khronos Group Inc.
    # Copyright (c) 2017-2025 Soft8Soft
    #
    # This program is free software: you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # (at your option) any later version.
    #
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    # GNU General Public License for more details.
    #
    # You should have received a copy of the GNU General Public License
    # along with this program. If not, see <https://www.gnu.org/licenses/&gt;.

    import bpy
    import os
    import sys

    join = os.path.join

    # used here to get path to plugin utils, afterwards use pluginUtils.path.getRoot()
    ROOT_DIR = r’C:\Program Files\Verge3D_for_Blender’
    sys.path.append(join(ROOT_DIR, ‘python’))

    ADDON_DISABLE_DELAY = 2

    if ‘bpy’ in locals():
    import importlib
    if ‘gltf2_animate’ in locals():
    importlib.reload(gltf2_animate)
    if ‘gltf2_export’ in locals():
    importlib.reload(gltf2_export)
    if ‘gltf2_extract’ in locals():
    importlib.reload(gltf2_extract)
    if ‘gltf2_filter’ in locals():
    importlib.reload(gltf2_filter)
    if ‘gltf2_generate’ in locals():
    importlib.reload(gltf2_generate)
    if ‘gltf2_get’ in locals():
    importlib.reload(gltf2_get)

    if ‘node_material_wrapper’ in locals():
    importlib.reload(node_material_wrapper)
    if ‘utils’ in locals():
    importlib.reload(utils)

    import pluginUtils
    from pluginUtils.manager import AppManagerConn
    from pluginUtils.path import getRoot

    log = pluginUtils.log.getLogger(‘V3D-BL’)

    # COMPAT: Blender <4.2
    bl_info = {
    “name”: “Verge3D”,
    “description”: “Artist-friendly toolkit for creating 3D web experiences”,
    “author”: “Soft8Soft”,
    “version”: (4, 10, 0),
    “blender”: (3, 4, 0),
    “location”: “File > Import-Export”,
    “doc_url”: “https://www.soft8soft.com/docs/manual/en/index.html&#8221;,
    “tracker_url”: “https://www.soft8soft.com/forum/bug-reports-and-feature-requests/&#8221;,
    “category”: “Render”
    }

    from bpy.props import (CollectionProperty,
    StringProperty,
    BoolProperty,
    EnumProperty,
    FloatProperty)

    from bpy_extras.io_utils import (ExportHelper)

    class V3D_AddonPreferences(bpy.types.AddonPreferences):
    bl_idname = __package__

    disable_builtin_gltf_addon: BoolProperty(
    default = True,
    description = ‘Disable built-in glTF 2.0 exporter (io_scene_gltf2)’
    )

    def draw(self, context):
    layout = self.layout
    row = layout.row()
    row.prop(self, ‘disable_builtin_gltf_addon’, text=’Disable Built-in glTF Add-on’)

    class V3D_OT_export():

    export_sneak_peek: BoolProperty(
    name=’Sneak Peek Mode’,
    description=”,
    default=False
    )

    def execute(self, context):
    from . import gltf2_export

    scene0 = bpy.data.scenes[0]
    v3d_export = scene0.v3d_export

    # All custom export settings are stored in this container.
    exportSettings = {}

    exportSettings[‘filepath’] = bpy.path.ensure_ext(self.filepath, self.filename_ext)
    exportSettings[‘filedirectory’] = os.path.dirname(exportSettings[‘filepath’]) + ‘/’

    exportSettings[‘format’] = self.export_format
    exportSettings[‘copyright’] = v3d_export.copyright
    # COMPAT: using native shadow checker starting from Blender 4.2
    exportSettings[‘useShadows’] = v3d_export.use_shadows if bpy.app.version < (4, 2, 0) else scene0.eevee.use_shadows
    exportSettings[‘shadowMapType’] = v3d_export.shadow_map_type
    exportSettings[‘shadowMapSide’] = v3d_export.shadow_map_side
    exportSettings[‘esmDistanceScale’] = v3d_export.esm_distance_scale
    exportSettings[‘shadowCubeSize’] = v3d_export.shadow_cube_size
    exportSettings[‘shadowCascadeSize’] = v3d_export.shadow_cascade_size
    exportSettings[‘iblEnvironmentMode’] = v3d_export.ibl_environment_mode
    exportSettings[‘bakeModifiers’] = v3d_export.bake_modifiers
    exportSettings[‘bakeArmatureActions’] = v3d_export.bake_armature_actions
    # opentype module is not available for HTML export
    exportSettings[‘bakeText’] = v3d_export.bake_text if self.export_format != ‘HTML’ else True
    exportSettings[‘exportConstraints’] = v3d_export.export_constraints
    exportSettings[‘exportCustomProps’] = v3d_export.export_custom_props
    exportSettings[‘lzmaEnabled’] = v3d_export.lzma_enabled
    # basic transcoder module is not available for HTML export
    exportSettings[‘compressTextures’] = v3d_export.compress_textures if self.export_format != ‘HTML’ else False
    exportSettings[‘optimizeAttrs’] = v3d_export.optimize_attrs
    exportSettings[‘aaMethod’] = v3d_export.aa_method
    exportSettings[‘useHDR’] = v3d_export.use_hdr
    exportSettings[‘useOIT’] = v3d_export.use_oit
    exportSettings[‘exportAnimations’] = v3d_export.export_animations
    if v3d_export.export_animations:
    exportSettings[‘exportFrameRange’] = v3d_export.export_frame_range
    exportSettings[‘moveKeyframes’] = v3d_export.export_move_keyframes
    else:
    exportSettings[‘exportFrameRange’] = False
    exportSettings[‘moveKeyframes’] = False

    exportSettings[‘uriCache’] = { ‘uri’: [], ‘blDatablocks’: [] }
    exportSettings[‘binary’] = bytearray()
    exportSettings[‘binaryfilename’] = os.path.splitext(os.path.basename(self.filepath))[0] + ‘.bin’

    exportSettings[‘sneakPeek’] = self.export_sneak_peek

    exportSettings[‘temporaryMeshes’] = None
    exportSettings[‘temporaryMaterials’] = None

    exportSettings[‘strip’] = True

    # valid values are: ‘UNSIGNED_INT’, ‘UNSIGNED_SHORT’, ‘UNSIGNED_BYTE’
    exportSettings[‘indices’] = ‘UNSIGNED_INT’
    exportSettings[‘forceIndices’] = False

    exportSettings[‘forceSampling’] = False
    exportSettings[‘skins’] = True
    exportSettings[‘morph’] = True
    exportSettings[‘morphNormal’] = True
    exportSettings[‘morphTangent’] = True

    return gltf2_export.save(self, context, exportSettings)

    def draw(self, context):
    pass

    class V3D_OT_export_html(bpy.types.Operator, ExportHelper, V3D_OT_export):
    ”’Export scene to HTML”’
    bl_idname = ‘export_scene.v3d_html’
    bl_label = ‘Export HTML’

    filename_ext = ‘.html’
    filter_glob: StringProperty(default=’*.html’, options={‘HIDDEN’})

    export_format = ‘HTML’

    class V3D_OT_export_gltf(bpy.types.Operator, ExportHelper, V3D_OT_export):
    ”’Export scene to glTF 2.0 format”’
    bl_idname = ‘export_scene.v3d_gltf’
    bl_label = ‘Export Verge3D glTF’

    filename_ext = ‘.gltf’
    filter_glob: StringProperty(default=’*.gltf’, options={‘HIDDEN’})

    export_format = ‘ASCII’

    class V3D_OT_export_glb(bpy.types.Operator, ExportHelper, V3D_OT_export):
    ”’Export scene to glTF 2.0 binary format”’
    bl_idname = ‘export_scene.v3d_glb’
    bl_label = ‘Export Verge3D glTF Binary’

    filename_ext = ‘.glb’
    filter_glob: StringProperty(default=’*.glb’, options={‘HIDDEN’})

    export_format = ‘BINARY’

    def menuExportHTML(self, context):
    self.layout.operator(V3D_OT_export_html.bl_idname, text=’HTML (.html)’)

    def menuExportGLTF(self, context):
    self.layout.operator(V3D_OT_export_gltf.bl_idname, text=’Verge3D glTF (.gltf)’)

    def menuExportGLB(self, context):
    self.layout.operator(V3D_OT_export_glb.bl_idname, text=’Verge3D glTF Binary (.glb)’)

    def disableBuiltInGLTFAddon():

    import addon_utils

    is_enabled, is_loaded = addon_utils.check(‘io_scene_gltf2’)

    if is_enabled:
    import io_scene_gltf2
    bpy.types.TOPBAR_MT_file_export.remove(io_scene_gltf2.menu_func_export)

    def register():
    from . import custom_props, custom_ui, manual_map

    AppManagerConn.init(getRoot(), ‘BLENDER’)

    bpy.utils.register_class(V3D_AddonPreferences)

    if AppManagerConn.isAvailable():
    bpy.utils.register_class(V3D_OT_export_html)
    bpy.types.TOPBAR_MT_file_export.append(menuExportHTML)
    bpy.utils.register_class(V3D_OT_export_gltf)
    bpy.utils.register_class(V3D_OT_export_glb)

    custom_props.register()
    custom_ui.register()
    manual_map.register()

    bpy.types.TOPBAR_MT_file_export.append(menuExportGLTF)
    bpy.types.TOPBAR_MT_file_export.append(menuExportGLB)

    if AppManagerConn.isAvailable():
    if not AppManagerConn.ping():
    AppManagerConn.start()
    else:
    log.warning(‘App Manager is not available!’)

    if bpy.context.preferences.addons[__package__].preferences.disable_builtin_gltf_addon:
    bpy.app.timers.register(disableBuiltInGLTFAddon, first_interval=ADDON_DISABLE_DELAY, persistent=True)

    def unregister():
    from . import custom_props, custom_ui, manual_map

    bpy.utils.unregister_class(V3D_AddonPreferences)

    if AppManagerConn.isAvailable():
    bpy.utils.unregister_class(V3D_OT_export_html)
    bpy.types.TOPBAR_MT_file_export.remove(menuExportHTML)
    bpy.utils.unregister_class(V3D_OT_export_gltf)
    bpy.utils.unregister_class(V3D_OT_export_glb)

    custom_props.unregister()
    custom_ui.unregister()
    manual_map.unregister()

    bpy.types.TOPBAR_MT_file_export.remove(menuExportGLTF)
    bpy.types.TOPBAR_MT_file_export.remove(menuExportGLB)

    • This reply was modified 1 month, 1 week ago by martenmonoz.
    #83242

    Thank you very much for help! Looks like the installer did the job just fine, so the issue is definitely the App Manager that fails to start.

    When you check out the console window opened upon you click on the Verge3D launcher (located on desktop/start menu) what does it show?

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #83262
    martenmonoz
    Customer

    The console window doesn’t open. The little marker underneath the verge icon in the windows taskbar lights up but closes as soon as chrome opens with the “could not connect” message. :unsure:

Viewing 15 posts - 1 through 15 (of 23 total)
  • You must be logged in to reply to this topic.