Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to access private bitbucket repository get 404 #1773

Closed
jdnielsBinus opened this issue May 24, 2022 · 6 comments
Closed

Fail to access private bitbucket repository get 404 #1773

jdnielsBinus opened this issue May 24, 2022 · 6 comments
Labels
question Further information is requested

Comments

@jdnielsBinus
Copy link

Hi,

I want to integrate Athens with bitbucket, but always getting Error response 404, I've followed the steps in the documentation

image

docker run --rm -d \
    -v "$PWD/$ATHENS_STORAGE:/var/lib/athens" \
    -v "$PWD/gitconfig/.gitconfig:/root/.gitconfig" \
    -v "${SSH_AUTH_SOCK}:/.ssh_agent_sock" \
    -e "SSH_AUTH_SOCK=/.ssh_agent_sock" \
    -e ATHENS_DISK_STORAGE_ROOT=/var/lib/athens -e ATHENS_STORAGE_TYPE=disk --name athens-proxy -p 3000:3000 gomods/athens
@mattb18
Copy link

mattb18 commented Mar 27, 2023

https://community.atlassian.com/t5/Bitbucket-questions/Bitbucket-API-always-return-404/qaq-p/1981433

I think this may be related to this issue

and therefor this:

#1797

@DrPsychick DrPsychick added this to the 0.12.0 back to awesomeness milestone Mar 27, 2023
@DrPsychick
Copy link
Member

@jdnielsBinus please let us know if the issue is resolved with the new RC v0.12.0-rc1

@jdnielss
Copy link

still can't, but I can sometimes download the repository

@jdnielss
Copy link

version: '3.3'
services:
    athens:
        volumes:
            - '$PWD/$ATHENS_STORAGE:/var/lib/athens'
            - '$PWD/.gitconfig:/root/.gitconfig'
            - '$PWD/ssh-keys:/root/.ssh'
        environment:
            - ATHENS_DISK_STORAGE_ROOT=/var/lib/athens
            - ATHENS_STORAGE_TYPE=disk
            - ATHENS_GONOSUM_PATTERNS=bitbucket.org/fundtastic
            - GOSUMDB=off
        container_name: athens-proxy
        ports:
            - '3000:3000'
        image: 'gomods/athens:v0.12.0'

this is my docker-compose, and I get error
"WARNING: The ATHENS_STORAGE variable is not set. Defaulting to a blank string."

@DrPsychick
Copy link
Member

        - '$PWD/$ATHENS_STORAGE:/var/lib/athens'

Could this be the cause for your error?

@DrPsychick DrPsychick modified the milestones: 0.12.1, 0.13.x thereafter May 7, 2023
@matt0x6F matt0x6F added the question Further information is requested label Mar 26, 2024
@matt0x6F
Copy link
Contributor

Closing this issue due to inactivity. Feel free to reopen.

@matt0x6F matt0x6F closed this as not planned Won't fix, can't repro, duplicate, stale Mar 26, 2024
@matt0x6F matt0x6F removed this from the 0.13.x thereafter milestone Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants