Access denied. Repository management WS is disabled or key is invalid.

Added by Cristoph B. almost 12 years ago

Hi,
sorry if this topic has been discussed before, I could not find any topic that comparably fits my problem...

I have installed redmine and everything works fine for now. But when I try to execute the script:
"ruby reposman.rb --redmine-host http://~myhost~ --svn-dir /var/svn --url http://~myhost~/~myhost~/svn --owner www-data"
there is the following error:

Unable to connect to http://~myhost~/sys/: Failed with 403 Forbidden

So I tried to open this location myself and there was another error:

Access denied. Repository management WS is disabled or key is invalid.

Because of this warning, I checked Administration > Settings > Repositories, but according to the selected information it should work...

I hope you can help me. Kind regards,
Cristoph


About your application's environment
Ruby version 1.8.6 (i486-linux)
RubyGems version 1.3.5
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Edge Rails revision unknown
Application root /home/redmine
Environment production
Database adapter mysql
Database schema version 20091227112908

redmineWS.png - Screenshot of configuration (15 KB)

Replies (3)

RE: Access denied. Repository management WS is disabled or key is invalid. - Added by Cristoph B. almost 12 years ago

Does nobody have an idea, why this error appears?

RE: Access denied. Repository management WS is disabled or key is invalid. - Added by Joachim Fritschi almost 12 years ago

You have to add the --key='aTOmXXXtopsecetcapikeyfromyourgui' to the commandline. Redmine 0.9 has change the commandline options of the reposman script and nobody has updated the wiki yet.

(1-3/3)