A working octo stopped working all of a sudden

Hello,

I have had a solution built from VSTS and pushed to octopus for deployment and it all worked till recently I started getting this error message.

2018-11-30T05:23:20.6486278Z Octopus Server returned an error: Unable to load the service index for source urlpath/index.json.
2018-11-30T05:23:20.6489030Z Response status code does not indicate success: 401 (Unauthorized).
2018-11-30T05:23:20.6500599Z Error from Octopus Server (HTTP 500 InternalServerError)
2018-11-30T05:23:20.6500873Z Exit code: -7
2018-11-30T05:23:20.6636609Z ##[error]Error: C:\hostedtoolcache\windows\Octo\4.42.6\x64\Octo.cmd failed with return code: 4294967289
2018-11-30T05:23:20.6638907Z ##[error]Failed to deploy release C:\hostedtoolcache\windows\Octo\4.42.6\x64\Octo.cmd failed with return code: 4294967289

I checked that the account used to get the package info from URL has access to the path.
Can you please let me know what could be the best way to debug and fix this issue.

Thanks,
Subhash

Hi Subhash,

Thanks for getting in touch. The 401 response you’re getting is indicating the user doesn’t have access. Given that it was working and now it isn’t, is it possible that the account has been marked as disabled or the API key got removed? Either of those could cause this issue.

If either of those things doesn’t seem to be the cause, would you be able to check the server logs at the time the error occurs and see what’s in there, we may be logging more detail of the reason why we’ve returned the 401 in that log.

Regards
Shannon

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.