Skip to content

Commit 3cba56c

Browse files
Explain how to unblock npm network restrictions
1 parent 51dfb29 commit 3cba56c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

selenium/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,3 +236,19 @@ following command:
236236
MOCHA_DOCKER_FILE=\location\of\my\Dockerfile ./run-suites.sh
237237
```
238238

239+
## How to solve : NPM packages are blocked by network firewalls
240+
241+
1. Make sure you are connected to the VPN in Full Tunnel mode. Artifactory returns an HTTP 403 forbidden error from anywhere outside the full corporate network.
242+
2. `cd selenium`
243+
3. `npm config set registry https://usw1.packages.broadcom.com/artifactory/api/npm/tds-rabbitmq-npm-virtual/ -L project`
244+
4. `npm login --auth-type=web`
245+
5. After you run the last command you should see the folowing sentence
246+
`Login at:
247+
https://usw1.packages.broadcom.com/ui/auth-provider/npm?uuid=JEGSj5dC8X4S8TGKPL2CbSPR3CSnVgvz5r3hMZAbioQy9o98Y7hKvQ7NjA7pxZ21upVkiP1pWkRjpb4CDUDRur4UFwdGhndcas5JexreDXpykBtGsy6
248+
Press ENTER to open in the browser...
249+
`
250+
6. Press enter so that it opens on a browser
251+
7. JFrog loads and it prompts you if you are loging in. You accept you are logging.
252+
8. You should get the message `Login performed successfully. Redirecting to home page.`
253+
254+
For further information, checkout https://github.gwd.broadcom.net/TNZ/rabbitmq-private-docs/wiki/Artifactory-NPM.

0 commit comments

Comments
 (0)