# Rstudio app works BUT each session begins with a single auth failure that must be ignored

**URL:** <https://discourse.openondemand.org/t/rstudio-app-works-but-each-session-begins-with-a-single-auth-failure-that-must-be-ignored/660>\
**Category:** Get Help\
**Created:** [January 9, 2020, 12:42am UTC](https://discourse.openondemand.org/t/rstudio-app-works-but-each-session-begins-with-a-single-auth-failure-that-must-be-ignored/660 "2020-01-09T00:42:27Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jasonbuechler](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jasonbuechler/32/302_2.png) [@jasonbuechler](https://discourse.openondemand.org/u/jasonbuechler)\
**Post date:** [January 9, 2020, 12:42am UTC](https://discourse.openondemand.org/t/rstudio-app-works-but-each-session-begins-with-a-single-auth-failure-that-must-be-ignored/660/1 "2020-01-09T00:42:27Z")

</div>

Hiya everyone,

We’re running centos 6 and slurm 19, and are one OOD release behind.  
I just setup the RStudio interactive app but am quite perplexed by this reproducible and ignorable authentication error that follows immediately after clicking “Connect to RStudio Server” for each session:

“ **Error: Incorrect or invalid username/password** ”

 ![2020-01-08 17_14_49-RStudio Sign In](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/b25bfa7f7a11e26728805e43c5bc0a61b55ddc32.png)

One can simply go back to the OOD tab and click the button again (with or without closing this goofy error tab) and every subsequent connection to that session works great!

The only logs that seem connected that we’ve so far seen:

```
___tailing <computenode>:/var/log/messages___
Jan 8 17:14:24 cn68 nslcd[3328]: [456249] nslcd_passwd_byname(): invalid user name
Jan 8 17:14:24 cn68 rserver[67254]: ERROR system error 13 (Permission denied) [user-value=]; OCCURRED AT: rstudio::core::Error rstudio::core::system::user::{anonymous}::userFrom(const rstudio_boost::function<int(T, passwd*, char*, long unsigned int, passwd**)>&, T, rstudio::core::system::user::User*) [with T = const char*] /var/lib/jenkins/workspace/IDE/open-source-pipeline/v1.2-patch/src/cpp/core/system/PosixUser.cpp:107; LOGGED FROM: std::string rstudio::server::pam_auth::{anonymous}::userIdentifierToLocalUsername(const string&) /var/lib/jenkins/workspace/IDE/open-source-pipeline/v1.2-patch/src/cpp/server/ServerPAMAuth.cpp:178
Jan 8 17:14:24 cn68 rserver[67254]: WARNING No PAM password provided for user ''; refusing login; LOGGED FROM: bool rstudio::server::pam_auth::pamLogin(const string&, const string&) /var/lib/jenkins/workspace/IDE/open-source-pipeline/v1.2-patch/src/cpp/server/ServerPAMAuth.cpp:456
_____________________________________________

```

…and just as a reminder, clicking the button from this point on works perfectly fine without touching anything else. Like magic!

This may or may not be related to a much less reproducible issue that might happen on a per-browser basis: After clicking the “Launch” button at the session setup form, and being bounced to [https://ondemand.hpc.nau.edu/pun/sys/dashboard/batch\_connect/sys/RStudio/session\_contexts](https://ondemand.hpc.nau.edu/pun/sys/dashboard/batch_connect/sys/RStudio/session_contexts)  
…Instead of seeing “_Session was successfully created_” in a friendly green box, we’ll see “_This app does not supply a sub app form file under the directory ‘/var/www/ood/apps/sys/RStudio/local’_” in a hangry red box.

Since at this step, it seems it hasn’t yet generated a valid session, our ondemand node itself has some logs:

```
___tailing ondemand:/var/log/secure___
Jan 8 17:05:43 ondemand sudo: apache : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/opt/ood/nginx_stage/sbin/nginx_stage pun -u jtb49 -a https%3a%2f%2fondemand.hpc.nau.edu%3a443%2fnginx%2finit%3fredir%3d%24http_x_forwarded_escaped_uri
Jan 8 17:07:28 ondemand sudo: pam_unix(sudo:auth): authentication failure; logname=jtb49 uid=129387 euid=0 tty=/dev/pts/1 ruser=jtb49 rhost= user=jtb49
Jan 8 17:07:28 ondemand sudo: jtb49 : TTY=pts/1 ; PWD=/var/www/ood/apps/sys/RStudio ; USER=root ; COMMAND=/usr/bin/tail -n 500 /var/log/messages
Jan 8 17:08:53 ondemand sudo: jtb49 : TTY=pts/1 ; PWD=/var/log ; USER=root ; COMMAND=/usr/bin/tail secure
______________________________________

```

Is this familiar to anyone?  
Best next steps?

Thanks very much!  
Jason Buechler  
NAU Monsoon

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [January 9, 2020, 9:02pm UTC](https://discourse.openondemand.org/t/rstudio-app-works-but-each-session-begins-with-a-single-auth-failure-that-must-be-ignored/660/2 "2020-01-09T21:02:40Z")

</div>

Do you happen to use CAS authentication? If so, this topic below will be helpful, if not the answer.

Even if you don’t use CAS, it may be worth looking though this anyhow for information about _how_ these apps use the passwords they’re given. It may give you ideas on how to troubleshoot, what files to look for, html elements to inspect, what API calls in your browser to look at and so on.

> [@Jupyter app ask for password first time, works second time](https://discourse.openondemand.org/t/jupyter-app-ask-for-password-first-time-works-second-time/557/1):
>
> Hi, I am working on adjusting the Jupyter app to our cluster, the app is currently in Sandbox. When I click the button “Connect to Jupyter” it opens a new tab with Jupyter asking for password, if I return and click again it opens Jupyter’s dashboard as it should. I wonder what is the cause of not having Jupyter dashboard displayed from the first click Thank you

Let me know if that’s helpful!

---

<div class="post-metadata">

**Author:** ![jasonbuechler](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jasonbuechler/32/302_2.png) [@jasonbuechler](https://discourse.openondemand.org/u/jasonbuechler)\
**Post date:** [January 9, 2020, 9:33pm UTC](https://discourse.openondemand.org/t/rstudio-app-works-but-each-session-begins-with-a-single-auth-failure-that-must-be-ignored/660/3 "2020-01-09T21:33:54Z")

</div>

Ooh thank you for the tip! We do indeed use CAS, and I’ll dig into that thread right this second!

---

<div class="post-metadata">

**Author:** ![jasonbuechler](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jasonbuechler/32/302_2.png) [@jasonbuechler](https://discourse.openondemand.org/u/jasonbuechler)\
**Post date:** [January 9, 2020, 10:01pm UTC](https://discourse.openondemand.org/t/rstudio-app-works-but-each-session-begins-with-a-single-auth-failure-that-must-be-ignored/660/4 "2020-01-09T22:01:15Z")

</div>

You nailed it, Jeff! We were missing those CASScope entries in the config, and it now runs like a dream. Thanks so much!  
–jason

PS: it seemed this was the root cause of both of the issues. Double win!

---

<div class="post-metadata">

**Author:** ![flybirdkh](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/flybirdkh/32/178_2.png) [@flybirdkh](https://discourse.openondemand.org/u/flybirdkh)\
**Post date:** [March 18, 2020, 2:22am UTC](https://discourse.openondemand.org/t/rstudio-app-works-but-each-session-begins-with-a-single-auth-failure-that-must-be-ignored/660/5 "2020-03-18T02:22:12Z")

</div>

Hi everyone ,

I’ve got the same problem, **Error: Incorrect or invalid username/password**

 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/0f6b48c4595ceaac3aefcdc36d950f170dadd7a4.png)  
my authentication is ldapserver,how to set the script.sh.erb.  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/b9a2573596801972aaff3ceb8e2983b10cd42175.png)

Thank you for your replay.

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [March 18, 2020, 1:58pm UTC](https://discourse.openondemand.org/t/rstudio-app-works-but-each-session-begins-with-a-single-auth-failure-that-must-be-ignored/660/6 "2020-03-18T13:58:00Z")

</div>

I take it your RStudion install is pretty much just like ours? First, I’d ask if you’re using CAS as you’re single sign on authentication. That what the issue in this topic originally. If not, then let’s debug a bit.

Here’s what a good login to RStudio looks like. You can see in the form data I pass a `username` (my own) and a `password` (a temporarily generated one). The response is `302 Moved Temporarily` and has a `Location` header.

Please use Chrome’s dev tools to see what’s being requested and returned. Verify you’re sending a password and it’s the correct one (the same one in `connection.yml`).

 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/7ba0ac3ebb5213e4294dcab6a81334e1c0c9d978.png)

---

<div class="post-metadata">

**Author:** ![flybirdkh](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/flybirdkh/32/178_2.png) [@flybirdkh](https://discourse.openondemand.org/u/flybirdkh)\
**Post date:** [March 19, 2020, 5:36am UTC](https://discourse.openondemand.org/t/rstudio-app-works-but-each-session-begins-with-a-single-auth-failure-that-must-be-ignored/660/7 "2020-03-19T05:36:52Z")

</div>

Thank you for your reply. there were no user’s data in auth-do-sign-in.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/4efe084b3fb531c0cd642460d5a051c65406b66a.png)  
maybe setup error.  
my authentication is signed by ldapserver  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/d6372341260757934b6a023c98484eb8a80de941.png)  
and I am a newcomer,I do not know what to do next

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [March 19, 2020, 1:36pm UTC](https://discourse.openondemand.org/t/rstudio-app-works-but-each-session-begins-with-a-single-auth-failure-that-must-be-ignored/660/9 "2020-03-19T13:36:33Z")

</div>

OK so you’re being redirected correctly so that’s good. Are you saying there is no `Form Data`?

This bit here below request headers? You should be sending _at least_ your username.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/84a1546f0b6a68fb3cba01d97e00a6dee41cf558.png)

You’ll need to look into the working directory of the job. It takes this form.

```bash
$HOME/ondemand/data/sys/dashboard/batch_connect/sys/$APP_NAME/output/$UUID

```

Here’s an actual path I took from my where my $APP\_NAME is bc\_osc\_rstudio\_server and UUID is bec8d7f1-45a4-4aea-9247-d716b5def7d8.

```auto
/users/PZS0714/johrstrom/ondemand/data/sys/dashboard/batch_connect/sys/bc_osc_rstudio_server/output/bec8d7f1-45a4-4aea-9247-d716b5def7d8

```

First there’ll be an `output.log` file. This is the job output log so it’s very useful in debugging.

Secondly, this directory has the `connection.yml` file. This is the authentication used for applications for this particular job execution, so LDAP doesn’t really play a part here. This file is read and is used for the view to use for when users click ‘connect to the app’ (what you’ve shown there). Make sure this file is being populated with a password. The password is created [here in the before.sh.erb](https://github.com/OSC/bc_osc_rstudio_server/blob/3d8670024b4dbd0ae906e4341b16756f9f419fee/template/before.sh.erb#L8-L9). This [configuration element](https://github.com/OSC/bc_osc_rstudio_server/blob/3d8670024b4dbd0ae906e4341b16756f9f419fee/submit.yml.erb#L11-L12) is also important.

In that same directory described above (the job’s working directory) you’ll see a `job_script_content.sh`. This is the script that actually get’s submitted to the scheduler and invokes all the other scripts. You see here, it runs the `script.sh` (the thing that boots rstudio) but also creates the connection.yml file (in `create_yml`).

```bash
echo "Script starting..."
"/some_directory/script.sh" &
SCRIPT_PID=$!

[[-e "/some/directory/after.sh"]] && source "/some/directory/after.sh"

# Create the connection yaml file
create_yml

```

So, that’s how you verify the password is being created, read and sent.

How you get authorized is through [this file](https://github.com/OSC/bc_osc_rstudio_server/blob/3d8670024b4dbd0ae906e4341b16756f9f419fee/template/bin/auth). In the script you’ve provided it’s linked to as `${RSTUDIO_AUTH}`. Make sure this file is executable and works correctly for you. Here’s where you can also add additional echo statements when trying to debug.

---

<div class="post-metadata">

**Author:** ![flybirdkh](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/flybirdkh/32/178_2.png) [@flybirdkh](https://discourse.openondemand.org/u/flybirdkh)\
**Post date:** [March 19, 2020, 3:21pm UTC](https://discourse.openondemand.org/t/rstudio-app-works-but-each-session-begins-with-a-single-auth-failure-that-must-be-ignored/660/10 "2020-03-19T15:21:38Z")

</div>

thanks very much  
I’ve not got the Form Data

 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/0c7e18395c81b4aaf5faa3855ba6fcbdb193175d.png)  
the session show me a error=1  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/bccdaf4f5e155c7d8467ed817183e1da0b85bbff.png)

I can find all the file you say,and my work path is hpccf/ondemand/data/sys/dashboard/batch\_connect/dev/bc\_osc\_rstudio\_server/output/89a0409f-293c-4db1-9ad5-230679da256b/

 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/f80575fb962e931e4aa08233e356830607e4b3fb.png)  
information about out.log  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/1be87d1be397f6645f1675395578c757df8270cb.png)  
${RSTUDIO\_AUTH} cannot be find in my workdir;

Maybe I should show you my script.sh.erb

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [March 19, 2020, 3:34pm UTC](https://discourse.openondemand.org/t/rstudio-app-works-but-each-session-begins-with-a-single-auth-failure-that-must-be-ignored/660/11 "2020-03-19T15:34:15Z")

</div>

OK, yea I see in your previous image that you’re running an http `GET` command. Should be `POST`, this is why you’re not passing any data to the rstudio server (password among it)

Your view should look like [ours](https://github.com/OSC/bc_osc_rstudio_server/blob/master/view.html.erb). In that it is a `<form>` html element and it has a `method=post` attribute.

---

<div class="post-metadata">

**Author:** ![flybirdkh](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/flybirdkh/32/178_2.png) [@flybirdkh](https://discourse.openondemand.org/u/flybirdkh)\
**Post date:** [March 19, 2020, 3:52pm UTC](https://discourse.openondemand.org/t/rstudio-app-works-but-each-session-begins-with-a-single-auth-failure-that-must-be-ignored/660/12 "2020-03-19T15:52:55Z")

</div>

my script.sh.erb

 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/02783d8c5217ed9951fba5094b29d2ae42781cff.png) ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/6c9e5f51253471bbd56654786083d6c697b9d96f.png)

and how to change the http GET o POST

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [March 19, 2020, 3:55pm UTC](https://discourse.openondemand.org/t/rstudio-app-works-but-each-session-begins-with-a-single-auth-failure-that-must-be-ignored/660/13 "2020-03-19T15:55:09Z")

</div>

It’s in your `view.html.erb` the link I just shared is to ours.

But here’s that file in full

```ruby
<form action="/rnode/<%= host %>/<%= port %>/auth-do-sign-in" method="post" target="_blank">
  <input type="hidden" name="username" value="<%= ENV["USER"] %>">
  <input type="hidden" name="password" value="<%= password %>">
  <input type="hidden" name="staySignedIn" value="1">
  <input type="hidden" name="appUri" value="">
  <button class="btn btn-primary" type="submit">
    <i class="fa fa-registered"></i> Connect to RStudio Server
  </button>
</form>

```

---

<div class="post-metadata">

**Author:** ![flybirdkh](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/flybirdkh/32/178_2.png) [@flybirdkh](https://discourse.openondemand.org/u/flybirdkh)\
**Post date:** [March 19, 2020, 4:03pm UTC](https://discourse.openondemand.org/t/rstudio-app-works-but-each-session-begins-with-a-single-auth-failure-that-must-be-ignored/660/14 "2020-03-19T16:03:57Z")

</div>

view.html.erb

 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/4c5e1a1243af436b82925ca9f110c925e05d510d.png)

this file has not been edited

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [March 19, 2020, 4:16pm UTC](https://discourse.openondemand.org/t/rstudio-app-works-but-each-session-begins-with-a-single-auth-failure-that-must-be-ignored/660/15 "2020-03-19T16:16:31Z")

</div>

Then I guess I’d say be sure it shows up in your browser like that. Here in dev tools - Inspector you can navigate to that button and see if it is indeed `method=post`. If it isn’t, then something needs refreshed/bounced because it’s cached in apache or something.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/9fa6e39a1eee4df37fc84fb4a79f9bf3ef9a761e.png)

It it _is_ in your browser like that and in the right file, then … I don’t know, there’s something in transit changing it?

---

<div class="post-metadata">

**Author:** ![flybirdkh](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/flybirdkh/32/178_2.png) [@flybirdkh](https://discourse.openondemand.org/u/flybirdkh)\
**Post date:** [March 19, 2020, 4:20pm UTC](https://discourse.openondemand.org/t/rstudio-app-works-but-each-session-begins-with-a-single-auth-failure-that-must-be-ignored/660/16 "2020-03-19T16:20:46Z")

</div>

It show me method=‘post’

 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/7ca732fbd440d19c39254668e354d4ffa4e49bf4.png)

[https://studio.hpc.sjtu.edu.cn/rnode/cas037.pi.sjtu.edu.cn/60737/auth-sign-in?error=1](https://studio.hpc.sjtu.edu.cn/rnode/cas037.pi.sjtu.edu.cn/60737/auth-sign-in?error=1)  
I delete ?error=1 maybe give me the wrong informaion

 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/70e20f160fe147372e573a84063449067af1ced5.png)  
there is a error when i connect rstudio server

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [March 19, 2020, 4:41pm UTC](https://discourse.openondemand.org/t/rstudio-app-works-but-each-session-begins-with-a-single-auth-failure-that-must-be-ignored/660/17 "2020-03-19T16:41:11Z")

</div>

Sorry that’s a inspection of the open ondemand page that holds the button to ‘connect to rstudio’ at `/pun/sys/dashboard/batch_connect/sessions`

---

<div class="post-metadata">

**Author:** ![flybirdkh](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/flybirdkh/32/178_2.png) [@flybirdkh](https://discourse.openondemand.org/u/flybirdkh)\
**Post date:** [March 19, 2020, 4:46pm UTC](https://discourse.openondemand.org/t/rstudio-app-works-but-each-session-begins-with-a-single-auth-failure-that-must-be-ignored/660/18 "2020-03-19T16:46:15Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/178d717c1149c574ef4b28bf4643ab7ef68023eb.png)  
This is my process:  
1.cd $HOME/ondemand/dev/  
git clone [https://github.com/OSC/bc\_osc\_rstudio\_server.git](https://github.com/OSC/bc_osc_rstudio_server.git)  
2.cd bc\_osc\_rstudio\_server  
edit three file:  
form.yml(change cluster name)  
submit.yml.erb  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/49fca85f750101731d8f4d55976afcb9c4fc5e5e.png)  
template/script.sh.erb  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/48727ed5985f44c624717409f40c6e9f767bfb3a.png)  
above is all my operation.

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [March 19, 2020, 5:25pm UTC](https://discourse.openondemand.org/t/rstudio-app-works-but-each-session-begins-with-a-single-auth-failure-that-must-be-ignored/660/19 "2020-03-19T17:25:31Z")

</div>

Well that should be working just fine. You can see in your post #7 you do a `Reqest Method: GET` and you can see in my post #6 I do a `Request Method: POST` . This is your issue. Is there something in between you and OOD (or between OOD and the compute node) that would be changing the request? Do you have something else special in your httpd config that may be doing this? or a web browser plugin that’s changing the method?

Something, somewhere clearly is, though I can’t say who or what. That should work directly, and it seems something outside of OOD is changing the request in flight.

---

<div class="post-metadata">

**Author:** ![flybirdkh](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/flybirdkh/32/178_2.png) [@flybirdkh](https://discourse.openondemand.org/u/flybirdkh)\
**Post date:** [March 19, 2020, 5:37pm UTC](https://discourse.openondemand.org/t/rstudio-app-works-but-each-session-begins-with-a-single-auth-failure-that-must-be-ignored/660/20 "2020-03-19T17:37:50Z")

</div>

Thank you very much, let me do some checking .

---

<div class="post-metadata">

**Author:** ![flybirdkh](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/flybirdkh/32/178_2.png) [@flybirdkh](https://discourse.openondemand.org/u/flybirdkh)\
**Post date:** [March 20, 2020, 3:26am UTC](https://discourse.openondemand.org/t/rstudio-app-works-but-each-session-begins-with-a-single-auth-failure-that-must-be-ignored/660/21 "2020-03-20T03:26:51Z")

</div>

#6 maybe my wrong operation. when I get the address:[https://studio.hpc.sjtu.edu.cn/rnode/cas037.pi.sjtu.edu.cn/60737/auth-sign-in?error=1](https://studio.hpc.sjtu.edu.cn/rnode/cas037.pi.sjtu.edu.cn/60737/auth-sign-in?error=1). #6 is showed by deleting the error=1.  
Now I reconfig ,the process at #18, and the result is same as before.

[Next page](https://discourse.openondemand.org/t/rstudio-app-works-but-each-session-begins-with-a-single-auth-failure-that-must-be-ignored/660.md?page=2)
