I'm importing mongo-driver in the project. but when I run
go get go.mongodb.org/mongo-driver/mongo
I get 403 Forbidden and the error message looks like this:
go: downloading github.com/klauspost/compress v1.13.6
go.mongodb.org/mongo-driver/mongo imports
go.mongodb.org/mongo-driver/x/mongo/driver imports
github.com/klauspost/compress/zstd: github.com/klauspost/compress#v1.13.6: reading https://proxy.golang.org/github.com/klauspost/compress/#v/v1.13.6.zip: 403 Forbidden
What should I do?
Some Google services are blocked in some countries. If that's your case, you need to use a VPN to change your IP address.
Related
during pentesting SOME site I have faced with file upload errors. It is 403 error Forbidden but the most interesting thing lies in the fact it is happening ONLY when I use burp proxy.
When I am uploading passport/id document as a usual way(withou Burp Suite) - No error. 200 OK.
When I am uploading with Burp Suite - 403 Error.
P.S.: Other site functionality/APIs work properly when I use Burp Suite
I have no idea why this 403 error occurs. Is this a bug or a kind of "protection"?
Then you don't have the authorization to set up a proxy in your OS.
I guess you are using your corporate laptop. Try to change you network settings in your browser. If they are grey out then your organization has blocked that for you ( Bgroup rules).
I faced the same issue exactly and this was the problem.
Hope that helps.
I'm trying to download mongoDB golang driver to a project in VS code running this command in the VS code terminal:
go get go.mongodb.org/mongo-driver/mongo
but I'm getting 403 forbidden error like this:
go: downloading github.com/klauspost/compress v1.13.6
go.mongodb.org/mongo-driver/mongo imports
github.com/klauspost/compress/zstd: github.com/klauspost/compress#v1.13.6: reading https://proxy.golang.org/github.com/klauspost/compress/#v/v1.13.6.zip: 403 Forbidden
I've figured maybe my ip address is restriced so I've tried downloading it using several VPNs like psiphon and hotspot shield but I'm still getting the same error.
You can temporarily skip using GOPROXY by:
GORPOXY='direct' go get YOUR_URL
This way, it skips the goproxy checking and directly downloads your repo from provided destination.
This seems to be on a very new topic because the "stitch" or "mongodb-stitch" tags do not exist yet.
I have a mongodb altas cluster on cloud.mongodb.com. The page https://docs.mongodb.com/stitch/auth/email-auth/ only teaches how to do things with JS but I don't have server side JS on hand. Instead I tried to figure out how to do things with the StitchClient on the Android API.
I was able to register an email/password pair using StitchClient.register(email,pwd) and got an email from no-reply+stitch#mongodb.com with the token/tokenId. I copied them and used StitchClient.emailConfirm(token, tokenId) but failed. The error was:
Unexpected response code 404 for https://stitch.mongodb.com/api/client/v1.0/app/APP-ID/auth/local/userpass/confirm
which sounds strange! I opened a browser and paste that in the URL and got 404 too. I even did
curl --data "token=432...345&tokenId=435..334" https://stitch.mongodb.com/api/client/v1.0/app/APP-ID/auth/local/userpass/confirm
and still got 404.
Is this a bug or an outage of the stitch.mongodb.com server?
I'm trying to get the latest version of an artifact.
going to http://archiva:8080/restServices shows me the Available RESTful services: clicking on http://archiva:8080/restServices/archivaServices?_wadl leads to an empty(all white) page fore me. Opening the Development tools in my browser I get this output in the javascript-console
Failed to load resource: the server responded with a status of 404 (Not Found)
and
GET http://archiva:8080/restServices/archivaServices?_wadl 404 (Not Found)
I also read here that there should be a application.wadl but for me there isn't!
I use the latest(2.2.1) Standalone version from here
the request for a certain artifact looks like that
http://archiva:8080/restServices/archivaServices/searchService/artifact?g=eu.test&a=test&v=LATEST
Maybe you miss the contextPath in the url. For example, if you want to access the ping service. The url could be:
http://localhost:8080/archiva/restServices/archivaServices/pingService/ping.
Please notice that maybe you will get 403 due to by default archiva does not allow csrf access.
The configruation detail is: http://archiva.apache.org/docs/2.2.3/adminguide/customising-security.html
I have a canned database running like this
I have the request and the canned database server on the same system.
starting canned on port 3000 for ./
request: get /home/abc/def/canned/example/comment/any.get.json not found
request: get /home/abc/Desktop/hello not found
request: get /home/abc/Desktop/hello.json not found
My GET request looks like this (on the same system)
GET http://10.0.x.xx:3000/home/abc/Desktop/hello.json
Am I missing something?
You cannot use the absolute path, you must use a path which is relative to the HTTP server's document root. For example, if your server is using /home/abc/ as the document root you would use the URL http://10.0.x.xx:3000/Desktop/hello.json