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.
Related
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.
I was trying to run a junit,which calls an API (https:conectapitest.company.com/consumerservice/createConsumer) ,when I was running using eclipse neon (java8) I am getting the following the error .
Unexpected response from Connect server: responseCode=403, responseMessage=Forbidden responseBody=<html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>
The API is working when I run in postman. I am using Mac OS. Is this issue related to eclipse or MacOS?
I verified all eclipse configs ,did not change any settings ,it worked few weeks back.
while running the testcase, I noticed the message like
SystemProperty java.net.useSystemProxies = null defaulting to FALSE
How to fix this issue?
When running voila my_notebook.ipynb, voila starts properly and the dashboard is displayed. When setting the base url (with --Voila.base_url='/my-base-url'):
A 403: Forbidden error is shown in the browser
A WARNING:tornado.general:403 GET /test/voila/files/test (::1): File not whitelisted warning is received in the terminal.
Adding the --VoilaConfiguration.file_whitelist="['.*']" argument to the voila command results in:
404: Not Found in the browser
WARNING:tornado.access:404 GET /test/voila/files/test (::1) 1.38ms in terminal
In my understanding specifying the base-url as '/my-base-url' should make the dashboard available at localhost:8866/my-base-url. Is this how it should work or am I misunderstanding something?
the base url indicates the folder where your notebook is located, you'll still need to use localhost:8866/my-base-url/name-of-your-notebook-file
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