Cannot connect Haiku Repository

The only thing i can think of right now, is that you might have installed off a corrupt iso image?, did you try to download another one and install it again?
PS: Can you post a screenshot of a DriveSetup window?

1 Like

It may simply be that your internet service provider or your country is blocking access to the Haiku package repository. Can you access https://eu.hpkg.haiku-os.org/haiku/r1beta4/x86_64/current from Haiku web browser? (it should just show a single line of text, but it will be enough to check connectivity). Is it accessible from a web browser on another OS from the same Internet connection?

1 Like

OK, I try it.

Response is

Route { branch: “r1beta4”, arch: “x86_64”, version: “r1~beta4_hrev56578_84”, path: “r1beta4/x86_64/r1~beta4_hrev56578_84” }.

Is it right?

1 Like

Here is drivesetup window.

1 Like

Yes. So everything on the “internet” side seems to be working.

I am out of ideas then. I think the next thing to do would be to recompile the “netservices” library in debug mode and recompile pkgman to use that, so we can have more logging and maybe a better idea where the error happens.

2 Likes

At the bottom of this page ( HaikuDepot ) there is a section called Diagnostic Logs. There is a command ’ HaikuDepot -v debug ’ that might provide some insight. Verbosity can be changed as well. Just a thought, @humdinger pointed me to this in the past to resolve an issue.

I think that will help with connections to HaikuDepot (for ratings, screenshots and icons) but not for package downloads?

1 Like

Ok, I wasn’t sure. Thanks. Wouldn’t hurt to try it and see what pops up.

Well, I tried out in Terminal.

Unfortunately I’ve run out from line puffer in Terminal as I could not scroll up to the issued command - so for the beginning from debug output - this way I could not check out output entirely.
(Also there is no puffer setting implemetion in Terminal as of used - yet. putty has that and maybe available for Konsole as well - I had not launched them to use them for this check only. :wink: )

THIS WAY …
… I recommend to redirect output into a debug log file.

~> export HQ_VER_REV=`uname -s`_`uname -p`__`uname -v|cut -c 1-24|tr " " _`; \
> export HQ_DEPOT_DEBUG_LOG=/boot/system/var/log/HaikuDepot_DebugLog__$(echo $HQ_VER_REV).log ; \
> nohup HaikuDepot -v debug >> $HQ_DEPOT_DEBUG_LOG   2>&1

… and as the forum engine ‘removes’ (really just hides, and/or interpret as control character for itself) some important chars from here above (first line of command - mainly)
– during as it displays my text input –
I put my Terminal screenshot-tiny here for other ones to be able to see the correct ones :

Anyway - for saying it can be helpful
I paste here a later part of the debug that shows details of refreshing packages data from several repos and messages shows detail of connections and actions :

(Remark : I replaced commercial at to (cat) everywhere in output piece below, as the forum engine tried to address them as forum members ! 8D
and begged pardon in warning I can address only max ten members !! :stuck_out_tongue: :smiley:
every line starts commercial at … LOL )

(cat)31748473 {D} <t:933> the local file [/boot/system/packages/httrack_devel-3.49.2-4-x86_64.hpkg] does not exist
\(cat)31748473 {D} <t:933> the local file [/boot/system/packages/dolphin-20.12.2-1-x86_64.hpkg] does not exist
(cat)31753035 {D} <t:933> did refresh the package list
(cat)31753238 {I} <t:933> [Node<ServerIconExportUpdateProcess>] initiating threaded
(cat)31753238 {I} <t:941> [Node<ServerIconExportUpdateProcess>] starting process in thread
(cat)31753738 {I} <t:933> [Node<ServerRepositoryDataUpdateProcess>] initiating threaded
(cat)31753738 {I} <t:942> [Node<ServerRepositoryDataUpdateProcess>] starting process in thread
(cat)31754238 {D} <t:941> [Coordinator] would coordinate nodes, but coordination is in progress - will defer
(cat)31754238 {I} <t:941> [ServerIconExportUpdateProcess] will fetch data
(cat)31754238 {D} <t:933> [Coordinator] will run deferred coordination
(cat)31754238 {I} <t:942> [ServerRepositoryDataUpdateProcess] will fetch data
(cat)31754238 {I} <t:941> [ServerIconExportUpdateProcess] will stream 'https://depot.haiku-os.org/__pkgicon/all.tar.gz' to [/boot/system/cache/tmp/filetQ60HI]
(cat)31754238 {I} <t:933> [Node<LocalPkgDataLoadProcess>] finished process in thread 9.366613 seconds
(cat)31754239 {I} <t:942> [ServerRepositoryDataUpdateProcess] will stream 'https://depot.haiku-os.org/__repository/all-hu.json.gz' to [/boot/system/cache/tmp/fileLXMSDO]
(cat)31754752 {I} <t:942> [ServerRepositoryDataUpdateProcess] remote data has not changed since [Sun, 27 Mar 2022 20:13:25 GMT]
(cat)31754752 {I} <t:942> [ServerRepositoryDataUpdateProcess] did fetch data
(cat)31754752 {I} <t:942> [ServerRepositoryDataUpdateProcess] will process data
(cat)31754753 {D} <t:942> [DepotMatchingRepositoryListener] associated depot [BeSly Software Solutions] (tag:besly.de,2020:happy) with server repository source [besly_x86_gcc2] (tag:besly.de,2020:happy)
(cat)31754753 {D} <t:942> [DepotMatchingRepositoryListener] associated depot [FatElk] (http://fatelk.com/repo) with server repository source [fatelk_x86_gcc2] (http://fatelk.com/repo)
(cat)31754754 {D} <t:942> [DepotMatchingRepositoryListener] associated depot [HaikuPorts] (tag:haikuports.org,2013:repositories/haikuports/master/x86_gcc2) with server repository source [haikuports_x86_gcc2] (tag:haikuports.org,2013:repositories/haikuports/master/x86_gcc2)
(cat)31754754 {D} <t:942> [DepotMatchingRepositoryListener] associated depot [HaikuPorts] (tag:haikuports.org,2013:repositories/haikuports/master/x86_gcc2) with server repository source [haikuports_x86_gcc2] (tag:haikuports.org,2013:repositories/haikuports/master/x86_gcc2)
(cat)31754754 {I} <t:942> [ServerRepositoryDataUpdateProcess] did process data
(cat)31754754 {I} <t:942> [Node<ServerPkgDataUpdateProcess<BeSly Software Solutions>>] initiating threaded
(cat)31754754 {I} <t:944> [Node<ServerPkgDataUpdateProcess<BeSly Software Solutions>>] starting process in thread
(cat)31755254 {I} <t:942> [Node<ServerPkgDataUpdateProcess<FatElk>>] initiating threaded
(cat)31755254 {I} <t:945> [Node<ServerPkgDataUpdateProcess<FatElk>>] starting process in thread
(cat)31755754 {D} <t:944> [Coordinator] would coordinate nodes, but coordination is in progress - will defer
(cat)31755754 {I} <t:944> [ServerPkgDataUpdateProcess<BeSly Software Solutions>] will fetch data
(cat)31755754 {I} <t:942> [Node<ServerPkgDataUpdateProcess<Haiku>>] initiating threaded
(cat)31755754 {I} <t:946> [Node<ServerPkgDataUpdateProcess<Haiku>>] starting process in thread
(cat)31755755 {I} <t:944> [ServerPkgDataUpdateProcess<BeSly Software Solutions>] will stream 'https://depot.haiku-os.org/__pkg/all-besly_x86_gcc2-hu.json.gz' to [/boot/system/cache/tmp/filesugYDw]
(cat)31756062 {I} <t:941> [InfoJsonExtractEntryListener] did extract [hicn/info.json]
(cat)31756062 {I} <t:941> did list 3484 tar items
(cat)31756226 {I} <t:944> [ServerPkgDataUpdateProcess<BeSly Software Solutions>] will redirect to; https://depot.haiku-os.org/__secured/jobdata/bc301715-6c8a-4a8f-beaa-0dc2d5326a5a/download
(cat)31756226 {I} <t:944> [ServerPkgDataUpdateProcess<BeSly Software Solutions>] will stream 'https://depot.haiku-os.org/__secured/jobdata/bc301715-6c8a-4a8f-beaa-0dc2d5326a5a/download' to [/boot/system/cache/tmp/filesugYDw]
(cat)31756254 {D} <t:945> [Coordinator] would coordinate nodes, but coordination is in progress - will defer
(cat)31756254 {I} <t:945> [ServerPkgDataUpdateProcess<FatElk>] will fetch data
(cat)31756254 {I} <t:942> [Node<ServerPkgDataUpdateProcess<HaikuPorts>>] initiating threaded
(cat)31756255 {I} <t:950> [Node<ServerPkgDataUpdateProcess<HaikuPorts>>] starting process in thread
(cat)31756255 {I} <t:945> [ServerPkgDataUpdateProcess<FatElk>] will stream 'https://depot.haiku-os.org/__pkg/all-fatelk_x86_gcc2-hu.json.gz' to [/boot/system/cache/tmp/fileuqdhnB]
(cat)31756396 {I} <t:944> [ServerPkgDataUpdateProcess<BeSly Software Solutions>] did complete streaming data [16644 bytes]
(cat)31756397 {I} <t:944> [ServerPkgDataUpdateProcess<BeSly Software Solutions>] did fetch data
(cat)31756397 {I} <t:944> [ServerPkgDataUpdateProcess<BeSly Software Solutions>] will process data
(cat)31756397 {D} <t:944> did populate data for [webconceptcreator] (BeSly Software Solutions)
(cat)31756398 {D} <t:944> did populate data for [targui] (BeSly Software Solutions)
(cat)31756399 {D} <t:944> did populate data for [clickomanie] (BeSly Software Solutions)

Just a FYI, you have to use “preformatted text” (ctrl+e) if you want to make your text appear verbatim. Just surround the text with tree consecutive “back-ticks”.

export HQ_VER_REV=`uname -s`_`uname -p`__`uname -v|cut -c 1-24|tr " "_`

(Edit: apparently, it doesn’t works too well when nested, so I can’t find a way to properly output an example. Works on preview, but fails to render properly when posted :smiley:)

I still had not tested preformatted text option, as I assumed it means some html - like formatted texts

Yepp - as I wrote the forum engine uses some control characters. Some of them can be discarded by using a backslash at input …

`thiese` – here one backslash before enabled to see this shell execution pairs around ‘these’ … otherwise they would be hidden from displaying.

Somewhere it alters the color and font as well if it used (Trac) - you can highlight commands that way in text - if you want.

I wanted to suggest a similar solution to be added to the forum input options :
some input field that do not implies text formattin’ stuff -

So really it does exists - just not really works as expected or well, I see …
ha-ha :grin:

I have added the triple-backticks in your post. Now I think it renders correctly.

Thanks - it resulted better as for @BiPolar or as for me.

At his post almost everything was correct except the cut command : the character range was not -c 1-24 , as in my command , but displays as -c124

I also tried out in my answer but finally erased all the part of it.
Next I will use it, but seems : needs some extra care before/after save it.

Thanks - both of you - for the hint. Funny, as it highlights part of the ‘code’ in my case - as it is not program code just some shell commands - so looks a bit too much.
In case real source code : it can be really helpful for visibility and looking the code syntax is really easy and viewable, I assume.

Fixed it now. That was just a typo from my part, while I was copying the text from your screenshot (one more reason to NOT use screenshots of Terminal output when a preformatted-text block can be used :smiley:.

Ah, okidoki - Got it now :nerd_face: