# SMARTS HTTP Server 3270 Bridge Already Logged On Error

**URL:** <https://techcommunity.softwareag.com/t/smarts-http-server-3270-bridge-already-logged-on-error/60186>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-Related-Products, Com-plete\
**Created:** [September 20, 2005, 2:34pm UTC](https://techcommunity.softwareag.com/t/smarts-http-server-3270-bridge-already-logged-on-error/60186 "2005-09-20T14:34:04Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [September 20, 2005, 2:34pm UTC](https://techcommunity.softwareag.com/t/smarts-http-server-3270-bridge-already-logged-on-error/60186/1 "2005-09-20T14:34:04Z")

</div>

Re-posted from SAG-L:

I am having some trouble with the SMARTS HTTP Server (version 2.3.1) 3270 Bridge. I can enter one command successful, but anything I do thereafter generates the following error message:

```
Conversation status

COMULG0006-X UserId already logged on...    

```

For example, I can enter “UCTRL UA” and invoke an HTML version of the User Activities screen. But if I then attempt to select a function, there is no response. And if I go back to the 3270 Bridge screen and enter another Complete command, I receive the ‘already logged on’ error.

Do anyone have any idea what is wrong?

---

<div class="post-metadata">

**Author:** ![Steffen\_Kuhnert](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@Steffen\_Kuhnert](https://techcommunity.softwareag.com/u/Steffen_Kuhnert)\
**Post date:** [September 20, 2005, 4:41pm UTC](https://techcommunity.softwareag.com/t/smarts-http-server-3270-bridge-already-logged-on-error/60186/2 "2005-09-20T16:41:01Z")

</div>

Could be a number of things, here’s the quick ones to check:

1. Cookies must be enabled in the browser.
2. The clock of the host must be set correctly. If e.g. your host is in the US but its clock is set to GMT=local, then it can happen that your cookie is already expired when it reaches your PC (assuming your PC clock is set correctly).
3. CONV=YES must be set in the HTTP server config.

If you believe all these are set OK, you can use the Natural program attached here to check if in general conversations work with your HTTP server or not. Save+stow it to a Natural library (e.g. XYZ), then start it like [http://your.server](http://your.server):port/natcgi/xyz/testconv . It should echo your last two input strings.  
The outcome will define where to look next.  
[testconv.txt](https://techcommunity.softwareag.com/uploads/short-url/lY5YerlqRWnIwOy0jsvDktNXOSJ.txt) (1.35 KB)

---

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [September 21, 2005, 3:12am UTC](https://techcommunity.softwareag.com/t/smarts-http-server-3270-bridge-already-logged-on-error/60186/3 "2005-09-21T03:12:45Z")

</div>

Hello Steffen.

Thank you for your reply. It doesn’t appear that any of the three items that you mentioned are at issue here. We have CONV set to YES already.

I would like to download or cut-and-paste TESTCONV but don’t know how to view an attachment to a forum message. Could you tell me how or email the program to me at [Steve.Hackett@FTB.CA.GOV](mailto:Steve.Hackett@FTB.CA.GOV)?

By the way, I’ve already written a few test Natural programs that successfully recieve input from the web, get ADABAS or DB2 data, then display the information. I used HNANSAMP as a model.

Regards,  
Steve

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [September 21, 2005, 3:30am UTC](https://techcommunity.softwareag.com/t/smarts-http-server-3270-bridge-already-logged-on-error/60186/4 "2005-09-21T03:30:27Z")

</div>

Steve, when you click on the “download” link for that attachment, it should ask you to either “open” or “save”, as usual.

Is this not happening ?

---

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [September 21, 2005, 4:51am UTC](https://techcommunity.softwareag.com/t/smarts-http-server-3270-bridge-already-logged-on-error/60186/5 "2005-09-21T04:51:55Z")

</div>

Hello Wolfgang. The only kind of attachments I am familiar with are those attached to an email. I am not familiar with a forum message attachment and don’t even know where to look for it. I looked in Steffen’s text and on the borders and didn’t see anything that looked like an attachment. I just don’t what I am supposed to click on. This is new to me. When you point it out for me, I’m sure I’ll wonder how I could have missed it. Thanks, Steve.

---

<div class="post-metadata">

**Author:** ![Steve\_Hackett](https://avatars.discourse-cdn.com/v4/letter/s/3ec8ea/32.png) [@Steve\_Hackett](https://techcommunity.softwareag.com/u/Steve_Hackett)\
**Post date:** [September 21, 2005, 4:56am UTC](https://techcommunity.softwareag.com/t/smarts-http-server-3270-bridge-already-logged-on-error/60186/6 "2005-09-21T04:56:50Z")

</div>

Hello Wolfgang. I can see the attachment now and successfully downloaded it. I don’t know why I didn’t see it before. Regards, Steve.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [September 21, 2005, 5:01am UTC](https://techcommunity.softwareag.com/t/smarts-http-server-3270-bridge-already-logged-on-error/60186/7 "2005-09-21T05:01:05Z")

</div>

In the box with Description, Filename etc. for the testconv.txt “attachment” there’s a paper-clip on the right hand side, and below it the text “download”, that’s what you’d have to click on, then you’d be asked to open or save it.

But no worries, I’ve mailed it to you 😉

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [September 21, 2005, 2:23pm UTC](https://techcommunity.softwareag.com/t/smarts-http-server-3270-bridge-already-logged-on-error/60186/8 "2005-09-21T14:23:31Z")

</div>

In order to see attachments you have to be logged on to the forum.

---

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [September 21, 2005, 8:49pm UTC](https://techcommunity.softwareag.com/t/smarts-http-server-3270-bridge-already-logged-on-error/60186/9 "2005-09-21T20:49:55Z")

</div>

I ran TESTCONV. Here is what happened:

I received the initial screen:

PREVIOUS:  
LAST:

…and this is what showed up in the Complete log:

COMSMF0001-X LOGON: USER=COMPLX LU= TID=10 ACCT= STATUS=N/A  
COMSMF0005-X LOGON: AUTH=0 RMC= SMC=1245

I then entered a string of X’s and clicked on the button. My X’s were then displayed as output:

PREVIOUS:  
LAST:xxxxxxxxxxxxxxxxxxxx

…and this appeared in the log:

COMSMF0001-X LOGON: USER=COMPLX LU= TID=11 ACCT= STATUS=N/A  
COMSMF0005-X LOGON: AUTH=0 RMC= SMC=1245

I then tried it again a few more times and it worked fine. There were no logon errors.

You probably already know this, but to clarify, I’ll mention that I get the logon error whenever I use the input screen for the 3270 Bridge. (It always works once, then fails.)

I also ought to mention that there is an open log on this issue: #588195.

What would you like me to try next?

Thanks,  
Steve

---

<div class="post-metadata">

**Author:** ![Steffen\_Kuhnert](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@Steffen\_Kuhnert](https://techcommunity.softwareag.com/u/Steffen_Kuhnert)\
**Post date:** [September 30, 2005, 3:29pm UTC](https://techcommunity.softwareag.com/t/smarts-http-server-3270-bridge-already-logged-on-error/60186/10 "2005-09-30T15:29:22Z")

</div>

We continued by PM, but for the benefit of the audience here’s the outcome:

The actual problem was twofold:

1. Steve’s HTTP server was using the HTML files (homedir) from the original HTP241 release (no patch level) with the loadlib from HTP241 PL3. These are not compatible. Uploading the PL3 homedir would probably also have solved the problem, but I know we made a few fixes after PL3, so I decided to give him PL4.
2. They had LOGON=DISALLOWED set in the config. This cannot work for 3270, because it would mean that all users run with the same userID (in fact, Complete’s own userID), what is not possible with 3270.

Steffen

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:40pm UTC](https://techcommunity.softwareag.com/t/smarts-http-server-3270-bridge-already-logged-on-error/60186/11 "2021-04-02T14:40:17Z")

</div>


