marcellourbani / vscode_abap_remote_fs

Remote filesystem for ABAP systems
MIT License
170 stars 28 forks source link

Error: read ECONNRESET #164

Closed BrunoKrugel closed 3 years ago

BrunoKrugel commented 3 years ago

Hello,

I configured a connection to my ABAP system, but when I try to connect I receive the error :

Failed to connect to SYS:Error: read ECONNRESET

The system configuration:

        "SYS": {
            "name": "ER9",
            "url": "http://myurl:4554",
            "username": "xxx",
            "password": "yyy",
            "language": "en",
            "client": "001",
            "allowSelfSigned": true,
            "diff_formatter": "ADT formatter"
        }
larshp commented 3 years ago

in the name, SAP systems is usually 3 characters? "name": "ER90",

marcellourbani commented 3 years ago

I don't think there's a name field in the configuration. Removing it sounds like a good idea but doubt will fix it. that error looks like some network/firewall issue, hard to tell if there's more. Please check the ABAPFS and extension host messages to see if there's some debug info there

BrunoKrugel commented 3 years ago

I used the AbapFS Create connection and asked for a name and included the field in the configuration.

Please check the ABAPFS and extension host messages to see if there's some debug info there

How can I do that?

larshp commented 3 years ago

check the lower part of the screenshot in https://github.com/marcellourbani/vscode_abap_remote_fs/issues/163

kdbeall commented 3 years ago

@larshp @marcellourbani I am also receiving this error.

marcellourbani commented 3 years ago

@kdbeall what happens if you open with a browser

http://\<yourserver>:\<yourport>/sap/bc/adt/functions/groups/sfunction_builder/source/main

The plugin requires that URL (well, its prefix but this is good for testing) to be accessible

This is what I get once logging in : image

BrunoKrugel commented 3 years ago

image This is the only output that I have in the log when I try to connect.

http://:/sap/bc/adt/functions/groups/sfunction_builder/source/main

If I try to access this link I receive a ERR_NAME_NOT_RESOLVED

marcellourbani commented 3 years ago

@BrunoKrugel you need the server and port in that url too. Sorry, I didn't realise github hid my \<yourserver> as sees it as a markdown tag. Fixed now

About the logs, it's mostly about the ABAP FS ones, you can switch log channel with a dropdown image

kdbeall commented 3 years ago

Figured it out! It was an installation issue on my side.

marcellourbani commented 3 years ago

@kdbeall great to read it! Out of curiosity, what was the issue?

kdbeall commented 3 years ago

@marcellourbani I wish I wrote a faster response! I have been on vacation. I am not entirely sure. My educated guess is that something wasn't running. I realized I had to run the command sapcontrol -nr 00 -function GetProcessList to check the status.

marcellourbani commented 3 years ago

No worries. It's hobby work anyway ;-) Thanks for the reply,!