Skip to content
This repository was archived by the owner on May 17, 2021. It is now read-only.

「translation missing: ja.error_saml_invalid_ticket」error #25

Open
naeba opened this issue Mar 8, 2017 · 6 comments
Open

「translation missing: ja.error_saml_invalid_ticket」error #25

naeba opened this issue Mar 8, 2017 · 6 comments

Comments

@naeba
Copy link

naeba commented Mar 8, 2017

Hi

I'm getting this error
「translation missing: ja.error_saml_invalid_ticket」

When I try to access to Redmine from Windows ADFS, I got above error.

<Access route>
  Client PC → ADFS → Redmine

I would like to test through plugin-test「add integration tests」 for this solution.
Please let me know, How to use it. If Does it work this error.

And How to solve this error?


Environment:
Redmine version 3.3.0.stable
Ruby version 2.1.10-p492 (2016-04-01) [x86_64-linux]
Rails version 4.2.6
Environment production
Database adapter Mysql2
SCM:
Subversion 1.9.4
Cvs 1.12.13
Git 2.7.4
Filesystem
Redmine plugins:
narrowdown 0.0.1
periodictask 3.2.1
redmine_assign_grouping 0.0.1
redmine_custom_workflows 0.1.6
redmine_issue_templates 0.1.4
redmine_omniauth_saml 0.0.1
redmine_slack 0.2

@chrodriguez
Copy link
Owner

Are both servers in sync? I mean, with the same time? Are you using NTP?
The reason of an Invalid tickets is often server with different date time configuration, or a ssl error

@naeba
Copy link
Author

naeba commented Mar 10, 2017

Thank you for your reply!!

Actually, Redmine is on AWS EC2.
Then originally Redmine was different time with ADFS Server
But We configured the same time with it.
※We don't use NTP, Just useing local time.

About SSL error...
configured X.509-certificate of ADFS on Redmine Server.
I think it is correct..

But just concern AWS structure.
exactly speaking, it is as follows.

ADFS → ELB → EC2(Redmine)
(HTTPS) (HTTP)
※ELB:HTTPS(443) forwarding to HTTP(80)

What do you think that is this the reason?

Best regards

@naeba
Copy link
Author

naeba commented Mar 14, 2017

We are still trying SAML-connection. But it's not works.

We've begun to set debbug-log, then I realized one thing.
When I Do SAML-authentication, debbug-log says "[DEBBUG] AccountController unless"
which means it's not read「AccountController.included_modules」 I guess.

▼Ruby-File :
 account_controller_patch.rb

▼part of code:
unless AccountController.included_modules.include? Redmine::OmniAuthSAML::AccountControllerPatch
Rails.application.config.testlog.debug("[d] AccountController unless") # ←Debbug_Add
AccountController.send(:include, Redmine::OmniAuthSAML::AccountControllerPatch)
AccountController.skip_before_filter :verify_authenticity_token, :only => [:login_with_saml_callback]
end

Does anyone know what is this?
※File Permission ?

Thanks

@chrodriguez
Copy link
Owner

I think AccountController is loaded because it wont give you the error translation missing: ja.error_saml_invalid_ticket if not loadeed.

Can you paste the full stacktrace of the error?

@chrodriguez
Copy link
Owner

Did you fix this issue?

@lasith98
Copy link

lasith98 commented Mar 27, 2019

https://xxxx.cm/auth/saml/callback
This page isn’t working If the problem continues, contact the site owner.
HTTP ERROR 422
G suite

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants