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

Can't crawl a site protected with basic http auth #87

Closed
changuelsami opened this issue Oct 20, 2021 · 2 comments
Closed

Can't crawl a site protected with basic http auth #87

changuelsami opened this issue Oct 20, 2021 · 2 comments

Comments

@changuelsami
Copy link

Hi,

My website is protected with a basic http authentification, so when I run this :
./linkcheck https://foo:[email protected]
I get this error message :
`INTERNAL ERROR: Sorry! Please open https://github.com/filiph/linkcheck/issues/new in your favorite browser and copy paste the following output there:

FormatException: Invalid radix-10 number (at character 1)
[email protected]
^

#0 int._throwFormatException (dart:core-patch/integers_patch.dart:132)
#1 int._parseRadix (dart:core-patch/integers_patch.dart:143)
#2 int._parse (dart:core-patch/integers_patch.dart:101)
#3 int.parse (dart:core-patch/integers_patch.dart:64)
#4 new ServerInfo (package:linkcheck/src/server_info.dart:47)
#5 crawl. (package:linkcheck/src/crawl.dart:82)
#6 SetMixin.forEach (dart:collection/set.dart:142)
#7 crawl (package:linkcheck/src/crawl.dart:81)
#8 run (package:linkcheck/linkcheck.dart:280)
#9 main. (file:///home/runner/work/linkcheck/linkcheck/bin/linkcheck.dart:11)
#10 main. (file:///home/runner/work/linkcheck/linkcheck/bin/linkcheck.dart:9)
#11 _rootRun (dart:async/zone.dart:1354)
#12 _CustomZone.run (dart:async/zone.dart:1258)
#13 _runZoned (dart:async/zone.dart:1789)
#14 runZonedGuarded (dart:async/zone.dart:1777)
#15 main (file:///home/runner/work/linkcheck/linkcheck/bin/linkcheck.dart:9)
#16 _delayEntrypointInvocation. (dart:isolate-patch/isolate_patch.dart:281)
#17 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184)
`

@tennox
Copy link
Contributor

tennox commented Dec 1, 2021

Duplicate of #53
/close

@filiph filiph closed this as completed Dec 6, 2021
@filiph
Copy link
Owner

filiph commented Dec 6, 2021

Thanks for the report, @changuelsami, and for finding the dupe, @tennox!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants