Skip to content

Conversation

@stefanak-michal
Copy link
Contributor

Release note

I update url for bolt repository. Updated texts and example to follow latest version.

Checklist:

  • Add appropriate milestone (current release cycle)
  • Add bugfix or feature label, based on the product PR type you're documenting
  • Make sure all relevant tech details are documented
  • Check all content with Grammarly
  • Perform a self-review of my code
  • The build passes locally
  • My changes generate no new warnings or errors

@vercel
Copy link

vercel bot commented Mar 3, 2025

@stefanak-michal is attempting to deploy a commit to the Memgraph Team on Vercel.

A member of the Team first needs to authorize it.

@antejavor antejavor self-assigned this Mar 4, 2025
@vercel
Copy link

vercel bot commented Mar 5, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 6, 2025 0:06am

Copy link
Contributor

@katarinasupe katarinasupe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@antejavor all seems okay, please just check if the code example is working as expected

Copy link
Contributor

@antejavor antejavor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is currently failing for me:

php -S localhost:4000


[Wed Mar  5 16:04:00 2025] PHP 8.4.1 Development Server (http://localhost:4000) started
[Wed Mar  5 16:04:03 2025] [::1]:58072 Accepted
[Wed Mar  5 16:04:03 2025] PHP Fatal error:  Uncaught Bolt\error\ConnectException: Connection refused in /Users/antejavor/repos/tests/php-test/vendor/stefanak-michal/bolt/src/connection/Socket.php:47
Stack trace:
#0 /Users/antejavor/repos/tests/php-test/vendor/stefanak-michal/bolt/src/Bolt.php(121): Bolt\connection\Socket->connect()
#1 /Users/antejavor/repos/tests/php-test/index.php(11): Bolt\Bolt->build()
#2 {main}
  thrown in /Users/antejavor/repos/tests/php-test/vendor/stefanak-michal/bolt/src/connection/Socket.php on line 47
[Wed Mar  5 16:04:03 2025] [::1]:58072 [200]: GET / - Uncaught Bolt\error\ConnectException: Connection refused in /Users/antejavor/repos/tests/php-test/vendor/stefanak-michal/bolt/src/connection/Socket.php:47
Stack trace:
#0 /Users/antejavor/repos/tests/php-test/vendor/stefanak-michal/bolt/src/Bolt.php(121): Bolt\connection\Socket->connect()
#1 /Users/antejavor/repos/tests/php-test/index.php(11): Bolt\Bolt->build()
#2 {main}
  thrown in /Users/antejavor/repos/tests/php-test/vendor/stefanak-michal/bolt/src/connection/Socket.php on line 47
[Wed Mar  5 16:04:03 2025] [::1]:58072 Closing
[Wed Mar  5 16:04:03 2025] [::1]:58073 Accepted
[Wed Mar  5 16:04:05 2025] [::1]:58073 Closed without sending a request; it was probably just an unused speculative preconnection
[Wed Mar  5 16:04:05 2025] [::1]:58073 Closing

I haven't dig why but it looks like it could be a problem on my side cc @stefanak-michal

@stefanak-michal
Copy link
Contributor Author

stefanak-michal commented Mar 5, 2025

i tried to follow the instructions and it works for me. you get connect exception, did you have memgraph running on localhost with port 7687 @antejavor ?

while doing it i found one line i forget to update, not related to your issue. so there is that new commit.

@katarinasupe
Copy link
Contributor

@stefanak-michal with the latest fix, it works for me. Thank you for the contribution! 🙏

@katarinasupe katarinasupe merged commit b0c54cb into memgraph:main Mar 6, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

3 participants